-
Notifications
You must be signed in to change notification settings - Fork 52
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
Still getting "Specified native messaging host not found", triple-checked everything. #90
Comments
hey! just a quick first idea, is your browser installed as a snap package? I'm wondering if you are hitting #82 |
Nope, I installed Chromium via https://github.com/scheib/chromium-latest-linux. My Chromium install also doesn't seem to have an issue with reading/writing from/to |
everything seems to be correct... I'll try to think what else we could try, in the meantime could you try to use system-wide location for the json file, |
Well that did the trick! Any idea why it doesn't work with the file in the home folder? Seems it should work as per https://developer.chrome.com/apps/nativeMessaging. |
It is strange indeed, in my experience people usually have problems using system-wide location 🤔 At least we know that the problem is definitely not with the binary nor with the contents of the json file, since in both I wonder if this could be specific to the script you are using to install and run chromium, for example this override of "--user-data-dir": https://github.com/scheib/chromium-latest-linux/blob/4f4e9b85ea02a109e071452de936389cc2fd7376/run.sh#L5 To be honest I dont know what else to try... 🙂 |
Bingo! I never really checked out the run.sh script, but it seems it does indeed set a non-standard user dir. I created the symlink for the json file in that folder and now it works. Thank you! |
Great! it would have been so nice if chromium had shown the folders it's using on some sort of chrome:// page, which would simplify such debugging by a lot... |
Closing as it's solved and is specific to a chromium wrapper in use 🙂 |
General information
$ browserpass --version
): 3.0.6If you are getting an error immediately after opening popup, have you followed the Configure browsers documentation section?
Yes
I've gone through the installation and browser config instructions multiple times, yet I still get the error "Specified native messaging host not found" when clicking the extension icon in Chromium's toolbar.
I have the native messaging host app installed at
/usr/bin/browserpass-linux64
, running it with--version
reports version 3.0.6. as mentioned above. The file/home/thomas/.config/chromium/NativeMessagingHosts/com.github.browserpass.native.json
points to/usr/lib/browserpass/hosts/chromium/com.github.browserpass.native.json
, which contains this code:This should work then, shouldn't it? I believe I followed the installation instructions to the letter, but maybe I'm overlooking something?
The text was updated successfully, but these errors were encountered: