Closed zorgick closed 2 years ago
Hi there, to be honest /opt/local/bin
is quite not standard location on Unix systems to be added to the default list, I'm not saying it's wrong or necessarily shouldn't be included, but at the same time I would like to limit hardcoding dependencies on very specific choices of very specific package managers of certain operating systems into a cross-platform binary...
There are several ways you can fix the issue today:
gpg
, in other words it would look in $PATH
- you can add your /opt/local/bin
location to PATH
for GUI apps (look into sudo launchctl config user path '.....
') and it will be discovered by default.gpg
binary in extension options (but be aware of https://github.com/browserpass/browserpass-extension/issues/293)gpg
binary in .browserpass.json
config file in your password store - see this section of docs for details. Yeah, /opt/local/bin
seems offputting to me also. I just switched to Mac from linux (my employer gave it) and it is a nightmare to configure all my utils for MacOS.
Thanks for the hint with this command sudo launchctl config user path
. I never needed it on Linux, but I knew there is some way to configure $PATH for GUI apps on Mac.
General information
$ browserpass --version
): 3.0.10If you are getting an error immediately after opening popup, have you followed the Configure browsers documentation section? yes. The popup appears as expected and suggests possible pass options.
Exact steps to reproduce the problem
Open extension popup
Click on any pass option
Error appears:
What should happen?
The browserpass-native should search for gpg binary correctly on MacOS.
It seems that this function doesn't have a full list of binary location.
If gpg was installed via MacPorts, the default location is
/opt/local/bin
What happened instead?
GPG binary path was not found.