Page MenuHome GnuPG

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

Authored by TobiasFella on Dec 21 2023, 4:06 PM.

Details

Reviewers
ikloecker
Summary

Gpgme takes the date as QDateTime and transforms it into seconds since epoch, while the gpg command line expects seconds from now here.

T6889: gpgme: QGpgMEQuickJob creates keys with wrong expiry

Test Plan

Test in combination with https://invent.kde.org/pim/kleopatra/-/merge_requests/84 -> subkeys have correct expiry date

Diff Detail

Repository
rM GPGME
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

TobiasFella created this revision.
This revision is now accepted and ready to land.Jan 4 2024, 11:06 AM