Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-77183

hazmat memleak tests from wycheproof fail after OpenSSL rebase on s390x

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-9.6
    • openssl
    • None
    • No
    • Low
    • rhel-sst-security-crypto
    • ssg_security
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • s390x
    • None

      What were you trying to do that didn't work?

      We were running the tests of pyca-cryptography with wycheproof. Tests in hazmat API area for memory leaks when interacting with OpenSSL (tests that are in tests/hazmat/backends/test_openssl_memleak.py file) fail in s390x while they pass in x86_64. This has happened only with OpenSSL 3.2.2. When we ran the tests in the same environment and only downgraded OpenSSL the tests passed.

      What is the impact of this issue to you?

      moderate

      Please provide the package NVR for which the bug is seen:

      openssl-3.2.2-6.el9_5

      pyca-cryptography-41.0.1

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Download pyca-cryptography 41.0.1 code
      2. Downlaod wycheproof
      3. cd to pyca-cryptography
      4. pip3 install setuptools && pip3 install .[test] && pip3 install -e vectors && pip3 install .
      5. pytest -n auto tests --wycheproof-root=<path to wycheproof dir>

      Expected results

      All tests should pass

      Actual results

      Tests from tests/hazmat/backends/test_openssl_memleak.py fail

              dbelyavs@redhat.com Dmitry Belyavskiy
              rh-ee-gpantela George Pantelakis
              Dmitry Belyavskiy Dmitry Belyavskiy
              George Pantelakis George Pantelakis
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: