Closed cindrmon closed 3 years ago
Hello, lesson learned.
I just had a talk with my friend and it just made me go back to the default folder of $GNUPGHOME
, which is $HOME/.gnupg
instead of wherever it is located.
That was the only solution, and I feel like I can't do anything about it.
Moral of the story: Don't change the default location of your $GNUPGHOME
unless you know what you're doing.
Long story short, I just reverted it back to ~/.gnupg
, and everything worked fine.
I'm having the same problem. QtPass only looks in ~/.gnupg when it should be looking in $GNUPGHOME. This prevents anyone using QtPass from following the XDG Base Specification guidelines for GNUPG. Please can you reopen this issue.
Describe the bug It is most likely that QtPass always checks for GPG keypairs in the default directory
~/.gnupg
rather than$GNUPGHOME
, from where it has changed the location to. So what happens is that it does not detect all my GPG keypairs and when checking for my passwords, the gpg decryption failed error appears. The original programpass
does pick up the GPG key even after I changed the$GNUPGHOME
wth antidot.To Reproduce Steps to reproduce the behaviour:
.gnupg
directory whether it may be empty or not.antidot clean
, you must apply the rule by typingy
and enter:1b. After doing
antidot clean
, proceed setting up antidot as normal. You must follow antidot's instructions in restarting thegpg-agent
by doinggpgconf --kill gpg-agent
.gnupg
folder, even after it changed)gpg: decryption failed; No secret key
when accesing a single password.Expected behavior It would most likely not recognise where I have changed my
$GNUPGHOME
, so it cannot decrypt any password I currently have on password store, and it would end up having this error:gpg: decryption failed: No secret key
.Screenshots
Desktop (please complete the following information):
Additional context I can't tell whether to classify this as a bug or a feature I want for QtPass, because if they don't have a feature where you have the ability to change where to scan for gpg keypairs, I would love for them to have that, or to scan
$GNUPGHOME
instead of just~/.gnupg
by default.