Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension seems to automatically open KeePassXC on browser start #276

Closed
nebulon42 opened this issue Aug 26, 2018 · 5 comments
Closed

Extension seems to automatically open KeePassXC on browser start #276

nebulon42 opened this issue Aug 26, 2018 · 5 comments

Comments

@nebulon42
Copy link

Current Behavior

When having the extension enabled in Firefox on Ubuntu 18.04 it seems to automatically start KeePassXC, which then comes to front. Is this the expected behavior? I find this a bit annoying and I'm not sure if this is necessary.

Possible Solution

I can imagine that for some automatically starting KeePassXC would be nice or even required, but maybe add a switch in the extension settings that is checked by default and where one can disable the autostart behavior.

Debug info

KeePassXC - 2.3.3
keepassxc-browser - 1.2.0
Operating system: Ubuntu GNU/Linux 18.04
Browser: Firefox
Proxy used: NO

@varjolintu
Copy link
Member

This kind of autostart happens only if you have disabled the proxy option in the Browser Integration settings. The default behaviour is to enable the proxy. Then the browser extension doesn't control KeePassXC directly via native messaging API.

@nebulon42
Copy link
Author

I think the proxy is enabled or at least I didn't change the settings (the checkbox at "proxy between extension and KeePassXC" is there). What I forgot to mention is that I use the Flatpak variant of KeePassXC. I first used the shipped variant which was 2.3.1, but it complained that my version is outdated. So I changed to the Flatpak variant. Seems like the proxy isn't running:

xyz   3971  3806  0 17:48 tty2     00:00:00 /usr/lib/flatpak/flatpak-bwrap --args 30 command-wrapper.sh /home/xyz/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json [email protected]
xyz   3978  3971  0 17:48 tty2     00:00:00 /usr/lib/flatpak/flatpak-bwrap --args 30 command-wrapper.sh /home/xyz/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json [email protected]
xyz   3979  3978  0 17:48 tty2     00:00:00 /bin/sh /app/bin/command-wrapper.sh /home/xyz/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json [email protected]
xyz   3980  3979  0 17:48 tty2     00:00:02 keepassxc /home/xyz/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json [email protected]

I'm new to the whole Flatpak/Snap/whatever thing so I'm not sure what is going wrong.

@varjolintu
Copy link
Member

Maybe this thread will help you.

@nebulon42
Copy link
Author

Thanks for your help! I have now switched to your PPA. Now the proxy is running and I don't see the behavior any more, like you said.

@rugk
Copy link

rugk commented May 5, 2020

FYI, for everyone following: I have found a working around involving some manual steps you need to do though for KeePassXC<->Firefox communication, if Firefox is flatpaked/sandboxed (works if KeePassXC is sandboxed or not). Read the full write-up/tutorial here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants