[jdk11u-dev] RFR: 8349583: Add mechanism to disable signature schemes based on their TLS scope [v2]

Antonio Vieiro avieiro at openjdk.org
Mon Dec 22 12:41:50 UTC 2025


> Backport of [JDK-8349583](https://bugs.openjdk.org/browse/JDK-8349583) from [JDK17](https://github.com/openjdk/jdk17u-dev/commit/fe850da38a3fc0c9ce6cf9348efca3c846e97143), a first step to [disable SHA-1 in TLS/DTLS 1.2 handshake signatures](https://www.java.com/en/configure_crypto.html#DisableSHA1_TLS_DTLS)  to comply with the [Oracle JRE Cryptographic Roadmap](https://www.java.com/en/jre-jdk-cryptoroadmap.html), to be followed with [JDK-8340321](https://bugs.openjdk.org/browse/JDK-8340321).
> 
> Backport is not clean, as there're significant changes from JDK17. 
> 
> To ease review, three additional commits adapt the backport to JDK11, which is missing JDK-8284047 (2nd commit) and JDK-8288209 (3rd commit). Also JDK11 is missing `ByteBuffer.slice(int, int)` (4th commit).
> 
> Tested on Linux with `tier1` tests and with `run-test-jdk_security`:
> 
> 
> ==============================
> Test summary
> ==============================
>    TEST                                              TOTAL  PASS  FAIL ERROR   
>    jtreg:test/jdk:jdk_security                        1365  1365     0     0   
> ==============================
> TEST SUCCESS

Antonio Vieiro has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/3130/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/3130/files/7205569d..7205569d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3130&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3130&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/3130.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/3130/head:pull/3130

PR: https://git.openjdk.org/jdk11u-dev/pull/3130


More information about the jdk-updates-dev mailing list