RFR[11] JDK-8205720 "KeyFactory#getKeySpec and translateKey thorws NullPointerException with Invalid key"
Valerie Peng
valerie.peng at oracle.com
Fri Jun 29 18:30:44 UTC 2018
Xuelei,
Can you please help reviewing this fix for JCK test failures?
Essentially, the JCK tests use key created with null algorithm,
encoding, and format for triggering InvalidKeyException. However, the
SunRsaSign provider code throw NPE so test failures are observed. Null
checks are added to various places to detect and check
InvalidKeyException instead. Fixes have been verified against the failed
JCK tests.
Bug: https://bugs.openjdk.java.net/browse/JDK-8205720
Webrev: http://cr.openjdk.java.net/~valeriep/8205720/webrev.00/
Thanks,
Valerie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20180629/2ac634a1/attachment.htm>
More information about the security-dev
mailing list