Lastpass CLI can't login using master password

Originally published on eve.gd on 28 July 2022, last updated 6 September 2026.

Read this post on the web (with images, PDF and citation details)

If you can’t login using the Lastpass CLI tool and it just says “unknown” when you enter your password, there’s a simple fix.

a simple fix

Go to My Vault -> Account Settings.

In there, press “Show Advanced Settings”.

Then set “Password Iterations” to 100100 and follow the procedure.

After that, the CLI tool will work again!

References

This reference list has been generated, in many cases, through an automated process and may therefore contain errors or incomplete metadata. It is provided purely as assistance for finding the items mentioned within this post.

1. mjbroekman, ‘lpass login returns 'unknown' - iterations.php behavior changed’, GitHub, 18 May 2021 <https://github.com/lastpass/lastpass-cli/issues/604>

https://github.com/lastpass/lastpass-cli/issues/604