Home GnuPG
Diffusion GnuPG 3daeef702b2e

gpg: Allow to freeze faked system time.
3daeef702b2eUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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 <dgouttegattat@incenp.org>

Details

Provenance
gouttegdAuthored on Jan 18 2017, 6:52 PM
justusCommitted on Jan 19 2017, 10:39 AM
Parents
rG55c9212a2338: common: Clarify use of vars in buffer copy code.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG3daeef702b2e: gpg: Allow to freeze faked system time. (authored by Damien Goutte-Gattat <dgouttegattat@incenp.org>).Jan 19 2017, 10:39 AM