RFR 8220513: Wrapper Key may get deleted when closing sessions in SunPKCS11 crypto provider

Valerie Peng valerie.peng at oracle.com
Tue Mar 19 22:17:14 UTC 2019


How about another potential problem - wrapper key may never get deleted?
If we don't have a good solution to addressing it, at least add a 
comment about it?
Rest looks fine.

Thanks,

Valerie


On 3/12/2019 3:34 PM, Martin Balao wrote:
> Hi,
>
> I'd like to propose a fix for JDK-8220513 [1]:
>
>   * http://cr.openjdk.java.net/~mbalao/webrevs/8220513/8220513.webrev.00/
>
> Testing:
>
>   * No regressions found in sun/security/pkcs11
>
>   * This bug was exposed by TestTLS12 test, in jdk11u [2]. I'm working in
> re-introducing this test to JDK (after JDK-8217835 deleted it). An issue
> [4] has to be worked out first though. I'll followup on this.
>
> Thanks,
> Martin.-
>
> --
> [1] - https://bugs.openjdk.java.net/browse/JDK-8220513
> [2] -
> http://hg.openjdk.java.net/jdk-updates/jdk11u/file/d17a1764a0f3/test/jdk/sun/security/pkcs11/fips/TestTLS12.java
> [3] - https://bugs.openjdk.java.net/browse/JDK-8217835
> [4] -
> https://mail.openjdk.java.net/pipermail/security-dev/2019-March/019469.html



More information about the security-dev mailing list