Skip to content

Support Master Password authentication via env variable#223

Merged
Mikescops merged 1 commit intoDashlane:masterfrom
neo773:patch-1
Mar 18, 2024
Merged

Support Master Password authentication via env variable#223
Mikescops merged 1 commit intoDashlane:masterfrom
neo773:patch-1

Conversation

@neo773
Copy link
Contributor

@neo773 neo773 commented Mar 16, 2024

When spawning dcli in Node it's impossible to get past master password prompt as stdin doesn't works, this fixes it by checking if DASHLANE_MASTER_PASSWORD is set when spawning the process.

@Mikescops
Copy link
Contributor

Hello,
Thanks for opening this PR. While I understand the need, I'm a bit concerned about having the master password as an env variable.
I have also added comments on your Raycast PR, that I'd like to answer first.

@Mikescops Mikescops added the features New feature or request label Mar 18, 2024
@neo773
Copy link
Contributor Author

neo773 commented Mar 18, 2024

The context is short lived and destroyed immediately in my use case as you’ve already seen it in the linked Raycast PR.

@Mikescops Mikescops changed the title support authenticating via env variable Support Master Password authentication via env variable Mar 18, 2024
@Mikescops Mikescops merged commit 20ae36d into Dashlane:master Mar 18, 2024
@neo773
Copy link
Contributor Author

neo773 commented Mar 18, 2024

@Mikescops
Would it be possible to get a patch release?

@Mikescops
Copy link
Contributor

Would it be possible to get a patch release?

I plan to release on Friday, we have a couple of changes pending this week.

Mikescops pushed a commit that referenced this pull request Mar 26, 2024
The original [PR](#223) for
this wasn't tested and did not work this PR fixes it, I've tested the
changes this time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

features New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants