about summary refs log tree commit diff
path: root/bin/.local/bin/totp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/.local/bin/totp')
-rwxr-xr-xbin/.local/bin/totp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/.local/bin/totp b/bin/.local/bin/totp
new file mode 100755
index 0000000..6a84899
--- /dev/null
+++ b/bin/.local/bin/totp
@@ -0,0 +1,2 @@
+#!/bin/sh
+oathtool --totp --base32 $(cat $HOME/.totp/$1)