Skip to content

JDK 27 / post-quantum TLS support - #2567

Open
mattrpav wants to merge 2 commits into
apache:mainfrom
mattrpav:jdk-27-post-quantum-tls
Open

mattrpav wants to merge 2 commits into
apache:mainfrom
mattrpav:jdk-27-post-quantum-tls

Conversation

@mattrpav

@mattrpav mattrpav commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Notes:

  • M-R jar used to isolate supported features to jdk27
  • JDK 27 puts post-quantum algorithms at the front of the list by default
  • JDK 27 required for ML-KEM and other post-quantum algorithm support
  • JDK 27 EOL's legacy keystore types and denies them (hence the unit tests keystore update required)
  • JDK 27 now allows specifying algorithm group names (aka 'NamedGroups'), so all the quantum-ready groups can be added vs having to sift through algorithm names in a list.
  • JMX operations added for the specific values related to post-quantum configuration
public String[] getNamedGroups();
public String[] getSignatureSchemes();
public boolean isRequirePostQuantumKeyExchange();

Note: 27-ea used as identifier until setup-java update for Temurin 27 ga.

@mattrpav mattrpav self-assigned this Sep 14, 2026
@mattrpav mattrpav moved this from Backlog to In review in Apache ActiveMQ v6.5.0 Sep 14, 2026
@cshannon

Copy link
Copy Markdown
Contributor

As discussed on the dev forum, this seems premature. I think this effort should wait until there is support in an LTS version (java 29), i don't think we need to be trying to support cutting edge features on non LTS java versions at this point as its very unlikely users are going to care and there's plenty of other stuff to work on that is more important (in my opinion)

@cshannon

Copy link
Copy Markdown
Contributor

I will also add i'm -1 in general to add anything that requires a non-LTS java version to build. We should stick to only requiring JDK 25 for the full build until 29 comes out.

@mattrpav

mattrpav commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

@cshannon I generally agree that we should not prioritize JDK features— esp preview ones that may or may not make it to stable.

This is different — TLS support for post-quantum algorithms is going to be back-ported all the way back to JDK 8.

JDK 25 support for PQ is next month.

@cshannon

Copy link
Copy Markdown
Contributor

@cshannon I generally agree that we should not prioritize JDK features— esp preview ones that may or may not make it to stable.

This is different — TLS support for post-quantum algorithms is going to be back-ported all the way back to JDK 8.

JDK 25 support for PQ is next month.

If support is added to JDK 25 then that is fine, but we can just wait until that happens before adding this. I'm -1 on bumping the build to require a non-LTS build.

@mattrpav

Copy link
Copy Markdown
Contributor Author

Sounds good. I'll split this to two separate PRs-- one for JDK 27 compile validation and JDK25-based support for PQ.

I have PQ support targeting v6.5.0 which should land around when PQ in JDK 25 comes in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

2 participants