question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to fetch and parse login fields

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:34 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
ferraocommented, Dec 10, 2019

Worked like a charm @maximbaz , only had to make sure gpg-agent was restarted with gpgconf --kill gpg-agent!

Once again thanks for all the help, I hope this thread can be useful to others stumbling on the same issue.

2reactions
maximbazcommented, Dec 10, 2019

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!

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Pkg-mozext-maintainers] Bug#990703: webext-browserpass ...
[Pkg-mozext-maintainers] Bug#990703: webext-browserpass: Unable to fetch and parse login fields [pinentry] · nelson g Mon, 05 Jul 2021 00:42:13 -0700.
Read more >
python - Not able to parse the 'data' for login - Stack Overflow
i'm trying to login to my college website using python, i want the source code of the welcome page i.e my dashboard but...
Read more >
How to Use the Fetch API (Correctly) - CODE Magazine
Navigate into the folder Samples-WebAPI and load that folder in Visual Studio Code or Visual Studio 2019. Open the appsettings.json file and ...
Read more >
TypeError: Failed to fetch and CORS in JavaScript | bobbyhadz
An incorrect or incomplete URL has been passed to the fetch() method. The server you are making a request to does not send...
Read more >
SyntaxError: JSON.parse: bad parsing - JavaScript | MDN
The JavaScript exceptions thrown by JSON.parse() occur when string failed to be parsed as JSON.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found