TOTP Codes in the Terminal
jpmens.net
TOTP Codes in the Terminal
1–10 of 73 posts
Re: TOTP Codes in the Terminal
#2 > pass edit git/hub
[... put in your totp ...]
otpauth://totp/GitHub/...
then you can > pass otp -c git/hub
Copied OTP code for git/hub to clipboard. Will clear in 45 seconds.
pass-otp is also compatible with the passff firefox plugin; not sure beyond that.Re: TOTP Codes in the Terminal
#3 oathtool - Open AuTHentication (OATH) one-time password tool
OATH Toolkit provide components to build one-time password
authentication systems. It contains shared C libraries, command line
tools and a PAM module. Supported technologies include the
event-based HOTP algorithm (RFC 4226), the time-based TOTP algorithm
(RFC 6238), and Portable Symmetric Key Container (PSKC, RFC 6030) to
manage secret key data. OATH stands for Open AuTHentication, which is
the organization that specify the algorithms.Re: TOTP Codes in the Terminal
#4It is a crude hack, but it works for me.
Re: TOTP Codes in the Terminal
#5Re: TOTP Codes in the Terminal
#6I suspect most people make the assumption that an Authenticator app is something special that needs to talk to the service that issued the QR code/secret string.
It's nothing more than a SHA1 hash of a secret string and an adjusted current time.
[1] https://keepassxc.org>
Re: TOTP Codes in the Terminal
#7A pass[0] extension called pass-otp[1] can produce otp codes from the command line > pass edit git/hub [... put in your totp ...] otpauth://totp/GitHub/... then you can > pass otp -c git/hub Copied OTP code for git/hub to clipboard. Will clear in 45 seconds. pass-otp is also compatible with the passff firefox plugin; not sure beyond that. [0]: https://www.passwordstore.org/ [1]: https://github.com/tadfisher/pass-otp
Re: TOTP Codes in the Terminal
#8KeePassXC[1] password manager supports TOTP and I use it for that purpose in addition to storing passwords. It never made sense to me to use an app like Authy. I suspect most people make the assumption that an Authenticator app is something special that needs to talk to the service that issued the QR code/secret string. It's nothing more than a SHA1 hash of a secret string and an adjusted current time. [1] https://ke…
Re: TOTP Codes in the Terminal
#9Re: TOTP Codes in the Terminal
#10KeePassXC[1] password manager supports TOTP and I use it for that purpose in addition to storing passwords. It never made sense to me to use an app like Authy. I suspect most people make the assumption that an Authenticator app is something special that needs to talk to the service that issued the QR code/secret string. It's nothing more than a SHA1 hash of a secret string and an adjusted current time. [1] https://ke…
For me it’s separation of secrets. If my vault is exposed they won’t be able to log in without the codes. Putting it all in one place is a bad idea, some may think.