Home GnuPG
Diffusion GPGME d60d1b7f79bd

qt: Fix validity for (sub)keys generated using QGpgMEQuickJob

Description

qt: Fix validity for (sub)keys generated using QGpgMEQuickJob

* lang/qt/src/qgpgmequickjob.cpp: Fix expiration calculation

The job calculates the validity as the seconds since epoch,
while GPG expects the seconds since the current time.
This leads to the validity being significantly longer than expected.

Details

Provenance
TobiasFellaAuthored on Dec 13 2023, 3:55 PM
Parents
rM18a0d72b1bba: doc: Update NEWS
Branches
Unknown
Tags
Unknown
Tasks
T6889: gpgme: QGpgMEQuickJob creates keys with wrong expiry