mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
agent: New option --pinentry-formatted-passphrase
* agent/agent.h (opt): Add field pinentry_formatted_passphrase. * agent/call-pinentry.c (setup_formatted_passphrase): New. (agent_get_passphrase): Pass option to pinentry. * agent/gpg-agent.c (oPinentryFormattedPassphrase): New. (opts): Add option. (parse_rereadable_options): Set option. -- GnuPG-bug-id: 5553, 5517 This is a squashed backport of two commits from master. Backport-from-master:bf20a80f68
Backport-from-master:99601778f4
Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
8fff61de94
commit
32fbdddf8b
4 changed files with 73 additions and 0 deletions
|
@ -99,6 +99,9 @@ struct
|
|||
upon this timeout value. */
|
||||
unsigned long pinentry_timeout;
|
||||
|
||||
/* If set, then passphrase formatting is enabled in pinentry. */
|
||||
int pinentry_formatted_passphrase;
|
||||
|
||||
/* 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