diff options
author | Werner Koch <[email protected]> | 2025-02-12 10:15:21 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2025-02-12 10:15:21 +0000 |
commit | 7a472525169a151d49adda7bcc6d8269dfca7ec6 (patch) | |
tree | 3081d294f9fb05538c46b708471ced141af744b4 /doc/gpg-agent.texi | |
parent | gpgsm: Remove unused function. (diff) | |
download | gnupg-7a472525169a151d49adda7bcc6d8269dfca7ec6.tar.gz gnupg-7a472525169a151d49adda7bcc6d8269dfca7ec6.zip |
agent: New option --change-std-env-name.
* common/session-env.c (stdenvnames): Add field "disabled".
(INITIAL_ARRAYSIZE): Increase size a bit.
(session_env_mod_stdenvnames): New.
(session_env_list_stdenvnames): Handle the disabled flag.
* agent/gpg-agent.c (oChangeStdEnvName): New.
(opts): Add --change-std-env-name.
(main): Implement option.
--
GnuPG-bug-id: 7522
Diffstat (limited to 'doc/gpg-agent.texi')
-rw-r--r-- | doc/gpg-agent.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/gpg-agent.texi b/doc/gpg-agent.texi index 42ac84019..f207ceef4 100644 --- a/doc/gpg-agent.texi +++ b/doc/gpg-agent.texi @@ -588,6 +588,16 @@ Ignore requests to change the current @code{tty} or X window system's @code{DISPLAY} variable respectively. This is useful to lock the pinentry to pop up at the @code{tty} or display you started the agent. +@item --change-std-env-name -@var{name} +@opindex change-std-env-name +The agent uses a fixed list of environment variables which are passed +on to the Pinentry. This option allows to remove variables from that +list. For example: +@smallexample + change-std-env-name -DBUS_SESSION_BUS_ADDRESS +@end smallexample + + @item --listen-backlog @var{n} @opindex listen-backlog Set the size of the queue for pending connections. The default is 64. |