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

Some SunPKCS11 tests fail on S10 with Venus card

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • 6
    • 6
    • security-libs

      On an S10 system with a Venus (SCA 4000) card configured, some of the SunPKCS11 tests fail due to issues with the tests:

      ===
      Execution failed: `main' threw exception: java.security.InvalidKeyException: Could not create RSA private key

          * sun/security/pkcs11/rsa/TestKeyFactory.java: Test KeyFactory of the new RSA provider
          * sun/security/pkcs11/rsa/TestSignatures.java: Test signing/verifying using all the signature algorithms

      Execution failed: `main' threw exception: java.security.NoSuchAlgorithmException: No such algorithm: ARCFOUR

          * sun/security/pkcs11/Cipher/ReinitCipher.java:

      Execution failed: exit code 1

          * sun/security/pkcs11/KeyStore/Solaris.sh: Enable PKCS#11 KeyStore for SunPKCS11-Solaris
      ===

      The RSA tests fail because Venus does not support keys >2048 bits. The ReinitCipher test fails because it assumes that all tokens support the RC4 algorithm, which Venus does not. The KeyStore test fails because it assumes that it is talking to the Solaris softtoken KeyStore.

      The tests should be fixed to deal with this token specific behavior.

      ###@###.### 2004-12-08 21:26:56 GMT

            andreas Andreas Sterbenz
            andreas Andreas Sterbenz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: