-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random lpass Error: Could not find decryption key #650
Comments
I've been encountering the same issue in our scripts. Reading the source, I think what happens is that Throwing a |
We open a pipe with the agent when we spawn it, and wait for them to say they're ready before exiting. This *should* fix lastpass#650. The underlying issue was that when doing: ``` lpass login [email protected] lpass show bar ``` in a script would cause a race condition where `lpass login` exited before the agent was successfully brought up. `lpass show bar` then tried to reach out to the agent, sees the socket isn't created yet, and says the user isn't logged in.
We open a pipe with the agent when we spawn it, and wait for them to say they're ready before exiting. This *should* fix lastpass#650. The underlying issue was that when doing: ``` lpass login [email protected] lpass show bar ``` in a script would cause a race condition where `lpass login` exited before the agent was successfully brought up. `lpass show bar` then tried to reach out to the agent, sees the socket isn't created yet, and says the user isn't logged in. Signed-Off-by: Arvinder Dhanoa <[email protected]>
We open a pipe with the agent when we spawn it, and wait for them to say they're ready before exiting. This *should* fix lastpass#650. The underlying issue was that when doing: ``` lpass login [email protected] lpass show bar ``` in a script would cause a race condition where `lpass login` exited before the agent was successfully brought up. `lpass show bar` then tried to reach out to the agent, sees the socket isn't created yet, and says the user isn't logged in. Signed-Off-by: Arvinder Dhanoa <[email protected]>
I have a batch shell script that runs inside a Jenkins server. It uses lpass cli to retrieve secure notes from lastpass.
This task is launched several times (about 200 times or more) both in the day and night.
I'm quite sure that this proceess have no error in the day, but sometimes in night hours,
randomly gives error:
"lpass Error: Could not find decryption key Perhaps you need to login with lpass login."
Is there any way to debug the lastpass-cli commands ? or additional info and try to solve this error ?
For example yesterday I missed 8 backups for this error.
Thanks in advance.
The text was updated successfully, but these errors were encountered: