diff options
author | Werner Koch <[email protected]> | 2014-03-12 17:24:52 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-03-12 17:35:36 +0000 |
commit | 6dd5d99a61f24aff862ccba9f7410d7f1af87c05 (patch) | |
tree | 2fbd908268f7bf2b614884edabe09f2e00df5627 /doc | |
parent | dirmngr: Detect dead keyservers and try another one. (diff) | |
download | gnupg-6dd5d99a61f24aff862ccba9f7410d7f1af87c05.tar.gz gnupg-6dd5d99a61f24aff862ccba9f7410d7f1af87c05.zip |
gpg: Add option --dirmngr-program.
* g10/gpg.c: Add option --dirmngr-program.
* g10/options.h (struct opt): Add field dirmngr_program.
* g10/call-dirmngr.c (create_context): Use new var.
* dirmngr/dirmngr.c: Include gc-opt-flags.h.
(main): Remove GC_OPT_FLAG_*.
* tools/gpgconf-comp.c (GC_OPT_FLAG_NO_CHANGE): Move macro to ...
* common/gc-opt-flags.h: here.
Diffstat (limited to '')
-rw-r--r-- | doc/gpg.texi | 19 | ||||
-rw-r--r-- | doc/gpgsm.texi | 2 |
2 files changed, 20 insertions, 1 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi index c1ce07b98..e1ad33cfc 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -1696,6 +1696,25 @@ been given. Given that this option is not anymore used by @command{gpg2}, it should be avoided if possible. @end ifset + +@ifclear gpgone +@item --agent-program @var{file} +@opindex agent-program +Specify an agent program to be used for secret key operations. The +default value is the @file{/usr/bin/gpg-agent}. This is only used +as a fallback when the environment variable @code{GPG_AGENT_INFO} is not +set or a running agent cannot be connected. +@end ifclear + +@ifset gpgtwoone +@item --dirmngr-program @var{file} +@opindex dirmngr-program +Specify a dirmngr program to be used for keyserver access. The +default value is @file{/usr/sbin/dirmngr}. This is only used as a +fallback when the environment variable @code{DIRMNGR_INFO} is not set or +a running dirmngr cannot be connected. +@end ifset + @item --lock-once @opindex lock-once Lock the databases the first time a lock is requested diff --git a/doc/gpgsm.texi b/doc/gpgsm.texi index f7cedaf95..3d2594f68 100644 --- a/doc/gpgsm.texi +++ b/doc/gpgsm.texi @@ -350,7 +350,7 @@ as a fallback when the environment variable @code{GPG_AGENT_INFO} is not set or a running agent cannot be connected. @item --dirmngr-program @var{file} -@opindex dirmnr-program +@opindex dirmngr-program Specify a dirmngr program to be used for @acronym{CRL} checks. The default value is @file{/usr/sbin/dirmngr}. This is only used as a fallback when the environment variable @code{DIRMNGR_INFO} is not set or |