Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-1678

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • DRLVM
    • None
    • 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

      Attachments

        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

            People

              mloenko Mikhail Loenko
              aluht Anton Luht
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: