[krbdev.mit.edu #8984] git commit
"Greg Hudson via RT" <[email protected]>
| Newsgroups | gmane.comp.encryption.kerberos.bugs |
|---|---|
| Message-ID | <[email protected]> |
Thu Feb 11 13:08:06 2021: Request 8984 was acted upon. Transaction: Ticket created by [email protected] Queue: krb5 Subject: git commit Owner: [email protected] Requestors: Status: new Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8984 > Load certs when checking pkinit_identities values Move the crypto_load_certs() probe from pkinit_identity_initialize() to process_option_identity(). This will attempt to load a certificate for each pkinit_identities value, and if the certificate load fails to move to the next line. For PKCS11, return an error if pkinit_open_session() fails, but do not fail in pkinit_open_session() just because identity prompts are deferred. [[email protected]: added test case; moved cert probe to process_option_identity(); rewrote commit message] https://github.com/krb5/krb5/commit/13ae08e70a05768d4f65978ce1a8d4e16fec0d35 Author: Ken Hornstein <[email protected]> Committer: Greg Hudson <[email protected]> Commit: 13ae08e70a05768d4f65978ce1a8d4e16fec0d35 Branch: master doc/admin/conf_files/krb5_conf.rst | 7 ++-- src/plugins/preauth/pkinit/pkinit_crypto_openssl.c | 10 ++---- src/plugins/preauth/pkinit/pkinit_identity.c | 30 ++++++++++---------- src/tests/t_pkinit.py | 7 ++++ 4 files changed, 29 insertions(+), 25 deletions(-)