summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2023-05-09 08:17:30 +0200
committerWerner Koch <wk@gnupg.org>2023-05-09 08:17:30 +0200
commitc30d5829c9ab076e9fd39c223273b065cdb58a0d (patch)
tree9fb413bc2a743cc89a611bf42fc5700c2da7ab72 /doc
parentgpg: Print a warning if no more encryption subkey was left over. (diff)
downloadgnupg2-c30d5829c9ab076e9fd39c223273b065cdb58a0d.tar.xz
gnupg2-c30d5829c9ab076e9fd39c223273b065cdb58a0d.zip
gpg: New option --debug-ignore-expiration to help with testing.
* g10/gpg.c (oDebugIgnoreExpiration): New. (opts): Add option. (main): Set flag. * g10/options.h (opt): Add field ignore_expiration. * g10/pkclist.c (do_we_trust): Handle the option. * g10/getkey.c (skip_unusable): Ditto. (finish_lookup): Ditto. -- GnuPG-bug-id: 2703
Diffstat (limited to 'doc')
-rw-r--r--doc/gpg.texi13
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 9fdabc743..6b584a913 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -3185,12 +3185,17 @@ and may thus be changed or removed at any time without notice.
To facilitate software tests and experiments this option allows to
specify a limit of up to 4 EiB (@code{--chunk-size 62}).
+@item --debug-ignore-expiration
+@opindex debug-ignore-expiration
+This option tries to override certain key expiration dates. It is
+only useful for certain regression tests.
+
@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").
+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").
If you suffix @var{epoch} with an exclamation mark (!), the system time
will appear to be frozen at the specified time.