Which Java versions can verify post-quantum JAR signatures
The first checked source to document ML-DSA signing for JARs is Oracle's JDK 26 jarsigner man page. The JDK 24 page lists only DSA, RSA, RSASSA-PSS, EC and EdDSA in its supported algorithms table and does not mention ML-DSA or post-quantum cryptography. Java teams should treat this as the starting point for their compatibility question: an ML-DSA signature only has meaning to a verifier that understands the algorithm. Teams whose JARs are checked by older JDKs, by build tools that embed an older JDK, or by third-party verifiers should confirm which of those components can process an ML-DSA signature before any signed artifact moves to them. The sources checked are dated 2026-12-04, and the sources listed on this page do not say whether later releases or patches change the picture, so confirm the current state with Oracle and with each tool vendor before relying on it.
This page covers compatibility, not a product upgrade. It does not tell you to change a JDK, a build plugin or a verifier. Its purpose is to build a list of every place a JAR is verified, including application servers, deployment pipelines, plugin loaders and customer-side tools, and to record the JDK version and vendor build each one runs. For each entry, check whether the verifier's JDK is 26 or later, whether the jdk.jar.disabledAlgorithms and jdk.security.legacyAlgorithms properties in its java.security file treat the algorithm as usable, and whether the tool's documentation says anything about ML-DSA. The checked java.security file lists disabled and legacy algorithms for the JDK source it reflects, and those lists are not the same thing as ML-DSA support, so a verifier can reject a signature for reasons unrelated to post-quantum readiness. Record the result for each verifier separately.
Signature algorithms and verification behavior by JDK version and tool
This table compares what jarsigner in JDK 24 and JDK 26 supports for signing and verification, including the ML-DSA entry in JDK 26, default algorithm rules, and the disabled and legacy algorithm settings. Each row names its source page and date so you can confirm behavior in your own JDK build. Neither the JDK 26 man page nor the JAR File Specification states ML-DSA parameter sets or key sizes, so confirm those with Oracle before relying on them.
| Item | JDK 24 jarsigner | JDK 26 jarsigner |
|---|---|---|
| Supported key algorithms | DSA, RSA, RSASSA-PSS, EC and EdDSA | DSA, RSA, RSASSA-PSS, EC, EdDSA and ML-DSA |
| ML-DSA entry | Not listed; the page does not mention ML-DSA or post-quantum cryptography | Listed with default signature algorithm ML-DSA and block file extension .DSA |
| Block file extension for ML-DSA | Not applicable | .DSA, as listed on the JDK 26 man page; the JAR File Specification does not mention ML-DSA |
| Default signature algorithm rules | Set by key algorithm and size: DSA uses SHA256withDSA; RSA uses SHA256withRSA, SHA384withRSA or SHA512withRSA by size | Same rules as JDK 24 for the listed algorithms; the page gives ML-DSA default as ML-DSA with no parameter sets stated |
| jdk.jar.disabledAlgorithms behavior | A JAR signed with a disabled algorithm is treated as unsigned | Same behavior stated on the JDK 26 man page |
| jdk.security.legacyAlgorithms behavior | A JAR signed with a legacy algorithm is treated as signed with an informational warning | Same behavior stated on the JDK 26 man page |
| Source date for row | JDK 24 jarsigner man page, as read on 2026-12-04 | JDK 26 jarsigner man page and JDK 26 migration guide, as read on 2026-12-04 |
Which parts of a Java build and verification chain touch ML-DSA signatures
A JAR signature is produced and checked by several parts working together: the signing tool, the signature file format, the verifier's security properties, the certificate and timestamp chain, and the disabled-algorithm rules. Each one decides whether an ML-DSA signed JAR can be read by an older verifier, so check them together when testing applications across Java versions and tools.
The jarsigner signing step
The jarsigner tool in the JDK signs JAR files and verifies their signatures, and it depends on the keystore managed by keytool. Oracle's JDK 26 page lists an ML-DSA key algorithm with default signature algorithm ML-DSA, and it says the signature algorithm must match the private key. Older JDK releases do not list ML-DSA at all, so a JAR signed with an ML-DSA key on JDK 26 cannot be produced by a JDK 24 signer. Confirm which JDK builds your release pipeline uses before generating keys.
The .SF and block file format
Each signer produces a .SF signature file with digests and a PKCS #7 block file. The block file extension depends on the key algorithm, and the JDK 26 page gives .DSA for ML-DSA, the same extension used for DSA and other key algorithms. Verifiers that only recognize the extensions they were built with may treat the signer as unknown. Test an ML-DSA signed JAR with each verifier you rely on, and confirm that the JAR File Specification your verifier follows covers ML-DSA, since the JDK 26 page checked does not mention it.
The java.security verification properties
The java.security file sets the algorithms and key sizes a JDK accepts. Newly created ML-KEM and ML-DSA private keys use PKCS #8 seed encoding by default, with expandedKey and both as other valid values, and these properties apply to the SunJCE and SUN providers and may not be supported by other implementations. A verifier with a different provider or an older java.security file may fail to parse an ML-DSA key. Compare the file in each runtime against the one in your build image.
Certificate and timestamp handling
The signer certificate chain and the optional timestamp depend on public-key algorithms, while the digests of manifest entries and the TSA message imprint use hash algorithms. The -digestalg and -tsadigestalg options default to SHA-384, and -tsa or -tsacert set the Time Stamping Authority. A timestamp lets verifiers accept a JAR after its signing certificate expires, but only if the TSA and its certificate also work with ML-DSA. Confirm the TSA's own signing algorithm with its operator before relying on timestamps.
The disabled-algorithm rule
The jdk.jar.disabledAlgorithms property treats a JAR signed with a disabled algorithm as unsigned. The OpenJDK java.security file read on 2026-12-04 lists MD2, MD5, RSA and DSA keys under 1024 bits, and SHA1 after 2019-01-01, and it does not list ML-DSA. Whether ML-DSA is ever added to this list, or whether a verifier outside the JDK applies a similar rule, is something to confirm in each verifier's configuration. Treat a JAR that a verifier reports as unsigned as a compatibility failure, not as a bad signature.
How compatibility differs for JDK 26 producers, older verifiers and third-party tools
Oracle's JDK 26 documentation is the only source here that lists ML-DSA among the key algorithms for jarsigner, and the JDK 26 migration guide lists Signed JAR Support for ML-DSA under Security Updates, linking to release note JDK-8349732. The sources give no further text on defaults, so a team that signs and verifies on JDK 26 can confirm only that the tool documents ML-DSA. The JAR File Specification for JDK 26 does not mention ML-DSA and mandates no algorithm, so the page does not show how a verifier should handle an ML-DSA block file.
- Documented key algorithm: The JDK 26
jarsignerman page lists ML-DSA as a key algorithm with default signature algorithm ML-DSA and block file extension.DSA. - Shared naming rule: EdDSA and ML-DSA use the same name for the key and signature algorithm, and the parameter set is the same as that of the key.
- No documented parameter sets: The page states no ML-DSA parameter sets or key sizes, so record the exact parameter set your key uses.
- No SLH-DSA signing: The page documents no SLH-DSA signing for JARs.
- Keystore defaults: The
java.securityfile read on 2026-12-04 sets newly created ML-DSA private keys to PKCS #8 seed encoding, withexpandedKeyandbothas other valid values. These properties apply to the SunJCE and SUN providers and may not be supported by other implementations.
Test a round trip on JDK 26: sign a JAR with an ML-DSA key, then verify it with the same JDK and with jarsigner -verify -verbose -certs to confirm the block file and signer chain.
The JDK 24 jarsigner man page lists only DSA, RSA, RSASSA-PSS, EC and EdDSA in its supported algorithms table and does not mention ML-DSA or post-quantum cryptography. The sources do not say how JDK 24 or earlier handles a JAR whose signer uses ML-DSA, so a verifier on those releases should be tested directly rather than assumed to reject or accept the signature.
- Algorithm table gap: The JDK 24 man page omits ML-DSA, so it does not document its verification.
- Disabled and legacy rules: Under
jdk.jar.disabledAlgorithms, a JAR signed with a disabled algorithm is treated as unsigned, and underjdk.security.legacyAlgorithmsit is treated as signed with an informational warning. Confirm the effective values in thejava.securityfile of each verifier, because the sources record only the file read on 2026-12-04. - Certificate rules: The
jdk.certpath.disabledAlgorithmsentry for SHA1 withusage SignedJARapplies to the certificates that sign JARs, so check the signer chain as well as the signature. - Block file format: The JAR File Specification says the block file extension depends on the key family (
.RSA,.ECor.DSA). Check which extension your ML-DSA signature uses and whether older verifiers read it. - Default key sizes: The JDK 26
keytoolpage says defaults are periodically raised in new JDK releases, so verifiers and producers may differ on key sizes.
Test each verifier release in use with a JAR signed on JDK 26, and record whether it verifies, warns or rejects the signature.
The sources cover only Oracle's jarsigner, keytool, the Java SE 26 security overview, the JAR File Specification and the OpenJDK java.security file. They do not cover Maven, Gradle, Ant, signing plugins, Android tooling, or verifiers written by other vendors. For those tools, the sources confirm nothing about ML-DSA support, so each team must confirm the behavior with the tool's own documentation and tests.
- Build plugins: Confirm whether the signing plugin calls
jarsigneror thejdk.security.jarsignerAPI, and which JDK it uses at build time. - Third-party verifiers: The sources do not say how other verifiers parse a
.DSAblock file that carries ML-DSA. Test them directly. - Timestamps: The Java SE 26 security overview says a timestamp lets verifiers accept a JAR signed while the certificate was valid, even if it has since expired. Confirm that the timestamp authority and the verifier both handle your chosen digest and signature algorithms.
- Digest choices:
jarsignerdefaults to SHA-384 for-digestalgand-tsadigestalg. Confirm the same defaults in any wrapper tool. - Provider settings: A build tool may select a PKCS11 token or another provider through
-providerNameor-addprovider, which can change the key algorithms available.
Before relying on any tool, record its name, version and JDK, then run the same signed JAR through it and through jarsigner on JDK 26 and on JDK 24 or earlier.
Where a JAR signature passes through signing and verification
The path starts when jarsigner signs a JAR with an ML-DSA private key from a keystore, which writes the manifest digests into a .SF file and a PKCS #7 signature block into a .DSA file, since the JAR File Specification assigns that extension to any key algorithm other than RSA, RSASSA-PSS, EC or EdDSA. The signed JAR then goes to a verifier on JDK 26 or an older JDK. The important check is the jdk.jar.disabledAlgorithms property: a JAR signed with a disabled algorithm is treated as unsigned, so each verifier's java.security file and its support for ML-DSA should be confirmed before relying on these signatures. The sources listed on this page do not say how older JDKs treat an ML-DSA signature block, so test that directly.
Compatibility path for an ML-DSA signed JAR, not a deployment architecture.
How to test your JAR signatures across Java versions
This sequence shows whether a JAR signed with an ML-DSA key on JDK 26 verifies on the older JDKs and third-party verifiers your applications depend on. It produces a dated, per-verifier record of pass or fail and the java.security settings that explain each result, which is the evidence needed before deciding how to sign production JARs.
Inventory the JDKs and build tools in use
Release engineering or the Java platform team lists every JDK version that runs or builds your applications, along with the build tools that invoke jarsigner or the jdk.security.jarsigner API, such as Maven, Gradle and Ant plugins, and any internal signing service. Record the vendor distribution and exact patch release of each JDK, since the java.security file can differ between builds. The step is complete when every JDK and verifier that touches a signed JAR appears on one list, with an owner for each entry.
Generate a test key on JDK 26
On a JDK 26 host, the team generates an ML-DSA key pair in a test keystore with keytool, using a dummy certificate subject that is clearly marked as a test. The JDK 26 jarsigner man page documents ML-DSA as a key algorithm, but it does not list parameter sets or key sizes for ML-DSA, so record the exact key algorithm name and any parameter set keytool reports rather than assuming one. The step is complete when keytool lists the test alias with the ML-DSA key algorithm and the team has saved the keytool output alongside the keystore.
Sign a sample JAR with an ML-DSA algorithm
Using jarsigner from JDK 26, the team signs a small sample JAR with the test key and sets -sigalg to the ML-DSA signature algorithm of the same name as the key, because the JDK 26 page says the signature algorithm must match the key algorithm. The team also records the -digestalg value in use, which defaults to SHA-384 if not set. The step is complete when jarsigner exits without error and the output JAR contains a signature block with the expected .DSA extension for an ML-DSA key, which the JDK 26 page lists.
Verify the signed JAR with each older JDK
The same signed sample JAR is copied to hosts running each older JDK in the inventory, and jarsigner -verify -verbose -certs is run on each. Note whether the JDK reports the JAR as verified, treats it as unsigned, or flags an algorithm as legacy or disabled, since the JDK 26 page says a disabled algorithm causes a JAR to be treated as unsigned. Older JDKs may not recognize ML-DSA at all, so treat an unrecognized-algorithm error as a result to record, not a setup problem. The step is complete when each JDK has a verification outcome and its full output saved.
Verify the signed JAR with each third-party verifier
Each third-party tool or library that verifies JAR signatures in your environment, such as a security scanner, artifact repository or deployment tool, is run against the same sample JAR. The team checks whether the verifier supports ML-DSA signature blocks at all, since the JAR File Specification says no signature algorithm is mandated and the sources checked do not mention ML-DSA. Record the vendor name, the tool version and the result for each. The step is complete when every third-party verifier on the inventory has a recorded outcome, including any that refuse to process the JAR.
Check the java.security file on each verifier
On each JDK host that produced a result, the team reads the java.security file and records the values of jdk.jar.disabledAlgorithms, jdk.security.legacyAlgorithms, jdk.certpath.disabledAlgorithms and keystore.type. These settings explain why a JAR may be treated as unsigned or flagged with a warning. Compare the values against the defaults in the OpenJDK repository, and note that the file read in the sources was taken on 2026-12-04 and may differ in your builds. The step is complete when each verifier's relevant settings are recorded next to its result.
Record each result in one compatibility table
The team combines the JDK inventory, the signing record, each verification outcome, the third-party results and the java.security values into one table with a row per verifier and columns for version, date, outcome and the controlling setting. Any row that shows a failure, a warning or an unrecognized algorithm is flagged for review with the owning application team. The table, dated and signed off by the platform lead, is the artifact that feeds any later decision on signing production JARs. The step is complete when every row has a result and an owner, and the table is stored with the test keystore and sample JAR.
What the sources do not confirm about ML-DSA JAR signing and older verifiers
The Oracle pages checked document ML-DSA as a key and signature algorithm in JDK 26 but leave several questions open. The cards below list what the sources do not say, and what to ask Oracle or the tool vendor before relying on ML-DSA signed JARs in production.
ML-DSA parameter sets and key sizes
The JDK 26 jarsigner man page lists ML-DSA with default signature algorithm ML-DSA and block file extension .DSA, but it states no parameter sets and no key sizes for ML-DSA. Since the signature algorithm must match the parameter set of the key, the parameter set in use determines the signature and certificate sizes your JARs carry. Ask Oracle which ML-DSA parameter sets the jarsigner and keytool defaults use, which sizes are supported, and whether a default key size will change in later releases.
jarsigner JDK 26 man pageVerification on JDK 24 and earlier
The JDK 24 jarsigner man page lists only DSA, RSA, RSASSA-PSS, EC and EdDSA and does not mention ML-DSA. The sources checked do not say whether a JDK 24 or earlier verifier accepts a JAR signed with ML-DSA, or whether it treats such a JAR as unsigned or as signed with an unknown algorithm. Ask Oracle to confirm verifier behavior on JDK 24 and earlier releases, and test a sample ML-DSA signed JAR on each JDK your applications run on before rollout.
jarsigner JDK 24 man pageThird-party build tool support for .DSA blocks
The JAR File Specification says that a .DSA block file is used for DSA or any other key algorithm. ML-DSA signatures therefore land in a .DSA block, but the sources checked do not say how third-party build tools, such as Maven, Gradle, Ant or other signing plugins, treat that block file or ML-DSA keys. Ask each tool vendor whether it reads, writes and preserves .DSA blocks produced with ML-DSA keys, and whether it can verify them.
JAR File Specification JDK 26ML-DSA default behavior in the migration guide
Oracle's JDK 26 migration guide lists Signed JAR Support for ML-DSA under Security Updates and links to release note JDK-8349732, but gives no text on defaults. The sources checked do not say whether jarsigner signs with ML-DSA by default, whether a new key defaults to ML-DSA, or whether any existing signing setup changes on upgrade. Ask Oracle to state the default ML-DSA behavior in the migration guide and the release note, and check your build scripts for any implicit algorithm choice.
JDK 26 migration guideSLH-DSA signing for JARs
The JDK 26 jarsigner man page mentions no SLH-DSA, so Oracle's page documents no SLH-DSA signing for JARs. The sources checked do not say whether a future JDK will add SLH-DSA as a JAR signing algorithm. Ask Oracle whether SLH-DSA is planned for jarsigner and the jdk.security.jarsigner API, and which release would carry it, before designing signing workflows that assume a second post-quantum option.
jarsigner JDK 26 man pageWhat breaks when a verifier does not recognize an ML-DSA JAR signature
The main risk with ML-DSA signed JARs is that a verifier which does not recognize the algorithm may fail the signature check outright. The JAR File Specification for Java SE 26 says each signer has a .SF signature file and a PKCS #7 block file, and it does not mandate any digest or signature algorithm. The JDK 26 jarsigner man page lists ML-DSA as a key algorithm with a .DSA block file extension, which means a verifier that predates this support may not parse the ML-DSA signature block or may reject the signature. The sources listed on this page do not say how older verifiers from other vendors behave, so teams should test signed JARs against each verifier they rely on rather than assume a pass.
A second risk comes from the jdk.jar.disabledAlgorithms property. The jarsigner man page says a JAR signed with a disabled algorithm is treated as unsigned, and the java.security file read on 2026-12-04 lists MD2, MD5, small RSA and DSA keys, and SHA1 with a denyAfter date of 2019-01-01 in that property. Any environment that copies a hardened java.security file, or sets this property in a policy, must confirm that ML-DSA is not caught by its entries and that the verifier does not silently drop the signature to unsigned status. Because jdk.security.legacyAlgorithms treats a legacy signature only with an informational warning, teams should also check whether their logs and alerting pick up these warnings.
Settings that depend on other providers add a third risk. The java.security file read on 2026-12-04 says that newly created ML-KEM and ML-DSA private keys use PKCS #8 seed encoding by default, with expandedKey and both as other valid values, and that these properties apply to the SunJCE and SUN providers and may not be supported by other implementations. A key generated under one provider and read by another may therefore fail to load. Before rollout, confirm which provider generates, stores and verifies each ML-DSA key, and test the key format with every provider in the signing and verification chain.
Common questions about Java versions and ML-DSA JAR signatures
Is JDK 26 the minimum version for ML-DSA JAR signing?
Based on the sources checked, JDK 26 is the first release whose jarsigner documentation lists ML-DSA as a signing algorithm. The JDK 24 jarsigner man page lists only DSA, RSA, RSASSA-PSS, EC and EdDSA and does not mention ML-DSA. Oracle's JDK 26 migration guide lists Signed JAR Support for ML-DSA under Security Updates, linking to release note JDK-8349732, but gives no further detail on defaults. The sources do not say whether an earlier update or backport supports it, so confirm the exact build with Oracle before you rely on that version boundary.
Does JAR signing with ML-DSA make my application quantum safe?
No. Signing with ML-DSA does not by itself make a JAR quantum safe, and the page does not make that claim. The JDK 26 jarsigner man page documents an ML-DSA key algorithm with default signature algorithm ML-DSA and block file extension .DSA, but it states no parameter sets or key sizes for ML-DSA. The JAR signature covers only the signing step. Your build pipeline, the keys that protect the signing material, the certificate chain and any timestamp authority each carry their own cryptography, and those need separate review.
Does ML-DSA JAR signing add cost, and what drives it?
The sources checked do not state any extra cost for ML-DSA JAR signing, and they give no fee, licence or effort figures for it. Cost usually depends on what your team changes: upgrading to the JDK release that supports ML-DSA, regenerating signing keys and certificates, updating build and release tooling, and retesting the applications you ship. Those items are largely one-time, while ongoing costs come from maintaining the new toolchain. Ask Oracle, your build tool vendor and your certificate provider whether any licence or support terms change, and request an itemised quote from any services firm you engage.
What breaks when older verifiers meet an ML-DSA signed JAR?
A verifier that does not recognise ML-DSA will not be able to validate the signature. The jarsigner documentation says a JAR signed with a disabled algorithm is treated as unsigned, and a JAR signed with a legacy algorithm is treated as signed with an informational warning. The sources checked do not say how JDK versions before 26, or third-party verifiers, handle the ML-DSA block file, so test each one. Include JDK 8, 11, 17 and 21 runtimes, Android and any application servers, plus the build and scanning tools in your release path. Keep a classically signed copy of each artifact until every consumer has been confirmed to verify the new form.
What should I ask Oracle about ML-DSA JAR signing?
Ask Oracle for a written statement on several points that the sources checked leave open. Request the exact JDK update in which ML-DSA signing first appears, and whether it is available in every JDK distribution you use. Ask which ML-DSA parameter sets are supported and what key sizes apply, since the man page states none. Ask how the jdk.jar.disabledAlgorithms and jdk.security.legacyAlgorithms properties treat ML-DSA signatures, and whether hybrid or dual signing is planned. Also ask for the release notes behind JDK-8349732 and for the vendor's deprecation timeline for classical JAR signing algorithms.
Can my team test ML-DSA JAR compatibility ourselves, or do we need outside help?
Your team can run the core compatibility tests itself if it has access to the target JDK builds, the verifiers you depend on and a test corpus of signed JARs. The steps are to generate an ML-DSA key, sign a sample JAR with jarsigner, then verify it on each runtime and tool in your path. If your applications, build chain or verifier inventory is large or unclear, outside help can speed up scoping. DeployOpen plans and scopes this kind of work in fixed-scope engagements, with scope, deliverables and timelines agreed in writing before work starts, as described in the how-we-work section. DeployOpen does not issue audit reports or certifications.
Which Java signing settings should I check before testing ML-DSA?
Before testing, check the settings that control which signatures verify. In jarsigner, -sigalg overrides the default algorithm, and the algorithm must match the private key. -digestalg defaults to SHA-384, and -tsa or -tsacert control timestamping. The keystore type defaults to pkcs12. In the java.security file, check jdk.jar.disabledAlgorithms and jdk.security.legacyAlgorithms, since the openjdk file read on 2026-12-04 lists SHA1 and RSA or DSA keys under 2048 bits as legacy. The sources do not confirm how these settings interact with ML-DSA, so record each value in your inventory and compare it on the target JDK.
Does ML-DSA affect TLS key exchange in the same JDK release?
The sources checked separate TLS key exchange from JAR signing. The Inside.java article on JEP 527 describes hybrid post-quantum key exchange for TLS 1.3, which it says is integrated into JDK 27 and enables X25519MLKEM768 by default. That article does not mention ML-DSA or JAR signing. So a TLS change in a later JDK does not confirm JAR signing support, and JAR signing support does not confirm TLS support. Treat the two as separate workstreams, and confirm each one against the release you deploy.
How DeployOpen helps test Java JAR signing across your applications
DeployOpen approaches Java JAR signing compatibility by first inventorying which JDK versions, build tools and verifiers touch your signed JARs, then testing how each one handles the signing algorithms in use. The work is scoped in writing before it starts, and the results are documented so your team can repeat the tests as the JDK changes.
How we scope
- We list the JDK versions, build tools and verifiers that sign or check your JARs in each application.
- We record which signing algorithms, digest algorithms and keystore types each application uses today.
- We agree the scope in writing, including which applications and JDK versions are covered, before testing begins.
How we build
- We build a test matrix pairing each signing algorithm with each JDK version and verifier in scope.
- We check how jarsigner treats disabled and legacy algorithms under jdk.jar.disabledAlgorithms and jdk.security.legacyAlgorithms.
- We test whether verifiers accept timestamped signatures and whether ML-DSA signed JARs load in each tool.
How we hand over
- We document each test case, the JDK and tool versions tested, and the observed result for each combination.
- We list the settings that differ between JDK versions, such as default key sizes and default signature algorithms.
- We deliver the matrix and scripts so your team can rerun the tests after a JDK or build tool upgrade.
How we support
- Ongoing support and continuous testing are available as a retainer, covering new JDK releases as they ship.
- We can retest affected applications after you change keystore, algorithm or timestamp settings.
- Confirm with Oracle and your build tool vendors which ML-DSA signing behavior is documented for your exact JDK version.

