OTP/2FA token support
Pre-release
Pre-release
There are a number of password managers that can generate 2FA tokens in the plugin for you. Time to do the same. With newer versions of pass
(>= 1.7.0) you can install this plugin to add support for "One-Time Password" (OTP) secrets. It can even import it from a QR-code image.
If you add OTP-codes to secrets with an identical name, but with an -otp
suffix, this plugin picks up on it and allows you to fill in/copy/show the OTP token. Here's an example of how it would look like in pass
:
$ tree ~/.password-store | sed 's/├/\+/g; s/─/-/g; s/└/\\/g'
/home/me/.password-store
+-- github.com
+-- rcaldwell.gpg
\-- rcaldwell-otp.gpg