Harmony
  1. Harmony
  2. HARMONY-1678

[DRLVM] junit test o.a.h.crypto.tests.javax.crypto.EncryptedPrivateKeyInfoTest fails

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: DRLVM
    • Labels:
      None
    • Environment:
      Windows XP IA32

      Description

      Build:
      svn = r452457, (Oct 3 2006), Windows/ia32/msvc 1310, debug build

      4 test cases fail in Unit test
      EncryptedPrivateKeyInfoTest

      Unfortunately I can't tell why they fail because they do something too complicated for me

      Please see a standalone test attached - in RI it prints nothing while on Harmony it prints

      AES, nulljava.security.spec.InvalidKeySpecException: Decrypted data does not rep
      resent valid PKCS#8 PrivateKeyInfo

      DES, nulljava.security.spec.InvalidKeySpecException: Decrypted data does not rep
      resent valid PKCS#8 PrivateKeyInfo

      RC4, nulljava.security.spec.InvalidKeySpecException: Decrypted data does not rep
      resent valid PKCS#8 PrivateKeyInfo

      1.2.840.113549.1.12.1.3, nulljava.security.spec.InvalidKeySpecException: Decrypt
      ed data does not represent valid PKCS#8 PrivateKeyInfo

      1. harmony_1678_1724_fix.patch
        2 kB
        Alex Astapchuk
      2. harmony_1678_1724_fix.patch
        2 kB
        Alex Astapchuk
      3. JETKiller.java
        1 kB
        Egor Pasko
      4. Test.java
        17 kB
        Anton Luht

        Issue Links

          Activity

          Mikhail Loenko made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Mikhail Loenko made changes -
          Assignee Mikhail Loenko [ mloenko ]
          Alex Astapchuk made changes -
          Attachment harmony_1678_1724_fix.patch [ 12342626 ]
          Alex Astapchuk made changes -
          Attachment harmony_1678_1724_fix.patch [ 12342526 ]
          Stepan Mishura made changes -
          Summary junit test org.apache.harmony.crypto.tests.javax.crypto.EncryptedPrivateKeyInfoTest fails [DRLVM] junit test o.a.h.crypto.tests.javax.crypto.EncryptedPrivateKeyInfoTest fails
          Component/s Classlib [ 12310560 ]
          Component/s DRLVM [ 12311272 ]
          Egor Pasko made changes -
          Attachment JETKiller.java [ 12342423 ]
          Elena Semukhina made changes -
          Link This issue is related to HARMONY-1724 [ HARMONY-1724 ]
          Anton Luht made changes -
          Field Original Value New Value
          Attachment Test.java [ 12342193 ]
          Anton Luht created issue -

            People

            • Assignee:
              Mikhail Loenko
              Reporter:
              Anton Luht
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development