Home GnuPG
Diffusion GnuPG 606933dfb48d

gpg: Allow to specify seconds since Epoch beyond 2038.

Description

gpg: Allow to specify seconds since Epoch beyond 2038.

* g10/keygen.c (parse_expire_string_with_ct): Use new function
scan_secondsstr.
(parse_creation_string): Ditto.

Noet that we cap the seconds at the year 2106.

Details

Provenance
wernerAuthored on Oct 14 2023, 5:23 PM
Parents
rGa17363e99294: common: New function scan_secondsstr.
Branches
Unknown
Tags
Unknown
Tasks
T6736: Year 2038 issue for key validity date