RFR: 8358159: Empty mode/padding in cipher transformations.
Sean Mullan
mullan at openjdk.org
Fri May 30 12:43:50 UTC 2025
On Fri, 30 May 2025 12:06:21 GMT, Varada M <varadam at openjdk.org> wrote:
> Omitting the mode/padding in a transformation string eg: "AES/ /NoPadding" throws NoSuchAlgorithmException.
> This patch restores the behavior by ensuring that empty mode or padding strings are interpreted as null.
>
> Testing done for : tier1 - fastdebug level (AIX)
>
> JBS: [JDK-8358159](https://bugs.openjdk.org/browse/JDK-8358159)
I think this should have a regression test for this change. Also, you indicated this patch restores the behavior - do you know what release this last worked in and what issue caused it to stop working?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25547#issuecomment-2922293706
More information about the security-dev
mailing list