Home GnuPG

Fix fingerprint and creation timestamp written to OpenPGP cards

Description

Fix fingerprint and creation timestamp written to OpenPGP cards

The timestamp needs to be in UTC. QDateTime::fromSecsSinceEpoch()
uses local time by default, so we need to request UTC explicitly.
The wrong creation timestamp resulted in a different creation
time stored on the card than stored locally. And, since the creation
time is included in the calculation of the fingerprint, this also
resulted in different fingerprints stored on the card and locally.

Details

Provenance
ikloeckerAuthored on Oct 12 2020, 6:37 PM
Parents
rKLEOPATRA4594a3938166: Exclude card keys from encryption certificates for Key Management key
Branches
Unknown
Tags
Unknown