hg: jdk/jdk: 8220513: Wrapper Key may get deleted when closing sessions in SunPKCS11 crypto provider
mbalao at redhat.com
mbalao at redhat.com
Thu Apr 18 16:25:19 UTC 2019
Changeset: 895a6a380484
Author: mbalao
Date: 2019-04-15 15:52 -0300
URL: http://hg.openjdk.java.net/jdk/jdk/rev/895a6a380484
8220513: Wrapper Key may get deleted when closing sessions in SunPKCS11 crypto provider
Summary: Do not close the session holding the Wrapper Key while in use. Delete the Wrapper Key when no longer needed.
Reviewed-by: valeriep
! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java
! src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_keymgmt.c
More information about the jdk-all-changes
mailing list