CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/11/09 01:03:01

Modified files:
        lib/libssl     : ssl_local.h ssl_rsa.c ssl_seclevel.c 

Log message:
libssl: stop inspecting cert signatures for seclevel

As pointed out by dadrian to OpenSSL in #31195, it makes no sense
to inspect our certificate's signatures. Our stack may not even
know the algorithms our CA used (think some PQ CA, for example).

What matters to us is that we don't use a key that is too weak,
so keep the check for that.

We do not currently inspect the peer's cert for strength either.
That may be an omission/bug.

On side effect of this removal is that we do no longer ensure that
a RSA-PSS cert has a salt length matching the hash length. That's
not really part of security, and if we care to restore this for
reasons of compliance, we should think about where to put it in
a way that throws a better error than 'ca md too weak'

Prompted by a report by semarie.

ok beck

Reply via email to