Mailing List Archive

key creation time
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.

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: key creation time [ In reply to ]
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



_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: key creation time [ In reply to ]
> use faketime(1)...
Thank you, that does what I was after.

Jon K.

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users