browserpass-extension: Unable to fetch and parse login fields
Just installed Browserpass extension in brand new Firefox installation on Mac OS Mojave. Native client has been installed using homebrew from brew tap amar1729/formulae. When trying to enter a password into a form, I see the following message instead:
Error: Unable to fetch and parse login fields: Error: {"status":"error","code":24,"version":3000006,"params":{"action":"fetch","error":"Error: exit status 2, Stderr: Warning: Failed to set locale category LC_NUMERIC to en_DE.\nWarning: Failed to set locale category LC_TIME to en_DE.\nWarning: Failed to set locale category LC_COLLATE to en_DE.\nWarning: Failed to set locale category LC_MONETARY to en_DE.\nWarning: Failed to set locale category LC_MESSAGES to en_DE.\ngpg: decryption failed: No secret key\n","file":"www/mywebsite.de/myusername.gpg","message":"Unable to decrypt the password file","storeId":"default","storeName":"pass","storePath":"/Users/myuser/.password-store"}}
Browserpass host app version: 3.0.6 Extension Version 3.1.1
I saw a similar note when using pass and gopass from the command line (missing LC_… etc). Then I found to add export LC_ALL=en_US.UTF-8 to .bash_profile which made both pass and gopass work. Then I tried to add the line to /etc/profile, but this did not work. Any ideas what can help?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 35 (12 by maintainers)
Worked like a charm @maximbaz , only had to make sure
gpg-agentwas restarted withgpgconf --kill gpg-agent!Once again thanks for all the help, I hope this thread can be useful to others stumbling on the same issue.
It should be a one-liner, here’s my config for reference: https://github.com/maximbaz/dotfiles/blob/master/.gnupg/gpg-agent.conf
Let me know if this helps!
Going to “Extension Options” and setting “Custom GPG Binary Location” to
/usr/local/MacGPG2/bin/gpgfixed this for me.That’s definitely not a Browserpass issue, nor is it the same issue that @mcnesium has reported in the first post of this issue.
Browserpass does have an option that allows you to manually specify the gpg path, in case you have it installed somewhere unusual. That may be a solution you might be interested in pursuing, if you don’t want to alter your current gpg situation.
Thanks a lot for instant help! I will check the links!
Ah then you probably hit https://github.com/browserpass/browserpass-extension/issues/155 🙂 Check that thread out, it has some workarounds plus a bug reported against Firefox itself.