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

sqe test fail, jce/CCC/4393624/DHKeyAgreement

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 6u21
    • security-libs
    • b07
    • sparc
    • solaris_10

      The following test fails since 6u21 b01.
       
      jce/CCC/4393624/DHKeyAgreement fail

      This bug is related to 6324825. The report for 6324825 indicated the bug has been fixed in 7 and openjdk. I confirm that the test passes on jdk7 b96, but the same test fails on 6u18 b07 (fcs). Since the issue exists in 6u18. This is not a regression from 6u21.

      Test log:

      norma $pwd
      /net/sqenfs-2/export2/results/security/promotion/6u21/b05/gtee/solaris10-sparc_c2/6_promotion_security_solaris10-sparc_c2/gtee.SunOS.sparc/DHKeyAgreement

      norma $/java/re/jdk/6u18/promoted/all/b07/binaries/solaris-sparcv9//bin/java -cp . TestDHKeyAgreement2
      Using SKIP Diffie-Hellman parameters
      ALICE: Generate DH keypair ...
      ALICE: Initialization ...
      BOB: Generate DH keypair ...
      BOB: Initialization ...
      ALICE: Execute PHASE1 ...
      BOB: Execute PHASE1 ...
      Status: Passed -- expected exception received
      Status: Passed -- Shared secrets are the same
      Return shared secret as SecretKey object ...
      DES key failed
      Status: Passed -- DES in ECB mode recovered text is same as cleartext
      Status: Passed -- DES in CBC mode recovered text is same as cleartext

      norma $/java/re/jdk/7/promoted/all/b96/binaries/solaris-sparcv9//bin/java -cp . TestDHKeyAgreement2
      Using SKIP Diffie-Hellman parameters
      ALICE: Generate DH keypair ...
      ALICE: Initialization ...
      BOB: Generate DH keypair ...
      BOB: Initialization ...
      ALICE: Execute PHASE1 ...
      BOB: Execute PHASE1 ...
      Status: Passed -- expected exception received
      Status: Passed -- Shared secrets are the same
      Return shared secret as SecretKey object ...
      Compare DES key ---- OK
      Status: Passed -- DES in ECB mode recovered text is same as cleartext
      Status: Passed -- DES in CBC mode recovered text is same as cleartext

      norma $/java/re/jdk/6u21/promoted/all/b05/binaries/solaris-sparcv9//bin/java -cp . TestDHKeyAgreement2
      Using SKIP Diffie-Hellman parameters
      ALICE: Generate DH keypair ...
      ALICE: Initialization ...
      BOB: Generate DH keypair ...
      BOB: Initialization ...
      ALICE: Execute PHASE1 ...
      BOB: Execute PHASE1 ...
      Status: Passed -- expected exception received
      Status: Passed -- Shared secrets are the same
      Return shared secret as SecretKey object ...
      DES key failed
      Status: Passed -- DES in ECB mode recovered text is same as cleartext
      Status: Passed -- DES in CBC mode recovered text is same as cleartext
      norma $

            valeriep Valerie Peng
            bsitu Bill Situ
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: