browserpass-native: pmacOS+Chrome] Error: Error: Specified native messaging host not found.
The latest version of Chrome on macOS has resulted in:
Error: Error: Specified native messaging host not found.
errors with the extension.
Has Chrome been changed such that the existing configs don’t work now?
- macOS: 10.14.3
- Chrome: 73.0.3683.103
- browserpass: 3.0.5
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 31 (5 by maintainers)
I’ll just chalk this up to Monday morning brain fog, lack of coffee and being dumb.
I removed all browser pass extensions, uninstalled all browserpass brew references and deleted the old com.github.browserpass.native.json references for Chrome and Firebox.
Re-ran
brew install amar1729/formulae/browserpassand most importantly followed directions.PREFIX='/usr/local/opt/browserpass' make hosts-chrome -f /usr/local/opt/browserpass/lib/browserpass/Makefileand
PREFIX='/usr/local/opt/browserpass' make hosts-firefox -f /usr/local/opt/browserpass/lib/browserpass/MakefileThanks! I think I’m good now.
For macOS users via Homebrew and familiar with the command-line I think you want to do the following:
Then:
Restart Chrome.
GL 😄
It’s a design decision - homebrew maintainers want
brew installorbrew uninstallto only write to/usr/local/Cellarand whatever prefix it’s installing things into (typically/usr/local). There are no objects provided in the Formula class that allow a write to the $USER’s filepath.Feel free to move this discussion to my tap’s issue if you have more questions - i don’t want to clutter this repo’s issue with a relatively unrelated discussion.
Yeah ideally all you’d have to do is to run
brew install browserpass, then this command does everything by itself, spits out “please additionally run XXX” and you are all set.cc @Amar1729
P.S. by the way, the suggestion in tap could be a bit simplified and provided as a one-liner for easier copy-paste, i.e. instead of:
I think this should work (
DESTDIRis empty by default):Hey, glad you managed to make it work!
I believe we actually already have exactly these commands in the README 🙂
Amar’s homebrew formula installs necessary tools like
gnu-sed, and also prints how to configure browsers:So in this particular case I don’t think that there’s something new to add to README. Installation and configuring browsers are split on purpose in different sections, so that we can easily link to the necessary part of the documentation.
If you think some of it needs rephrasing, let me know and we will adapt 🙂
@erayd I think the manual install structions for macOS users using Homebrew just needs to be improved a bit. The last time I installed this the process was a bit different (probably slightly more manual) – the convenient
Makefile(s) are nice but you also have to remember to install gnu-sed viabrew install gnu-sedand usePREFIX=/usr/localeverywhere if you don’t care tosudoeverything