Pinentry: Permission Denied

gnupg at raf.org gnupg at raf.org
Mon Jun 4 01:22:33 CEST 2018


Jacob Adams wrote:

> I've been getting the occasional "Pinentry: Permission Denied" error
> when generating new keys with GPGME and leaving pinentry to get the
> password instead of passing it directly (passphrase=True with the python
> bindings). Typically a reboot will fix it but it's rather odd.
> 
> I've attached a couple logs. If there's something else I should be
> logging to catch this error, please let me know.
> 
> Any ideas on what might be causing this?
> A reboot usually fixes it but it's quite annoying.
> 
> Thanks,
> Jacob

it might be permissions on /dev/tty (which looks to be /dev/tty1
from the debugging output). did you su/sudo to another user?




More information about the Gnupg-users mailing list