lastpass / lastpass-cli

LastPass command line interface tool
GNU General Public License v2.0
2.85k stars 289 forks source link

Random lpass Error: Could not find decryption key #650

Open psciacca2inno opened 1 year ago

psciacca2inno commented 1 year ago

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.