From 3169b5ae3f21849354b1413644d3e545c0b08c73 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 29 Aug 2018 09:53:06 +0200 Subject: [PATCH] doc: Show how to list envvars send to gpg-agent. -- GnuPG-bug: 3353 Signed-off-by: Werner Koch (cherry picked from commit 53bbac0865719076f7ad7bb57e13f656bd6edf39) --- doc/gpg.texi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/gpg.texi b/doc/gpg.texi index a72505f9b..dc7e02171 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -3610,6 +3610,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 *************** ****************