Page MenuHome GnuPG

pinentry default timeout does not match documentation
Open, NormalPublic

Description

Originally reported as https://bugzilla.redhat.com/show_bug.cgi?id=1985602

info pinentry lists the default timeout is 0 (wait indefinitely):

[...] To disable the timeout and wait
indefinitely, set this to 0, which is the default.

but the source code in pinentry/pinentry.c:

193 /* Pinentry timeout in seconds. */
194 pinentry.timeout = 60;

I am not sure which value is more appropriate for default value, but the documentation and behavior should match.