mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-28 12:34:31 +00:00
Ignore KEYEXPIRED which will be thrown for any expired subkey regardless of being related to the current operation. Instead, use EXPKEYSIG, REVKEYSIG, EXPSIG and INV_RECP accordingly. Add new errors QCA::SecureMessage::{ErrorSignerRevoked, ErrorSignatureExpired, ErrorEncryptRevoked}. Due to GnuPG bug #1650 <https://bugs.g10code.com/gnupg/issue1650> encrypting to an expired or revoked key will omit the reason for failing, resulting in the error code QCA::SecureMessage::ErrorEncryptInvalid. REVIEW: 118567