Skip to content

Browser integration doesn't respect XDG_CONFIG_HOME #4121

@NikolausDemmel

Description

@NikolausDemmel

I migrated from an Ubuntu 16.04 machine to a new machine with 18.04. KeepassXC is working, and the browser integration for Firefox as well, but for Chrome it is not. It was working before migration.

I've enabled the browser support in the KeepassXC settings and installed the Chrome Extension. Both should be up to date.

If I click on the KeepassXC icon in Chrome it shows:

KeePassXC-Browser has encountered an error:

Cannot connect to KeePassXC. Check that browser integration is enabled in KeePassXC settings.

If I click "Reload", the error message changes to

Key exchange was not successful.

In the extension settings, under "connected databases", there are no entries, and if I click "Connect", nothing happens. After migration, there were two entries, but since it wasn't working, I have removed them in the meantime.

One thing that is different to the previous machine, is that now I have XDG_CONFIG_HOME set up, and I copied my chrome user profile to the new location. It is now in ~/bionic/.config/google-chrome/Profile 1, whereas before it was in the more default ~/.config/google-chrome/Profile 1. Could that be a reason for the issue? Note that Firefox doesn't respect XDG_CONFIG_HOME and the firefox profile is still under ~/.mozilla like on the old machine.

Debug info

There seem to be no keepassxc related error messages in the JS console (depending on the site I have open no messages at all)
KeePassXC - 2.5.1
KeePassXC-Browser - 1.5.4
Operating system: Linux
Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions