jce/Reliability/SameDHKey fails during 6u22m testing on solaris 11

XMLWordPrintable

      The following test fails during 6u22m testing, on solaris 11 snv_146

      jce/Reliability/SameDHKey

      The same test passes on an older version of Solaris 5.11 snv_111b (jtg-xeon-02.sfbay). There could be a change a solaris crypto causing the java pkcs11 provider to fail.

      Test Log:

      vm-v20z-9 $uname -a
      SunOS vm-v20z-9 5.11 snv_146 i86pc i386 i86pc
      vm-v20z-9 $pwd
      /java/sqe/results/security/promotion/6u22/m/b01/gtee/solaris-amd64/6u22-b01_promotion_security_solaris-amd64_02/gtee.SunOS.x86/SameDHKey
      vm-v20z-9 $

      vm-v20z-9 $/java/re/jdk/6u22/promoted/m/b01/binaries/solaris-amd64/bin/java -cp . TestStressSameDHKey
      java.security.InvalidKeyException: Secret too short
              at sun.security.pkcs11.P11KeyAgreement.engineGenerateSecret(P11KeyAgreement.java:249)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at KAParticipant.generateSecret(KAParticipant.java:55)
              at TestStressSameDHKey.runTest(TestStressSameDHKey.java:132)
              at TestStressSameDHKey.run(TestStressSameDHKey.java:52)
              at TestStressSameDHKey.main(TestStressSameDHKey.java:34)
      java.security.InvalidKeyException: Wrong key size
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DHKeyAgreement.engineGenerateSecret(DashoA13*..)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at sun.security.pkcs11.P11KeyAgreement.engineGenerateSecret(P11KeyAgreement.java:216)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at KAParticipant.generateSecret(KAParticipant.java:55)
              at TestStressSameDHKey.runTest(TestStressSameDHKey.java:132)
              at TestStressSameDHKey.run(TestStressSameDHKey.java:52)
              at TestStressSameDHKey.main(TestStressSameDHKey.java:34)
      java.security.InvalidKeyException: Wrong key size
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DHKeyAgreement.engineGenerateSecret(DashoA13*..)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at sun.security.pkcs11.P11KeyAgreement.engineGenerateSecret(P11KeyAgreement.java:216)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at KAParticipant.generateSecret(KAParticipant.java:55)
              at TestStressSameDHKey.runTest(TestStressSameDHKey.java:132)
              at TestStressSameDHKey.run(TestStressSameDHKey.java:52)
              at TestStressSameDHKey.main(TestStressSameDHKey.java:34)
      java.security.InvalidKeyException: Secret too short
              at sun.security.pkcs11.P11KeyAgreement.engineGenerateSecret(P11KeyAgreement.java:249)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at KAParticipant.generateSecret(KAParticipant.java:55)
              at TestStressSameDHKey.runTest(TestStressSameDHKey.java:132)
              at TestStressSameDHKey.run(TestStressSameDHKey.java:52)
              at TestStressSameDHKey.main(TestStressSameDHKey.java:34)
      java.security.InvalidKeyException: Wrong key size
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DHKeyAgreement.engineGenerateSecret(DashoA13*..)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at sun.security.pkcs11.P11KeyAgreement.engineGenerateSecret(P11KeyAgreement.java:216)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at KAParticipant.generateSecret(KAParticipant.java:55)
              at TestStressSameDHKey.runTest(TestStressSameDHKey.java:132)
              at TestStressSameDHKey.run(TestStressSameDHKey.java:52)
              at TestStressSameDHKey.main(TestStressSameDHKey.java:34)
      java.security.InvalidKeyException: Wrong key size
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DHKeyAgreement.engineGenerateSecret(DashoA13*..)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at sun.security.pkcs11.P11KeyAgreement.engineGenerateSecret(P11KeyAgreement.java:216)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at KAParticipant.generateSecret(KAParticipant.java:55)
              at TestStressSameDHKey.runTest(TestStressSameDHKey.java:132)
              at TestStressSameDHKey.run(TestStressSameDHKey.java:52)
              at TestStressSameDHKey.main(TestStressSameDHKey.java:34)
      java.security.InvalidKeyException: Secret too short
              at sun.security.pkcs11.P11KeyAgreement.engineGenerateSecret(P11KeyAgreement.java:249)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at KAParticipant.generateSecret(KAParticipant.java:55)
              at TestStressSameDHKey.runTest(TestStressSameDHKey.java:132)
              at TestStressSameDHKey.run(TestStressSameDHKey.java:52)
              at TestStressSameDHKey.main(TestStressSameDHKey.java:34)
      java.security.InvalidKeyException: Wrong key size
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DHKeyAgreement.engineGenerateSecret(DashoA13*..)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at sun.security.pkcs11.P11KeyAgreement.engineGenerateSecret(P11KeyAgreement.java:216)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at KAParticipant.generateSecret(KAParticipant.java:55)
              at TestStressSameDHKey.runTest(TestStressSameDHKey.java:132)
              at TestStressSameDHKey.run(TestStressSameDHKey.java:52)
              at TestStressSameDHKey.main(TestStressSameDHKey.java:34)
      java.security.InvalidKeyException: Wrong key size
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DHKeyAgreement.engineGenerateSecret(DashoA13*..)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at sun.security.pkcs11.P11KeyAgreement.engineGenerateSecret(P11KeyAgreement.java:216)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at KAParticipant.generateSecret(KAParticipant.java:55)
              at TestStressSameDHKey.runTest(TestStressSameDHKey.java:132)
              at TestStressSameDHKey.run(TestStressSameDHKey.java:52)
              at TestStressSameDHKey.main(TestStressSameDHKey.java:34)
      java.security.InvalidKeyException: Secret too short
              at sun.security.pkcs11.P11KeyAgreement.engineGenerateSecret(P11KeyAgreement.java:249)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at KAParticipant.generateSecret(KAParticipant.java:55)
              at TestStressSameDHKey.runTest(TestStressSameDHKey.java:132)
              at TestStressSameDHKey.run(TestStressSameDHKey.java:52)
              at TestStressSameDHKey.main(TestStressSameDHKey.java:34)
      java.security.InvalidKeyException: Wrong key size
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DHKeyAgreement.engineGenerateSecret(DashoA13*..)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at sun.security.pkcs11.P11KeyAgreement.engineGenerateSecret(P11KeyAgreement.java:216)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at KAParticipant.generateSecret(KAParticipant.java:55)
              at TestStressSameDHKey.runTest(TestStressSameDHKey.java:132)
              at TestStressSameDHKey.run(TestStressSameDHKey.java:52)
              at TestStressSameDHKey.main(TestStressSameDHKey.java:34)
      java.security.InvalidKeyException: Wrong key size
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DESKey.<init>(DashoA13*..)
              at com.sun.crypto.provider.DHKeyAgreement.engineGenerateSecret(DashoA13*..)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at sun.security.pkcs11.P11KeyAgreement.engineGenerateSecret(P11KeyAgreement.java:216)
              at javax.crypto.KeyAgreement.generateSecret(DashoA13*..)
              at KAParticipant.generateSecret(KAParticipant.java:55)
              at TestStressSameDHKey.runTest(TestStressSameDHKey.java:132)
              at TestStressSameDHKey.run(TestStressSameDHKey.java:52)
              at TestStressSameDHKey.main(TestStressSameDHKey.java:34)
      STATUS:Failed. 12 Failed: DH2 DES DH3 DES DH4 DES DiffieHellman2 DES DiffieHellman3 DES DiffieHellman4 DES dh2 DES dh3 DES dh4 DES diffieHELLMAN2 DES diffieHELLMAN3 DES diffieHELLMAN4 DES

            Assignee:
            Valerie Peng
            Reporter:
            Bill Situ
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: