-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b171
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8181361 | 10 | Sean Mullan | P2 | Resolved | Fixed | b10 |
JDK-8180777 | 9.0.4 | Sean Mullan | P2 | Resolved | Fixed | b01 |
The following new required Cipher algorithms were approved as part of JDK-8015388:
AES/GCM/NoPadding (128)
AES/GCM/PKCS5Padding (128)
"AES/GCM/PKCS5Padding (128)" should be removed from this list. PKCS5Padding is not a valid padding for AES. There is a bug in the JDK in which the SunJCE provider accepts PKCS5Padding as a valid padding, but it should throw a NoSuchAlgorithmException (seeJDK-8180392).
Also, the required algorithms for JDK 9 were accidentally omitted for the Cipher class as part ofJDK-8015388. The following should be added to the implementation requirements of the class summary:
AES/GCM/NoPadding (128)
AES/GCM/NoPadding (128)
AES/GCM/PKCS5Padding (128)
"AES/GCM/PKCS5Padding (128)" should be removed from this list. PKCS5Padding is not a valid padding for AES. There is a bug in the JDK in which the SunJCE provider accepts PKCS5Padding as a valid padding, but it should throw a NoSuchAlgorithmException (see
Also, the required algorithms for JDK 9 were accidentally omitted for the Cipher class as part of
AES/GCM/NoPadding (128)
- backported by
-
JDK-8180777 Update JDK 9 Required Cipher Algorithms
- Resolved
-
JDK-8181361 Update JDK 9 Required Cipher Algorithms
- Resolved
- relates to
-
JDK-8180392 SunJCE provider should throw exceptions for unsupported mode and padding combinations
- Resolved
-
JDK-8015388 Required algorithms for JDK 9
- Resolved