t-8ch / pinentry-bemenu

Pinentry based on bemenu
GNU General Public License v3.0
52 stars 3 forks source link

Pinentry for GPG doesn't work anymore. #4

Closed oliverwiegers closed 3 years ago

oliverwiegers commented 3 years ago

I can confirm that the issue was fixed in 8947943. But the issue was reintroduced in dc74bc5. So current HEAD is not working for GPG keys anymore.

Originally posted by @oliverwiegers in https://github.com/t-8ch/pinentry-bemenu/issues/1#issuecomment-829321724

I don't know what the issue is.

From the command line it looks like this:

❯ gpg --decrypt <path_to_file.gpg>
gpg: encrypted with 4096-bit RSA key, ID NOPEID, created 2019-09-13
      "Nope Nope (NOPEDOMAIN) <nope@nope>"
gpg: public key decryption failed: No pinentry
gpg: decryption failed: No secret key
t-8ch commented 3 years ago

This works for me. Can you run with --debug and provide the logs? (Latest master has a small bugfix that may have a very small change of fixing this, too)

oliverwiegers commented 3 years ago

Yeah well... now it works for me to. I have no idea why. Sorry for bothering you.

t-8ch commented 3 years ago

Okay, no worries :-)