qute-bitwarden fails - KeyError: 'totp'
Author: aswilsCreated Sep 21, 2026Updated Sep 21, 2026
Version info: https://bpa.st/VBLQ
qutebrowser v3.7.0 Git commit: Backend: QtWebEngine 6.11.2 based on Chromium 140.0.7339.225 with security patches up to 151.0.7922.71 (plus any distribution patches) (source: api) Qt: 6.11.2
Does the bug happen if you start with --temp-basedir?:
Yes
Description
Running :spawn --userscript qute-bitwarden fails with this trace:
request_key: Required key not available
Traceback (most recent call last):
File "/nix/store/m2c5v21nqjxk53cvg4kgdkkpgm5glw4g-qutebrowser-3.7.0/share/qutebrowser/userscripts/qute-bitwarden", line 309, in <module>
sys.exit(main(arguments))
~~~~^^^^^^^^^^^
File "/nix/store/m2c5v21nqjxk53cvg4kgdkkpgm5glw4g-qutebrowser-3.7.0/share/qutebrowser/userscripts/qute-bitwarden", line 261, in main
totp = selection['login']['totp']
~~~~~~~~~~~~~~~~~~^^^^^^^^
KeyError: 'totp'Perhaps the script is expecting to always find a TOTP associated with a login?
How to reproduce
Install the bitwarden cli and login. Run the qute-bitwarden userscript.
Source: qutebrowser/qutebrowser