aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-09-16 19:24:14 +0000
committerWerner Koch <[email protected]>2015-09-16 19:24:14 +0000
commit93d257c81952cbb08a744a9cea6749639aa32cd7 (patch)
treea76f3307c6f5d0bd773ca950bc83329d3724a73c /agent/agent.h
parentg13: Move some code to a separate module. (diff)
downloadgnupg-93d257c81952cbb08a744a9cea6749639aa32cd7.tar.gz
gnupg-93d257c81952cbb08a744a9cea6749639aa32cd7.zip
agent: New option --pinentry-invisible-char.
* agent/gpg-agent.c (oPinentryInvisibleChar): New. (opts): Add option. (parse_rereadable_options): Set option. * agent/agent.h (opt): Add field pinentry_invisible_char. * agent/call-pinentry.c (start_pinentry): Pass option to pinentry. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'agent/agent.h')
-rw-r--r--agent/agent.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/agent/agent.h b/agent/agent.h
index a1b37943c..b3e84708c 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -86,10 +86,14 @@ struct
int no_grab; /* Don't let the pinentry grab the keyboard */
- /* The name of the file pinentry shall tocuh before exiting. If
- this is not set the filoe name of the standard socket is used. */
+ /* The name of the file pinentry shall touch before exiting. If
+ this is not set the file name of the standard socket is used. */
const char *pinentry_touch_file;
+ /* A string where the first character is used by the pinentry as a
+ custom invisible character. */
+ char *pinentry_invisible_char;
+
/* The default and maximum TTL of cache entries. */
unsigned long def_cache_ttl; /* Default. */
unsigned long def_cache_ttl_ssh; /* for SSH. */