OTP field not visible
Closed this issue · 1 comments
I am unable to get the OTP field to show on the rofi-pass menu for my otp passwords unless I add otp_method:
to each of them. My understanding is that as long as the password starts with otpauth://
then the OTP option should just show but for some reason it's not. I have made sure I have an up to date version of rofi-pass with OTP support (I used rofi-pass-git from AUR) and that my otp entries work with pass-otp directly. I looked at #115 and the reason for that one seemed to have been that rofi and rofi-pass weren't updated in arch yet. It's been years since then so I assume this is no longer the cause?
$ rofi -version
Version: 1.7.5
$ rofi-pass --help
Usage:
rofi-pass [command]
Commands:
--insert insert new entry to password store
--root set custom root directories (colon separated)
--last-used highlight last used item
--show-last show details of last used Entry
--bmarks start in bookmarks mode
rofi-pass version 1.5.3
$ pass show github2-otp
otpauth://totp/GitHub:BurnyBoi?secret=MySecret&issuer=GitHub
I was able to fix this by putting a line above the otpauth://
line in the pass entry file. Turns out rofi-pass expects OTP secrets to be below the top line.