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

Several PKCS11 Reg Tests failing on Linux-amd64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • security-libs
    • None

      When running the CRYPTO workspace regression tests, we're getting the following
      compilation failed errors:

      JavaTest: Tests that failed
      Compilation failed

          * sun/security/pkcs11/MessageDigest/ReinitDigest.java:
          * sun/security/pkcs11/Mac/ReinitMac.java:
          * sun/security/pkcs11/Cipher/ReinitCipher.java:
          * sun/security/pkcs11/MessageDigest/DigestKAT.java: Basic known-answer-test for all our MessageDigest algorithms
          * sun/security/pkcs11/KeyAgreement/TestShort.java: KAT test for DH (normal and with secret that has leading a 0x00 byte)
          * 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
          * sun/security/pkcs11/Serialize/SerializeProvider.java: Test that the SunPKCS11 provider can be serialized
          * sun/security/pkcs11/MessageDigest/ByteBuffers.java: Test the MessageDigest.update(ByteBuffer) method
          * sun/security/pkcs11/Signature/ByteBuffers.java: Test the Signature.update(ByteBuffer) method
          * sun/security/pkcs11/rsa/TestCACerts.java: Test the new RSA provider can verify all the RSA certs in the cacerts file
          * sun/security/pkcs11/KeyAgreement/TestDH.java: Verify that DH works properly
          * sun/security/pkcs11/rsa/TestKeyPairGenerator.java: Verify that the RSA KeyPairGenerator works
          * sun/security/pkcs11/KeyGenerator/DESParity.java: Verify that the parity bits are set correctly
          * sun/security/pkcs11/SampleTest.java: XXX todo
          * sun/security/pkcs11/Cipher/TestRSACipher.java: basic test for RSA cipher
          * sun/security/pkcs11/Signature/TestDSA.java: basic test of SHA1withDSA and RawDSA signing/verifying
          * sun/security/pkcs11/Provider/Login.java: login facilities for hardware tokens
          * sun/security/pkcs11/Signature/ReinitSignature.java: test that reinitializing Signatures works correctly
          * sun/security/pkcs11/KeyGenerator/TestKeyGenerator.java: test the KeyGenerator

      They are looking for new sun.security.pkcs11.SunPKCS11(p11config), but this
      isn't shipped as part of linux-amd64, and thus the compilation fails. This should be rewritten so that this still compiles but silently fails.
      ###@###.### 10/12/04 23:27 GMT

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: