RFR: 8365883: Fix P11Cipher to throw BadPaddingException for PKCS11 CKR_ENCRYPTED_DATA_INVALID error [v4]
Mikhail Yankelevich
myankelevich at openjdk.org
Wed Feb 4 12:06:14 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 comments
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29503/files
- new: https://git.openjdk.org/jdk/pull/29503/files/9a87f1f2..2e33eea5
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29503&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29503&range=02-03
Stats: 7 lines in 1 file changed: 2 ins; 0 del; 5 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