• Ingo Klöcker's avatar
    Fix fingerprint and creation timestamp written to OpenPGP cards · 88f69225
    Ingo Klöcker authored
    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.
    88f69225
keytocardcommand.cpp 18.5 KB