Page MenuHome GnuPG

GPGME_SIGSUM_KEY_REVOKED not set on revoked key
Closed, ResolvedPublic

Description

parse_new_sig() handles a revoked key by setting sig->status to
GPG_ERR_CERT_REVOKED, but then later calc_sig_summary() expects that code in
sig->validity_reason.

Reproducer program attached.

Details

Version
1.6.0-beta5

Event Timeline

mbarnes added projects: Bug Report, gpgme.
mbarnes added a subscriber: mbarnes.

Patch attached. I left the previous behavior intact in case it's needed for
backward-compat.

Thanks. Fixed in 1.5.5 (and als in master of course).

werner claimed this task.
werner removed a project: Restricted Project.