bash-otp
bash-otp copied to clipboard
One-time Password generator for CLI using bash, oathtool
I have an encrypted file `stripe.enc` in the directory. I get the following output when I run `./otp.sh stripe`. ``` ./otp.sh: line 14: gawk: command not found ./otp.sh: line 15:...
I get following message on macOS 13: > awk: field separator FS is empty
After upgrading from macOS 12 (Monterey) to 13 (Ventura), i got the error > bad decrypt > :routines:ossl_cipher_unpadblock:bad decrypt:providers/implementations/ciphers/ciphercommon_block.c:124 I found the issue [Encryption/decryption doesn't work well between two different...
On newer openssh versions I get the following warning: > *** WARNING : deprecated key derivation used. > Using -iter or -pbkdf2 would be better. So using -pbkdf2 -iter 1000000...
This adds a wrapper around otp.sh that when linked to another location calls otp.sh with its install location. That is when you link otp to a directory in your PATH...
Abort instead of calling oathtool with an empty token when we enter the wrong password to decrypt the token.