-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
21
-
None
-
generic
-
generic
When the specified transformation string contains 3 or more slashes, e.g. AES/GCM//, the existing code in the javax.crypto.Cipher class breaks it into 3 components by lumping all input trailing the 2nd slash as padding scheme.
Instead of passing "/" as the padding scheme which leads to NoSuchPaddingException, the expected behavior is to throw NoSuchAlgorithmException.
Instead of passing "/" as the padding scheme which leads to NoSuchPaddingException, the expected behavior is to throw NoSuchAlgorithmException.
- duplicates
-
JDK-8368984 Extra slashes in Cipher transformation leads to NSPE instead of NSAE
-
- Resolved
-