RFR: 8355779: When no "signature_algorithms_cert" extension is present we do not apply certificate scope constraints to algorithms in "signature_algorithms" extension [v2]

Sean Mullan mullan at openjdk.org
Wed Apr 30 13:34:48 UTC 2025


On Mon, 28 Apr 2025 22:34:24 GMT, Artur Barashev <abarashev at openjdk.org> wrote:

>> Per TLSv1.3 RFC:
>> 
>> 
>>    If no "signature_algorithms_cert" extension is
>>    present, then the "signature_algorithms" extension also applies to
>>    signatures appearing in certificates.
>> 
>> 
>> When no "signature_algorithms_cert" extension is present in ClientHello we simply copy "signature_algorithms" extension algorithms already filtered with HANDSHAKE_SCOPE to `peerRequestedCertSignSchemes`. Instead we should filter "signature_algorithms" extension algorithms with CERTIFICATE_SCOPE as certain algorithms are allowed to be used in certificate signatures but not in handshake signatures.
>
> Artur Barashev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Take "signature_algorithms_cert" extension as parameter

Marked as reviewed by mullan (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/24939#pullrequestreview-2807071620


More information about the security-dev mailing list