summaryrefslogtreecommitdiff
path: root/totp
blob: a606d6b6492b74538bb3ffb40706fefeeb104cb9 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

set -eu

name="$1"

oathtool --base32 --totp "$(pass show "totp/$name")"