by Lanedo · 3y ago · 0 comments
otpauth://totp/GitHub:username?secret=BLAHBLUBBLAH&issuer=GitHub
You extract the secret and use it like this: oathtool --totp=sha1 --base32 BLAHBLUBBLAH
268685How do you get that 'otpauth://totp/GitHub:username?secret=BLAHBLUBBLAH&issuer=GitHub' path? Is it something you have to grab from the browser console?
$oathtool --totp - -b
<enter 16digit code>
6digit result for MSFT-Github
that works daily CLI; oathtool is packaged as part of OpenStack on GNU-Debian-UbuntuThe TOTP QR codes decode to one of these URIs