pass-otp icon indicating copy to clipboard operation
pass-otp copied to clipboard

After upgrading bash on Fedora the counter is not updated properly

Open 4nn0 opened this issue 3 years ago • 0 comments

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.

4nn0 avatar Oct 19 '22 12:10 4nn0