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.

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>