lastpass / lastpass-cli

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

Disable master password GUI #597

Open nsrderooy opened 3 years ago

nsrderooy commented 3 years ago

I am wondering if there is a way to disable the Master password GUI on a login and if not if this feature can be added.

something in the line of; lpass login --trust --tui EMAIL

nikophil commented 3 years ago

Hello @nsrderooy

https://stackoverflow.com/questions/64086272/how-to-automate-the-lastpass-cli-login-process

nsrderooy commented 3 years ago

Thanks I also asked on Reddit and they came up with the same command.

TBH i'd still prefer a commandline switch over; LPASS_DISABLE_PINENTRY=1 lpass login --trust EMAIL

also I find it strange that this env DISPLAY= lpass login --trust norbert.de.rooy@connectis.nl emediately results in an error message without asking for a password. Error: Failed to enter correct password.

Anyway, Thanks for the answer.