doc: Show how to list envvars send to gpg-agent.
authorWerner Koch <wk@gnupg.org>
Wed, 29 Aug 2018 07:53:06 +0000 (09:53 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 29 Aug 2018 07:53:06 +0000 (09:53 +0200)
--

GnuPG-bug: 3353
Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gpg.texi

index 6df8d4c..c4bc354 100644 (file)
@@ -3650,6 +3650,15 @@ Operation is further controlled by a few environment variables:
 
 @end table
 
+When calling the gpg-agent component @command{@gpgname} sends a set of
+environment variables to gpg-agent.  The names of these variables can
+be listed using the command:
+
+@example
+  gpg-connect-agent 'getinfo std_env_names' /bye | awk '$1=="D" @{print $2@}'
+@end example
+
+
 
 @c *******************************************
 @c ***************            ****************