JDK-8225180 : SignedObject with invalid Key not throwing the InvalidKeyException in Windows
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 13
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2019-06-03
  • Updated: 2020-06-09
  • Resolved: 2019-06-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13 JDK 14 JDK 8 Other
11.0.7-oracleFixed 13 b25Fixed 14Fixed 8u251Fixed openjdk8u252Fixed
Related Reports
Relates :  
Description
Couple of tests which are validating the InvalidKeyException started failing from JDK13-b21 with SunMSCAPI provider.

It looks like a regression caused by JDK-8223063
Please find the attached standalone code to reproduce the issue.
This sample test passes on JDK13-b20, but fails on > b21
Comments
Fix request (11u) I would like to downport this for parity with 11.0.7-oracle. Applies clean.
27-12-2019

Verified it by running attached SignedObjectTest.java with JDK13+27.
01-07-2019