codewhitesec / qubes-keepass

rofi based frontend for KeePassXC running on Qubes OS
11 stars 4 forks source link

Added the functionality to retrieve and view available TOTPs #8

Closed Mystic-Ivy closed 10 months ago

Mystic-Ivy commented 11 months ago

Hi,

this is a quick hack to add the ability to retrieve (Ctrl+t) and view ('True' and 'None') available TOTPs. This is currently still a small "hack", as the following restrictions still apply:

TODO:

Cheers CJ

qtc-de commented 10 months ago

Hi @Mystic-Ivy :wave:

thanks for the PR :+1:

I would prefer this to be an opt-in feature that can be enabled using the config. I do not utilize the OTP storage of Keepass and having an OTP column within rofi would only be a waste of space in this case. Moreover, I think that creating the token only after the credential was selected is critical. I'm not sure how this is implemented, but maybe calling get_attributes() again refreshes the OTP?