0 Replies Latest reply: Aug 26, 2013 9:23 AM by helpcrypto RSS

    SHAME on Oracle: sun.security.pkcs11.ConfigurationException: Unexpected value Token (6 months unfixed and counting!)

    helpcrypto

      Hi.

       

      Last February I reported this bug to Oracle, and today reported it again.

      I havent received any communication from them, neither I'm able to see "bug status" anywhere.

      How many months should we wait to Oracle fix this? I'm sure the workaround isnt so complex to take so long.

       

      Problem:

        PKCS11 parser doesnt accept VALID characters as part of path.

      System:

        Windows 64 bits

      JRE:

        Since 6_10 to current 7_25

       

       

      Java Plugin 10.11.2.21

      Usando versión de JRE 1.7.0_11-b21 Java HotSpot(TM) Client VM

      Directorio raíz del usuario = C:\Users\José Miguel

      ----------------------------------------------------

      c:   borrar ventana de consola

      f:   finalizar objetos en la cola de finalización

      g:   recopilación de basura

      h:   mostrar este mensaje de ayuda

      l:   volcar lista de classloader

      m:   imprimir uso de memoria

      o:   disparar registro

      q:   ocultar consola

      r:   recargar configuración de política

      s:   volcar propiedades del sistema y de despliegue

      t:   volcar lista de threads

      v:   volcar pila de threads

      x:   borrar caché de classloader

      0-5: definir nivel de rastreo en <n>

      ----------------------------------------------------

      Loading certs...

      userAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0

      Path: C:\Program Files (x86)\tmp\mypkcs11.dll

      ago 18, 2013 10:58:03 AM myApplet.Library getCertificatesPKCS11

      WARNING: Security Provider:

      java.security.ProviderException: Error parsing configuration

          at sun.security.pkcs11.Config.getConfig(Config.java:88)

          at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:128)

          at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:107)

          at myApplet.Library.getCertificatesPKCS11(Library.java:344)

          at myApplet.MyDialog$9.run(MyDialog.java:372)

          at java.awt.event.InvocationEvent.dispatch(Unknown Source)

          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

          at java.awt.EventQueue.access$200(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue.dispatchEvent(Unknown Source)

          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.WaitDispatchSupport$2.run(Unknown Source)

          at java.awt.WaitDispatchSupport$4.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.awt.WaitDispatchSupport.enter(Unknown Source)

          at java.awt.Dialog.show(Unknown Source)

          at java.awt.Component.show(Unknown Source)

          at java.awt.Component.setVisible(Unknown Source)

          at java.awt.Window.setVisible(Unknown Source)

          at java.awt.Dialog.setVisible(Unknown Source)

          at myApplet.Library$4.run(Library.java:1543)

          at java.awt.event.InvocationEvent.dispatch(Unknown Source)

          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

          at java.awt.EventQueue.access$200(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue.dispatchEvent(Unknown Source)

          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.run(Unknown Source)

      Caused by: sun.security.pkcs11.ConfigurationException: Unexpected value Token['('], line 2

          at sun.security.pkcs11.Config.excToken(Config.java:367)

          at sun.security.pkcs11.Config.parseLine(Config.java:583)

          at sun.security.pkcs11.Config.parseLibrary(Config.java:647)

          at sun.security.pkcs11.Config.parse(Config.java:390)

          at sun.security.pkcs11.Config.<init>(Config.java:216)

          at sun.security.pkcs11.Config.getConfig(Config.java:84)

          ... 41 more

         

      Path: C:\Users\José Miguel\Desktop\mypkcs11.dll

      ago 18, 2013 10:58:03 AM myApplet.Library getCertificatesPKCS11

      WARNING: Security Provider:

      java.security.ProviderException: Error parsing configuration

          at sun.security.pkcs11.Config.getConfig(Config.java:88)

          at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:128)

          at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:107)

          at myApplet.Library.getCertificatesPKCS11(Library.java:344)

          at myApplet.MyDialog$9.run(MyDialog.java:372)

          at java.awt.event.InvocationEvent.dispatch(Unknown Source)

          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

          at java.awt.EventQueue.access$200(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue.dispatchEvent(Unknown Source)

          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.WaitDispatchSupport$2.run(Unknown Source)

          at java.awt.WaitDispatchSupport$4.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.awt.WaitDispatchSupport.enter(Unknown Source)

          at java.awt.Dialog.show(Unknown Source)

          at java.awt.Component.show(Unknown Source)

          at java.awt.Component.setVisible(Unknown Source)

          at java.awt.Window.setVisible(Unknown Source)

          at java.awt.Dialog.setVisible(Unknown Source)

          at myApplet.Library$4.run(Library.java:1543)

          at java.awt.event.InvocationEvent.dispatch(Unknown Source)

          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

          at java.awt.EventQueue.access$200(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue.dispatchEvent(Unknown Source)

          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.run(Unknown Source)

      Caused by: sun.security.pkcs11.ConfigurationException: Unexpected value Token['é'], line 2

          at sun.security.pkcs11.Config.excToken(Config.java:367)

          at sun.security.pkcs11.Config.parseLine(Config.java:583)

          at sun.security.pkcs11.Config.parseLibrary(Config.java:647)

          at sun.security.pkcs11.Config.parse(Config.java:390)

          at sun.security.pkcs11.Config.<init>(Config.java:216)

          at sun.security.pkcs11.Config.getConfig(Config.java:84)

          ... 40 more

       

      Commented a long time ago on Problems with sun.security.pkcs11

       

      Fix this Oracle, please fix this.