Qutebrowser addon qute-keepassxc

From wikinotes
Revision as of 18:40, 4 September 2022 by Will (talk | contribs) (→‎Setup)

Qutebrowser ships with a keepassxc integration.

Documentation

github https://github.com/qutebrowser/qutebrowser/blob/master/misc/userscripts/qute-keepassxc

Setup

- open: keepassxc:
  - Tools/Settings:
    - Tab: Browser Integration:
      - [x] Enable browser integration
qutebrowser_python=$(cat $(which qutebrowser) | head -n 1 | awk -F'#' '{ print $2 }')
$qutebrowser_python -m pip install pynacl

Create a personal gpg key.
qutebrowser will encrypt the token for this connection using it.
Find your key id with gpg --list-keys.

# ~/.config/qutebrowser/config.py

config.bind('<Alt-p>', 'spawn --userscript qute-keepassxc --key {}'.format(your_gpg_key_id), mode='insert')
config.bind('pw', 'spawn --userscript qute-keepassxc --key {}'.format(your_gpg_key_id), mode='normal')