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

sun/security/pkcs12/KeytoolOpensslInteropTest.java test fails because of different openssl output

XMLWordPrintable

    • b02
    • generic
    • linux
    • Verified

        KeytoolOpensslInteropTest.java fails with the output below.
        Seems on our SUSE Linux 15 (openssl is
        ~> openssl version
        OpenSSL 1.1.0i-fips 14 Aug 2018
        ) we get a slightly different output with a blank missing after "MAC:" :

        :stdErr:
        Mon Dec 06 21:54:48 CET 2021
        stdout: [];
        stderr: [MAC:sha256 Iteration 10000
        PKCS7 Data
        Shrouded Keybag: PBES2, PBKDF2, AES-256-CBC, Iteration 10000, PRF hmacWithSHA256
        Shrouded Keybag: PBES2, PBKDF2, AES-256-CBC, Iteration 10000, PRF hmacWithSHA256
        PKCS7 Encrypted data: PBES2, PBKDF2, AES-256-CBC, Iteration 10000, PRF hmacWithSHA256
        Certificate bag
        Certificate bag
        ]
        exitValue = 0

        java.lang.RuntimeException: 'MAC: sha256, Iteration 10000' missing from stdout/stderr

              mbaesken Matthias Baesken
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: