Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.507 (Entity 5.507) From: ghudson@mit.edu Subject: git commit Content-Length: 1094 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. [ghudson@mit.edu: added test case; moved cert probe to process_option_identity(); rewrote commit message] https://github.com/krb5/krb5/commit/13ae08e70a05768d4f65978ce1a8d4e16fec0d35 Author: Ken Hornstein Committer: Greg Hudson 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(-)