3 ms·
command line: oathtool --totp -b 'someCode' same as any authenticator app but you don't have to take out your phone. On a mac it's brew install oath-toolkit
by andrewfromx 4y ago
command line:
oathtool --totp -b 'someCode'
same as any authenticator app but you don't have to take out your phone.
On a mac it's brew install oath-toolkit to get this oathtool executable.
Then I alias in .zshrc like:
alias auth_twitter="oathtool --totp -b 'someCode'"
and backup my whole .zshrc file with all the codes. Anyone else do this? 2FA is so easy when it's just a command line thing to run.
- PaulHoule 4y agoI've got a Yubikey but the hole in it wore out, I have a newer Yubikey and was going to reinforce the hole but never got around to it. I like this one https://winauth.github.io/winauth/download.html https://winauth.github.io/winauth/download.html but never got in the smartphone habit.