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

Running KeePassXC or KeePass2 are not noticed from any KeePassXC-Browser or KeePassXC-Mail Extension #96

Open
tps800 opened this issue May 6, 2022 · 5 comments

Comments

@tps800
Copy link

tps800 commented May 6, 2022

After installing KeePassNatMsg plugin into KeePass2 version 2.51, then restarting KeePass2 no errors are given at start.
Installing NativeMessaging Host does not give rrors either. Installing KeePassXC-Browser in Vivaldi, Chrome, Chromium, Edge, Brave is ok too. Same with Firefox and Thunderbird.

Now trying to connect to an open database does nothing. No popup to give a name to the key used for connections. It is just: nothing happens.

Seen with Ubuntu, xUbuntu, lUbuntu, and Debian.

mono is installed in all cases full.

@smorks
Copy link
Owner

smorks commented May 11, 2022

are you using the .plgx or the .dll version of KeePassNatMsg?

also, are you saying that this only happens on Firefox, but it works fine in the chrome-based browsers? Or do you mean that it doesn't work in any browser?

can you post a screenshot of your KeePassNatMsg Options screen (just the general tab for now)?

@tps800
Copy link
Author

tps800 commented May 14, 2022

It is more complicated. It works after a second attempt for:

  • Chrome (Windows, Linux)
  • Firefox (Windows, Linux)
  • Edge (stable, Windows, Linux)
  • Thunderbird (Windows, Linux)
  • Chromium (Windows)
  • Vivaldi (Linux)

It does not work with:

  • Vivaldi (Windows)
  • Chromium (Linux)
  • Opera (Windows, Linux)
  • Brave (Windows, Linux)
  • Edge (beta, Windows, Linux)

It does not matter if the proxy was generated within KeePass2 for the browser and is active or not.
In some cases it is necessary to restart KeePass2 and the browser to have a generated connection work (Vivaldi, Chromium, Edge). It differs between OS. With some browser versions it was impossible to connect at all.

Screen-2022-05-15_00-03-13

@tps800
Copy link
Author

tps800 commented May 14, 2022

are you using the .plgx or the .dll version of KeePassNatMsg?

Tried both, did not see any difference.

@floviolleau
Copy link

floviolleau commented Aug 25, 2022

Hi @tps800 and @smorks ,

Thanks for all work you've done @smorks here!

Please have a look here for ubuntu:
keepassxreboot/keepassxc-browser#1681 (comment)

I added in /etc/apparmor.d/local/usr.bin.firefox:

/usr/bin/keepassxc-proxy Uxr,
/home/user/.keepassnatmsg/run-proxy.sh Uxr,

I got the popup to link firefox keepassxc extension and keepass2 (mono)

But now, I do not have suggestions in login forms

So still not working for me.
Any clues?

@smorks
Copy link
Owner

smorks commented Oct 31, 2022

hi @floviolleau! sorry, i'm not overly familiar with how apparmor works, but that run-proxy.sh is just a shell script that executes mono keepassnatmsg-proxy.exe, not sure if that's helpful or not.

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