mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
agent: New option --pinentry-timeout
* agent/gpg-agent.c (oPinentryTimeout): New. (opts): Add new option. (parse_rereadable_options): PArse that option. (main): Tell gpgconf about this option. * agent/call-pinentry.c (start_pinentry): Send option to Pinentry. * tools/gpgconf-comp.c (gc_options_gpg_agent): Add Option. -- GnuPG-bug-id: 2222 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
c26d299ef6
commit
499743387f
5 changed files with 34 additions and 0 deletions
|
@ -94,6 +94,11 @@ struct
|
|||
custom invisible character. */
|
||||
char *pinentry_invisible_char;
|
||||
|
||||
/* The timeout value for the Pinentry in seconds. This is passed to
|
||||
the pinentry if it is not 0. It is up to the pinentry to act
|
||||
upon this timeout value. */
|
||||
unsigned long pinentry_timeout;
|
||||
|
||||
/* The default and maximum TTL of cache entries. */
|
||||
unsigned long def_cache_ttl; /* Default. */
|
||||
unsigned long def_cache_ttl_ssh; /* for SSH. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue