Browserpass extension version as reported by your browser: 3.7.2
If you are getting an error immediately after opening popup, have you followed the Configure browsers documentation section?
Yes, I have, as shown in the 'install' explanation
Exact steps to reproduce the problem
Install homebrew on M1-based apple device
Install pass using brew install pass
Install the native component of browserpass using brew install amar1729/formulae/browserpass (using bare brew install browserpass is not supported yet by homebrew on M1 devices)
Attempt running browserpass-darwin64 using the command line, which'll result in the message zsh: bad CPU type in executable: browserpass-darwin64
What should happen?
The browserpass native component should run as it would on x86-based machines.
What happened instead?
The executable did not run
Based on quickly looking at the Makefile, including darwin64-arm64 in the release files, like is the case with other platforms, would allow homebrew (or other formulae providers) to fix this in their packaging without resorting to setting up a custom pipeline.
I agree that I should add the darwin-arm64 binary to the release, however please be aware of two things:
The brew tap right now anyway downloads the x86 binary, that will need to be adapted, if at all possible without making a separate tap (should be, right?)
The current tap actually works just fine for me on M1 processor, and seems line works for other people too. Maybe you need to install rosetta? (I nevertheless agree that using native binary is preferred over x86 binary with rosetta)
General information
brew install amar1729/formulae/browserpass
(uses release binaries from this repository)PREFIX='/opt/homebrew/opt/browserpass' make hosts-firefox-user -f '/opt/homebrew/opt/browserpass/lib/browserpass/Makefile'
$ browserpass --version
): 3.0.7$ git describe --always
): n/aIf you are getting an error immediately after opening popup, have you followed the Configure browsers documentation section?
Yes, I have, as shown in the 'install' explanation
Exact steps to reproduce the problem
brew install pass
brew install amar1729/formulae/browserpass
(using barebrew install browserpass
is not supported yet by homebrew on M1 devices)browserpass-darwin64
using the command line, which'll result in the messagezsh: bad CPU type in executable: browserpass-darwin64
What should happen?
The browserpass native component should run as it would on x86-based machines.
What happened instead?
The executable did not run
Based on quickly looking at the Makefile, including darwin64-arm64 in the release files, like is the case with other platforms, would allow homebrew (or other formulae providers) to fix this in their packaging without resorting to setting up a custom pipeline.