Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8203055

sun/security/pkcs11/Signature/ReinitSignature.java failed with "PKCS11Exception: CKR_DEVICE_ERROR"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 11, 14, 15
    • Fix Version/s: tbd
    • Component/s: security-libs
    • Labels:

      Description

      ava.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DEVICE_ERROR
      at jdk.crypto.cryptoki/sun.security.pkcs11.P11Signature.engineSign(P11Signature.java:625)
      at java.base/java.security.Signature$Delegate.engineSign(Signature.java:1233)
      at java.base/java.security.Signature.sign(Signature.java:597)
      at ReinitSignature.main(ReinitSignature.java:378)
      at PKCS11Test.premain(PKCS11Test.java:167)
      at PKCS11Test.testNSS(PKCS11Test.java:536)
      at PKCS11Test.main(PKCS11Test.java:203)
      at PKCS11Test.main(PKCS11Test.java:179)
      at ReinitSignature.main(ReinitSignature.java:345)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      at java.base/java.lang.Thread.run(Thread.java:832)
      Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DEVICE_ERROR
      at jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.C_SignFinal(Native Method)
      at jdk.crypto.cryptoki/sun.security.pkcs11.P11Signature.engineSign(P11Signature.java:583)
      ... 14 more

        Attachments

          Activity

            People

            Assignee:
            rhalade Rajan Halade
            Reporter:
            jjiang John Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: