key creation time

Ángel angel at pgp.16bits.net
Tue Feb 8 00:40:51 CET 2022


On 2022-02-05 at 09:52 -0700, jonkomer wrote:
> In gpg 2.2, option "--faked-system-time 0" can be used to avoid
> inserting the "wall clock" time/date in the generated key.
> 
> gpg 1.4 does not recognize the option. Is there any other method
> (short of changing the OS time) to achieve the same effect in 1.4?
> 
> <https://www.gnupg.org/documentation/manuals/gnupg/> is, I assume,
> the definitive user-documentation source for the current (2.3) gpg.
> I was unable to find the equivalent for either 2.2 (which is what
> my distro ships with), or gpg 1.4 (that my distro also includes,
> as "gpg1").
> 
> Any suggestion Where to look for those?
> 
> tia, Jon K.

You could simply use faketime(1) to make gpg believe it is living at a
fixed time.

But you should avoid using gpg1…

Regards





More information about the Gnupg-users mailing list