Timeout when signing

Nick Cripps nick.cripps at gmail.com
Thu Mar 18 14:57:01 CET 2021


Hi,

I'm trying to encrypt and sign a large file. It takes a while to do this,
and I then do other things while this is happening. It then completes and
presumably asks me for my key passphrase, but I miss this and it times out,
so all I see is the following error message:

gpg: signing failed: Timeout
gpg: file.gz: sign+encrypt failed: Timeout

I guess that it is actually pinentry that times out, and gpg just passes on
the error from pinentry?

How can I configure this timeout?

My /usr/bin/pinentry on my (Gentoo) system is a symlink to
/usr/bin/pinentry-gtk-2, but since I am doing this over SSH without X
forwarding, and it is working fine (and asking me in a curses based
interface), I don't think pinentry-gtk-2 is actually the pinentry program
being used, but I don't really understand how this works TBH. I do know
that Gentoo uses Gentoo's eselect utility to manage the /usr/bin/pinentry
symlink, but it seems like gpg is smart enough to use the appropriate
version if this isn't appropriate, somehow. Can anyone explain this, or
point me to where it is explained?

Many thanks in advance.

Kind regards,
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210318/8f113efe/attachment.html>


More information about the Gnupg-users mailing list