Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Tell HN: It is impossible to disable Google 2FA using backup codes. Parent comment
function 2fa(){
local sec=$(pass show $1.secret) local code=$(oathtool -b --totp "$sec") echo $code | xsel -ib echo "Copied $code"
then call it as `2fa <account>`, and make sure you store each <account>'s secret as `pass insert <account>.secret -e`.
refs: https://www.cyberciti.biz/faq/use-oathtool-linux-command-lin...
There are no comments on this comment yet.
function 2fa(){
}then call it as `2fa <account>`, and make sure you store each <account>'s secret as `pass insert <account>.secret -e`.
refs: https://www.cyberciti.biz/faq/use-oathtool-linux-command-lin...