[krbdev.mit.edu #8100] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Feb 6 18:11:42 EST 2015


Don't blindly use PKCS11 slot IDs in PKINIT

Passing invalid slot IDs to C_OpenSession can cause some PKCS #11
implementations (such as the Solaris one) to crash.  If a PKINIT
identity specifies a slotid, use it to filter the result of
C_GetSlotList, but don't try it if it does not appear in the list.

(cherry picked from commit ac406bac3d73a7e4efcc74adbb90c722457da969)

https://github.com/krb5/krb5/commit/1bc131a069dfe31d2a78f8c1f84e43027a3da967
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 1bc131a069dfe31d2a78f8c1f84e43027a3da967
Branch: krb5-1.11
 src/plugins/preauth/pkinit/pkinit_crypto_openssl.c |   27 +++++++++----------
 1 files changed, 13 insertions(+), 14 deletions(-)



More information about the krb5-bugs mailing list