RFR: 8365883: Fix P11Cipher to throw BadPaddingException for PKCS11 CKR_ENCRYPTED_DATA_INVALID error [v2]
Mikhail Yankelevich
myankelevich at openjdk.org
Tue Feb 3 11:10:41 UTC 2026
> Underlying issue: if provider returns `PKCS11Exception: CKR_ENCRYPTED_DATA_INVALID` instead of BadPaddingException - `java.security.ProviderException: doFinal()` is thrown
Mikhail Yankelevich has updated the pull request incrementally with one additional commit since the last revision:
test changes
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29503/files
- new: https://git.openjdk.org/jdk/pull/29503/files/d0971da7..e4baecac
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29503&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29503&range=00-01
Stats: 6 lines in 1 file changed: 4 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/29503.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29503/head:pull/29503
PR: https://git.openjdk.org/jdk/pull/29503
More information about the security-dev
mailing list