Home GnuPG
Diffusion GnuPG 5eaf2e926637

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
rGf5947f749450: common: New function scan_secondsstr.
Branches
Unknown
Tags
Unknown
Tasks
T6736: Year 2038 issue for key validity date