[krbdev.mit.edu #9069] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Aug 18 19:14:08 EDT 2022


Thu Aug 18 19:14:08 2022: Request 9069 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9069 >



Update error checking for OpenSSL CMS_verify

The code for CMS data verification was initially written for OpenSSL's
PKCS7_verify() function.  It now uses CMS_verify(), but error handling
is still done using PKCS7_verify() error identifiers.  Update the
recognized error codes so that the KDC generates
KDC_ERR_DIGEST_IN_SIGNED_DATA_NOT_ACCEPTED errors when appropriate.
Use ERR_peek_last_error() to observe the error generated closest to
the API surface.

[ghudson at mit.edu: edited commit message]

https://github.com/krb5/krb5/commit/70f61d417261ca17efe3d60d180033bea2da60b0
Author: Julien Rische <jrische at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 70f61d417261ca17efe3d60d180033bea2da60b0
Branch: master
 src/plugins/preauth/pkinit/pkinit_crypto_openssl.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)



More information about the krb5-bugs mailing list