summaryrefslogtreecommitdiffstats
path: root/util/process_docs.pl
diff options
context:
space:
mode:
authorKen Goldman <kgoldman@us.ibm.com>2018-12-14 15:04:04 -0500
committerViktor Dukhovni <openssl-users@dukhovni.org>2018-12-20 02:55:12 -0500
commitbaba1545105131fa34068f62928322e99d695ab1 (patch)
treef15af068c97525e33f55971ae621eb74b8bba623 /util/process_docs.pl
parent6f8b858d054c4eb1112531e39da9ceb5fa37e5f1 (diff)
Admit unknown pkey types at security level 0
The check_key_level() function currently fails when the public key cannot be extracted from the certificate because its algorithm is not supported. However, the public key is not needed for the last certificate in the chain. This change moves the check for level 0 before the check for a non-NULL public key. For background, this is the TPM 1.2 endorsement key certificate. I.e., this is a real application with millions of certificates issued. The key is an RSA-2048 key. The TCG (for a while) specified Public Key Algorithm: rsaesOaep rather than the commonly used Public Key Algorithm: rsaEncryption because the key is an encryption key rather than a signing key. The X509 certificate parser fails to get the public key. Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7906)
Diffstat (limited to 'util/process_docs.pl')
0 files changed, 0 insertions, 0 deletions