Page MenuHome GnuPG

gpgsm: emit more details when failing to check a crl from a crlDP
Open, WishlistPublic

Description

[...]
Possible improvements:
[...]

  • Show better error than "unknown host", i.e. something like "CRL check failed" or "Certificate validity check failed", but I'm not sure we get better information from gpgsm.

Before encryption the certificates are checked for validity. In case that a certificate has a broken URL as crlDP or the content of the crlDP is invalid gpgsm should provide more details when returning with failure.

Test certificates are provided by:

Maybe those smime certs will do:

  • broken: inaccessible url crlDistributionPoints = URI:http://gnupg.test/crl.pem

  • invalid: invalid content crlDistributionPoints = URI:https://gnupg.com/share/g10code-key.asc

In my tests, both have the same behavior:

  • invalid after opening the details, so the cert can't be chosen for file encryption afterwards
  • if chosen before invalidation, it hangs indefinitely on file encryption (will create another ticket for this)

Event Timeline

pl13 triaged this task as Wishlist priority.Tue, Apr 14, 9:18 AM
pl13 created this task.
pl13 created this object with edit policy "Contributor (Project)".
pl13 moved this task from Backlog to WIP on the vsd34 board.