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.

Browserpass does not unlock GPG keys in Firefox + GNOME 3

See original GitHub issue

General information

  • Operating system + version: Arch Linux
  • Browser + version: Mozilla Firefox 68.0.1, Mozilla Firefox Developer Edition 69.0b8
  • Information about the host app:
    • How did you install it? Installed via a package manager
    • If installed an official release, put a version ($ browserpass --version): 3.0.6
  • Information about the browser extension:
    • How did you install it? Installed via a package manager
    • Browserpass extension version as reported by your browser: 3.1.1

Exact steps to reproduce the problem

  1. Configure pass to use a password-protected GPG key (pass init id_of_password_key)
  2. Install browserpass and browserpass-firefox
  3. Create at least one entry in the pass store
  4. Do not unlock the GPG key, or, if you have already, kill the gpg-agent process
  5. Go to a website that corresponds to an entry in the pass store
  6. Attempt to autofill a login, copy a password, or copy a username

What should happen?

Note: this does happen in Chrome(ium) The gpg-agent pinentry dialog should appear and allow the user to unlock the key. If they unlock the key successfully, browserpass should complete the requested action. Otherwise, it should report an error.

What happened instead?

In Firefox, browserpass simply displays e.g. “Filling login details” for a fraction of a second, and then fails silently and does not complete the action.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:21 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
nonnymoosecommented, Aug 4, 2019

I submitted a bug on the Firefox bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1571259.

1reaction
okennedycommented, Aug 21, 2019

Thanks for tracking this down @nonnymoose . I’ve been wrestling with this myself. I like your workaround.

A more straightforward, but less theme-appropriate workaround is simply using pinentry-gtk2 as a default by adding the line

pinentry-program /usr/bin/pinentry-gtk-2

to ~/.gnupg/gpg-agent.conf

Read more comments on GitHub >

github_iconTop Results From Across the Web

GNOME Keyring doesn't properly unlock GPG keys on login (x ...
I've recently setup a new system (Arch Linux, GNOME), imported my GPG keys, and rebooted my system. I was quite puzzled when my...
Read more >
Bug listing with status UNCONFIRMED as at 2022/12/28 19 ...
Bug:128538 - "sys-apps/coreutils: /bin/hostname should be installed from coreutils not sys-apps/net-tools" status:UNCONFIRMED resolution: severity:enhancement ...
Read more >
How to install Firefox as a traditional deb package (without ...
To ensure that unattended upgrades do not reinstall the snap ... /usr/share/keyrings/firefox.gpg --recv-keys 9BDB3D89CE49EC21 echo 'deb ...
Read more >
NixOS 23.05 manual
OpenSSL now defaults to OpenSSL 3, updated from 1.1.1. GNOME has been upgraded to version 43. Please see the release notes for details....
Read more >
A stand-alone password manager that works with Firefox for ...
I can access my passwords even if I do not have pass installed, as long as I have my gpg private key. Using...
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