-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gpg: decryption failed: No secret key #278
Comments
Hello, your note about |
Hmm, that works! Indeed, when I start the browser from the terminal it works. But, it's not |
Correct, |
Right, so it seems that |
General information
-bin
version)Using
home-manager
's module for browserpass, which installs it for the browsers that I whitelist.$ browserpass --version
):Nix doesn't put browserpass on the path, but it seems to be 3.0.6:
The browser extension is installed using nix's user repositories for FF, and the Chrome Web Store for the others.
3.7.2 for all three browsers
I should note that I have read the previous issues regarding this problem and I have tried this with 3 different pinentry programs: Gnome 3, GTK2, and QT (I was sure to restart the GPG agent in between, and I tested using pass directly that the new pinentry was being used). When using browserpass the pinentry program is not triggered.
I am able to successfully use pass on the cli.
When my GPG key is unlocked/cached by gpg-agent, the error still persists.
If you are getting an error immediately after opening popup, have you followed the Configure browsers documentation section? Although the error I'm reporting now does not occur immediately after opening the popup, I did have some issues of that nature initially. Since I installed from distro packages, nothing to be done according to that section. However, I have set the GPG binary path (was necessary for FF) and the password store path manually to the correct locations (in all 3 browsers, the password store location wasn't automatically picked up correctly even though the env var
PASSWORD_STORE_DIR
is set).Exact steps to reproduce the problem
Go to https://github.com/login
Ctrl+Shift+L
Select the github.com entry
What should happen?
Fill in the login details for GitHub, showing the pinentry dialog first if necessary.
What happened instead?
Same in all 3 browsers (except that the storeId is different).
The text was updated successfully, but these errors were encountered: