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

keytool and jsse-programs hang when using SunPKCS11 provider

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P4 P4
    • None
    • 6
    • security-libs

      FULL PRODUCT VERSION :
      1.6.0_01-b06

      ADDITIONAL OS VERSION INFORMATION :
      Win XP 5.1.2600

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      PKCS11 Library: acospkcs11.dll from ACS
      ACOS5 Smart Cards

      A DESCRIPTION OF THE PROBLEM :
      When using smart card-based keystores with the SunPKCS11 provider, the system hangs and eats up 100% CPU

      This happens from jsse programs and as well when using keytool

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. configure java.security for
      security.provider.X=sun.security.pkcs11.SubPKCS11 <configFile>
      2. insert SmartCard
      3. keytool -list --keystore NONE -storetype PKCS11
      4. enter pin
      -> hangs and 100% CPU forever

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      SmartCardReader flashes
      Certificate Fingerprints get listed
      ACTUAL -
      SmartCardReader flashes
      Nothing happens, 100% CPU Usage forever

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Not needed, use keytool
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      None found

            valeriep Valerie Peng
            ryeung Roger Yeung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: