Browser Setup and Best Practices#

Use Browser Profiles#

Chrome#

google-chrome --user-data-dir=/home/felix/.config/google-chrome/foo

Firefox#

Use profile foo

firefox -P foo

Create profiles by running

firefox --new-instance --ProfileManager

KeepassXC#

https://keepassxc.org/

Chrome#

https://chrome.google.com/webstore/detail/keepassxc-browser/oboonakemofpalcgghocfoadofidjkkk

To fix the error Key exchange was not successful. you may need to copy the file org.keepassxc.keepassxc_browser.json from your main profile to the new profile, e.g.

cp \
  ~/.config/google-chrome/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json \
  ~/.config/google-chrome/foo/NativeMessagingHosts/

Here are its contents (2021-03-04):

{
    "allowed_origins": [
        "chrome-extension://pdffhmdngciaglkoonimfcmckehcpafo/",
        "chrome-extension://oboonakemofpalcgghocfoadofidjkkk/"
    ],
    "description": "KeePassXC integration with native messaging support",
    "name": "org.keepassxc.keepassxc_browser",
    "path": "/usr/bin/keepassxc-proxy",
    "type": "stdio"
}

Source: keepassxreboot/keepassxc-browser

Firefox#

https://addons.mozilla.org/de/firefox/addon/keepassxc-browser/