ususdei / qute-keepassxc

Qutebrowser userscript to fetch credentials from KeepassXC password database
MIT License
54 stars 10 forks source link

TOTP support #6

Open kresbeatz opened 3 years ago

kresbeatz commented 3 years ago

First of all, thank you for the script, I just started to use it today and it works great. However I'd like to ask, is it possible to add keybinding for paste TOTP key additionally to username and password? Thanks in advance!

ususdei commented 3 years ago

Thanks :-)

I first had to read up on the relatively new API in keepassxc for TOTP, but I think it should be doable.

I am just not sure about how to identify the TOTP input field.

I'd like try out the new API soonish and see what works for me.

Quarky9 commented 3 years ago

First of all thx for the amazing script ! Apart from TOTP there are other custom fields see https://github.com/keepassxreboot/keepassxc-browser/issues/122 Might be the same mechanism starting with KPH: or TOTP ?

ususdei commented 2 years ago

I finally push my working draft for this feature. I still think the UX is rather primitive but it is a very generic solution which should work on most pages. I'm looking forward to gather some feedback and more experience on this.

Regarding the KPH fields: I have not had any need for them but upon first glance it might be doable as long as you setup the fields manually somehow. But since the approach would be rather different than TOTP which has its own API in the browser integration, I would like to move this into a separate Item.