gpg: Link to GPGME bug about GPGME_SIGSUM_KEY_REVOKED
This commit is contained in:
parent
9b8bad3c2e
commit
f9e95e2cd3
|
|
@ -97,7 +97,10 @@ signing_key_is_revoked (gpgme_signature_t signature)
|
||||||
* bit on a revoked signing key but rather GPGME_SIGSUM_SYS_ERROR and the
|
* bit on a revoked signing key but rather GPGME_SIGSUM_SYS_ERROR and the
|
||||||
* status field shows GPG_ERR_CERT_REVOKED. Turns out GPGME is expecting
|
* status field shows GPG_ERR_CERT_REVOKED. Turns out GPGME is expecting
|
||||||
* GPG_ERR_CERT_REVOKED in the validity_reason field which would then set
|
* GPG_ERR_CERT_REVOKED in the validity_reason field which would then set
|
||||||
* the summary bit. Unsure if this is a bug, but best check for both. */
|
* the summary bit.
|
||||||
|
*
|
||||||
|
* Reported to GPGME: https://bugs.g10code.com/gnupg/issue1929
|
||||||
|
*/
|
||||||
|
|
||||||
return (signature->summary & GPGME_SIGSUM_KEY_REVOKED) ||
|
return (signature->summary & GPGME_SIGSUM_KEY_REVOKED) ||
|
||||||
((signature->summary & GPGME_SIGSUM_SYS_ERROR) &&
|
((signature->summary & GPGME_SIGSUM_SYS_ERROR) &&
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue