aboutsummaryrefslogtreecommitdiffstats
path: root/doc/dirmngr.texi
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2023-07-19 09:27:08 +0000
committerAndre Heinecke <[email protected]>2023-07-21 08:26:44 +0000
commit083a16ae08eb0226f55783d6f7b65a35e7724067 (patch)
tree420b6942bf09cf5d1d26b68a31daef20ea11a23a /doc/dirmngr.texi
parentcommon:w32: Fix gnupg_w32_set_errno. (diff)
downloadgnupg-083a16ae08eb0226f55783d6f7b65a35e7724067.tar.gz
gnupg-083a16ae08eb0226f55783d6f7b65a35e7724067.zip
dirmngr: Add doc for faked-system-time
* dirmngr/dirmngr.c (gpgrt_opt_t): Use string for oFakedSystemTime. (oFakedSystemTime): Use similar conversion as gpgsm has. * dirmngr/dirmngr.texi (faked-system-time): Document it. -- For testing X509 certificates this is usually required and then confusing that the example from the gpgsm man page does not work for dirmngr.
Diffstat (limited to 'doc/dirmngr.texi')
-rw-r--r--doc/dirmngr.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/dirmngr.texi b/doc/dirmngr.texi
index 0bf35b72f..fb448752a 100644
--- a/doc/dirmngr.texi
+++ b/doc/dirmngr.texi
@@ -175,6 +175,13 @@ names and are OR-ed together. The special flag "none" clears the list
and allows to start over with an empty list. To get a list of
available flags the sole word "help" can be used.
+@item --faked-system-time @var{epoch}
+@opindex faked-system-time
+This option is only useful for testing; it sets the system time back or
+forth to @var{epoch} which is the number of seconds elapsed since the year
+1970. Alternatively @var{epoch} may be given as a full ISO time string
+(e.g. "20070924T154812").
+
@item --debug-level @var{level}
@opindex debug-level
Select the debug level for investigating problems. @var{level} may be a