-
Notifications
You must be signed in to change notification settings - Fork 51
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
Brave browser - Error: Specified native messaging host not found. #114
Comments
Hi there 👋 It's most probable that some (all) of these paths are incorrect, last time I used Brave 3 years ago, and maybe they have updated something since. There is no good way to know these directories, some browsers document them, in others we just find them by trial and error. Community effort is often driving this, and help is very welcome! If you know of any other extension that uses native host and that works for you, it will be quite helpful as you can just peek where they installed the hosts files :) Lines 439 to 440 in d73f45c
Lines 453 to 454 in d73f45c
This old comment of mine doesn't inspire confidence either 😅 |
hi, |
I have no idea if this is still an issue for anyone after over a year, but I'm using browserpass with brave without an issue on nixos+home-manager. These lines from my home-manager config should be fairly self-explanatory even if you don't know anything about nix: {
home.file.".config/BraveSoftware/Brave-Browser/NativeMessagingHosts/com.github.browserpass.native.json".source = "${pkgs.browserpass}/lib/browserpass/hosts/chromium/com.github.browserpass.native.json";
home.file.".config/BraveSoftware/Brave-Browser/policies/managed/com.github.browserpass.native.json".source = "${pkgs.browserpass}/lib/browserpass/policies/chromium/com.github.browserpass.native.json";
} Hope it's helpful regarding the locations brave is searching. |
Thanks for confirming that these paths are working! These do seem to be exactly what we have in our Makefile today. Let's close this issue, and if at any point the paths need to be updated, just send out a PR, as those are completely community-driven! |
This error also occurs when Brave Browser is installed with snap, as browser config files are not stored in |
Let's keep track of snap packages separately, feel free to create a new issue if you want, but probably following the #82 would be enough, as brave is based on chromium |
General information
downloaded a pre-built binary
(
$ browserpass --version
): browserpass: command not found(
$ browserpass-linux64 --version
): Browserpass host app version: 3.0.7$ git describe --always
):webstore
3.7.2
If you are getting an error immediately after opening popup, have you followed the Configure browsers documentation section?
I did follow. I tried: make hosts-brave-user and sudo make hosts-brave
Exact steps to reproduce the problem
make BIN=browserpass-linux64 configure
sudo make BIN=browserpass-linux64 install
I tried: make hosts-brave-user and sudo make hosts-brave
Install extension.
What should happen?
The extension should be connected to host.
What happened instead?
Error: Error: Specified native messaging host not found.
The text was updated successfully, but these errors were encountered: