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

Native Messaging Error on Edge-Dev 89.0.752.1 #67

Closed
VinnieNZ opened this issue Jan 11, 2021 · 5 comments
Closed

Native Messaging Error on Edge-Dev 89.0.752.1 #67

VinnieNZ opened this issue Jan 11, 2021 · 5 comments
Assignees
Labels

Comments

@VinnieNZ
Copy link

After updating Edge-Dev from 89.0.731.0 to 89.0.752.1 KeePassXC Browser seems to stop communicating with KeePassNatMsg correctly.

I've verified in the registry that the entry for the plugin is in Native Messaging Host and checked that the Edge integration and Proxy exist and work.

Reverting the version of Edge-Dev back to 89.0.731.0 fixes the issue.

I've filed a bug with the Edge-Dev team as well.

Error message from the KeePassXC Browser plugin is:
Connecting to native messaging host org.keepassxc.keepassxc_browser
keepass.js:1029 Failed to connect: Access to the specified native messaging host is forbidden.

@smorks
Copy link
Owner

smorks commented Jan 11, 2021

my guess is that Edge-Dev maybe changed the registry keys for where things are located? if memory serves correctly, i think it used to use the Chrome registry keys, and maybe they changed that? i'll try and do some investigation and see what i can find out.

@topia
Copy link

topia commented Feb 5, 2021

For your information, I verified with Edge-Dev 90.0.782.0, edge-dev refers to Chromium registry key: HKEY_CURRENT_USER\SOFTWARE\Chromium\NativeMessagingHosts\org.keepassxc.keepassxc_browser.
So, I can work as expected with:

  • installing natmsg-proxy to Chromium
  • edit kpnm_chromium.json manifest and add chrome-extension://pdffhmdngciaglkoonimfcmckehcpafo/ to allowed_origins for KeePassXC-Browser

@VinnieNZ
Copy link
Author

VinnieNZ commented Feb 5, 2021

Awesome find @topia - this worked for me on several different PC's.

@smorks
Copy link
Owner

smorks commented Feb 5, 2021

thanks, @topia! i'll try and get this fixed when i have some free time!

@smorks smorks self-assigned this Feb 5, 2021
@smorks smorks added the bug label Feb 5, 2021
@Fpadt
Copy link

Fpadt commented Mar 13, 2021

many Thanks

works still as a charm. I am on 89.0.774.54.
kpnm_chromium.json can be found in C:\Users<windows_user>\AppData\Local\KeePassNatMsg

@smorks smorks closed this as completed in 79404d8 Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants