Hi Werner,

Cc'ing you on this, just in case you are familiar with it.

In the Mutt GPGME code, in get_candidates(), the APPLICATION_PGP section has code to check for revoked/expired/disabled flags:

      while (!(err = gpgme_op_keylist_next (ctx, &key)) )
        {
[...]

          if (key->revoked)
            flags |= KEYFLAG_REVOKED;
          if (key->expired)
            flags |= KEYFLAG_EXPIRED;
          if (key->disabled)
            flags |= KEYFLAG_DISABLED;

However, the APPLICATION_SMIME code in the same function is missing those checks. My theory is that, at the time, the GPGME code didn't support those flags for S/MIME. Do you happen to know if that was the case, and if that has changed?

Thank you!

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to