diff options
author | Damien Goutte-Gattat <[email protected]> | 2017-01-18 17:52:12 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-01-19 09:39:06 +0000 |
commit | 3daeef702b2e6a42f0f396b828f86ffc3f33fc88 (patch) | |
tree | fc12a159c0920a7cc991853e1543baa04719f30a /doc/gpg.texi | |
parent | common: Clarify use of vars in buffer copy code. (diff) | |
download | gnupg-3daeef702b2e6a42f0f396b828f86ffc3f33fc88.tar.gz gnupg-3daeef702b2e6a42f0f396b828f86ffc3f33fc88.zip |
gpg: Allow to freeze faked system time.
* g10/gpg.c (main): If the parameter for --faked-system-time
ends with a '!', freeze time at the specified point.
* common/gettime.c (gnupg_set_time): Allow to freeze the time
at an arbitrary time instead of only the current time.
* doc/gpg.texi: Update documentation for --faked-system-time.
--
This patch allows the user to modify the behavior of the
--faked-system-time option: by appending a '!' to the parameter,
time in GnuPG will be frozen at the specified time, instead of
advancing normally from that time onward.
Signed-off-by: Damien Goutte-Gattat <[email protected]>
Diffstat (limited to 'doc/gpg.texi')
-rw-r--r-- | doc/gpg.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi index 4ea2cd21e..044ba3761 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -2748,6 +2748,9 @@ 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. + @item --enable-progress-filter @opindex enable-progress-filter Enable certain PROGRESS status outputs. This option allows frontends |