totp (144B)
1 #!/bin/sh 2 set -eu 3 openssl enc -ChaCha20 -pbkdf2 -d -in ~/prv/pass.enc | \ 4 grep "$1" | \ 5 cut -f3 | \ 6 oathtool --totp --base32 - | \ 7 xsel -bi