aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gpg-agent.texi
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-11-13 13:46:19 +0000
committerWerner Koch <[email protected]>2021-11-13 13:56:40 +0000
commitdd708f60d5cf571bd4f0312c1b291ec93c328047 (patch)
tree4c8effa30247ff0e5bd8289c16b4a56cf03b7aac /doc/gpg-agent.texi
parentdoc: Clarify the "ntds" AKL mechanism. (diff)
downloadgnupg-dd708f60d5cf571bd4f0312c1b291ec93c328047.tar.gz
gnupg-dd708f60d5cf571bd4f0312c1b291ec93c328047.zip
agent,dirmngr: New option --steal-socket
* agent/gpg-agent.c (oStealSocket): New. (opts): Add option. (steal_socket): New file global var. (main): Set option. (create_server_socket): Implement option. * dirmngr/dirmngr.c (oStealSocket): New. (opts): Add option. (steal_socket): New file global var. (main): Set option. Add comment to eventually implement it. -- Note that --steal-socket has currently no effect on dirmngr because dirmngr does this anway. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc/gpg-agent.texi')
-rw-r--r--doc/gpg-agent.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/gpg-agent.texi b/doc/gpg-agent.texi
index f20d83384..6c2330dc6 100644
--- a/doc/gpg-agent.texi
+++ b/doc/gpg-agent.texi
@@ -297,6 +297,15 @@ Pinentry. As of now it is only useful when used along with
Don't detach the process from the console. This is mainly useful for
debugging.
+@item --steal-socket
+@opindex steal-socket
+In @option{--daemon} mode, gpg-agent detects an already running
+gpg-agent and does not allow to start a new instance. This option can
+be used to override this check: the new gpg-agent process will try to
+take over the communication sockets from the already running process
+and start anyway. This option should in general not be used.
+
+
@item -s
@itemx --sh
@itemx -c