[krbdev.mit.edu #8984] git commit

"Greg Hudson via RT" <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
<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]

(cherry picked from commit 13ae08e70a05768d4f65978ce1a8d4e16fec0d35)

https://github.com/krb5/krb5/commit/2a3a4088ecafea68d0a91a48c4abc3c11cdf59d8
Author: Ken Hornstein <[email protected]>
Committer: Greg Hudson <[email protected]>
Commit: 2a3a4088ecafea68d0a91a48c4abc3c11cdf59d8
Branch: krb5-1.19
 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(-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.