pass-otp
pass-otp copied to clipboard
After upgrading bash on Fedora the counter is not updated properly
Bash has been upgraded on Fedora 36 to 5.2.2-2 which is not working with the script /usr/lib/password-store/extensions/otp.bash.
$ pass otp hotp-secret
Invalid key URI (missing counter): otpauth://hotp/OATHXXXXXXXXX?secret=XXXXXXXX&counter=908counter=909&digits=6&issuer=XXXXX
As a workaround a downgrade to bash-5.1.16-2.fc36.x86_64 is required and running pass edit <secret> to remove the double counter.