]> git.ipfire.org Git - thirdparty/openssl.git/commit
Refactor sigalg handling
authorViktor Dukhovni <openssl-users@dukhovni.org>
Wed, 5 Mar 2025 19:02:28 +0000 (06:02 +1100)
committerAlexandr Nedvedicky <sashan@openssl.org>
Sun, 9 Mar 2025 22:19:37 +0000 (23:19 +0100)
commitbcff020c36d7eecf00869261c17278bd9c54f48e
treed33f9f9c10dc0da3d123669f263d962c71bd25fd
parent9a308a89a4f43ccfdcd9923e8951081a404b5fdc
Refactor sigalg handling

- The default sigalg list now puts ML-DSA-65 first, then ML-DSA-87
  and then ML-DSA-44.  (87 vs. 44 Subject to bikeshedding).

- The mintls and maxtls versions are now taken into account for
  both built-in and provided algorithms.

- Some algorithms have a separate TLSv1.2-specific name for future
  reporting via openssl-list(1).

- ML-DSA aside, any new provided algorithms go at the end of the
  default list (backwards-compatible inclusion).

- The built-in algorithms now also have min/max DTLS versions.
  Though the provider TLS-SIGALG capability was extended to also report
  the DTLS version range, the minimum supported DTLS is 1.3, which we
  don't yet have, so it is not yet possible to add DTLS sigalgs via a
  provider

- The TLS 1.3 brainpool sigalgs got their correct IANA names, with
  the legacy names as purported TLS 1.2 alternatives, but since
  these are for TLS 1.3 and up those names are for matching only,
  the reported value will still be the 1.3 name.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26975)
.github/workflows/ci.yml
doc/man7/provider-base.pod
providers/common/capabilities.c
ssl/ssl_local.h
ssl/t1_lib.c
test/recipes/75-test_quicapi_data/ssltraceref-zlib.txt
test/recipes/75-test_quicapi_data/ssltraceref.txt
test/recipes/95-test_external_tlsfuzzer_data/cert.json.in
util/perl/OpenSSL/paramnames.pm