Password Manager + TOTP
I’d like to have a backup method for TOTP. For this, I’m looking at using the pass-otp extension which is available both in OpenBSD packages and Debian.
There appears to be some way of scanning QR codes with your webcam in order to extract the URIs, but I can skip this because I have a Honeywell Voyager 1450g handheld 2D barcode scanner (it is very fancy).
Basic operation looks like:
- Adding TOTP seed to an existing password:
pass otp append path/to/password
- Getting a TOTP code:
pass otp path/to/password
- Displaying a QR code to add a backup device (tested with Authy on iOS):
pass otp uri -q path/to/password