Add java28-features module: the JDK 28 JEP list so far, one example per JEP on 28-ea+26, behaviour changes against JDK 27
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
c0062ea398
commit
d4b8552957
@@ -0,0 +1,27 @@
|
||||
$ JDK 27: keytool -genkeypair -storetype PKCS12 ... ; openssl pkcs12 -info -noout
|
||||
OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)
|
||||
MAC: sha256, Iteration 10000
|
||||
MAC length: 32, salt length: 20
|
||||
|
||||
$ JDK 28: keytool -genkeypair -storetype PKCS12 ... ; openssl pkcs12 -info -noout
|
||||
OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)
|
||||
MAC: PBMAC1, Iteration 1
|
||||
MAC length: 32, salt length: 8
|
||||
Mac verify error: invalid password?
|
||||
error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:386:Global default library context, Algorithm (PBMAC1 : 0), Properties (<null>)
|
||||
error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:386:Global default library context, Algorithm (PBMAC1 : 0), Properties (<null>)
|
||||
|
||||
$ JDK 27 keytool reading the JDK 28 keystore
|
||||
Keystore type: PKCS12
|
||||
demo, Dec 3, 2026, PrivateKeyEntry,
|
||||
|
||||
$ older keytool reading the JDK 28 keystore: openjdk version "25.0.5.1" 2026-11-17 LTS
|
||||
Keystore type: PKCS12
|
||||
demo, Dec 3, 2026, PrivateKeyEntry,
|
||||
|
||||
$ older keytool reading the JDK 28 keystore: openjdk version "21.0.13.1" 2026-11-17
|
||||
keytool error: java.io.IOException: Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBE1.2.840.113549.1.5.14 not available
|
||||
|
||||
$ JDK 28: keytool -J-Dkeystore.pkcs12.macAlgorithm=HmacPBESHA256 -genkeypair ... ; openssl pkcs12 -info -noout
|
||||
MAC: sha256, Iteration 10000
|
||||
MAC length: 32, salt length: 20
|
||||
Reference in New Issue
Block a user