diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-05-07 03:04:54 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-05-07 03:05:19 -0400 |
commit | 9aa4fbdbe01ff7731140ac3e559548db14586f99 (patch) | |
tree | 29fb23a59f3e5d5cfc0977e0b5d412f11e085e9f /aliases | |
parent | 509320d158d131b80943f9c8f351876f5878d2fe (diff) | |
download | conf-9aa4fbdbe01ff7731140ac3e559548db14586f99.tar.gz conf-9aa4fbdbe01ff7731140ac3e559548db14586f99.zip |
add some aliases for two-factor auth
Diffstat (limited to 'aliases')
-rw-r--r-- | aliases | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -156,6 +156,12 @@ function pt { prove -Mlib::require::all=lib -Pretty -l "$@" t fi } +function 2fa_linode { + oathtool --totp -b $(pass show websites/linode/doy | grep '^2fa:' | sed 's/^2fa: //') +} +function 2fa_github { + oathtool --totp -b $(pass show websites/github/doy | grep '^2fa:' | sed 's/^2fa: //') +} # }}} # vim:ft=sh: |