Your easy 2FA companion that keep the secrets secret.
2ami
is a two factor authenticator for the CLI that stores 2FA secrets in system keyring, avoiding storing them in cleartext on your computer.
OTP Secret keys are saved and retrieved from system keyring at each use, so are not being kept in process active memory if not during operation explicitly requiring them.
Security considerations: the secrets are still being loaded in memory when adding a new key and generating a new token, even if for a small amount of time. I believe this is a safe enough approach (in a normal threat model, please consider yours), and is surely better than plain secrets on file system. Happy to discuss security improvements! :)
Note: This software has not been security reviewed by a third party.
Interested in using it? Look at the getting started page.
What to dig deeper? Go to the project wiki.
None.