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

libsolv uses a bundled digest implementation instead of OpenSSL one

    • libsolv-0.7.29-6.el10
    • Yes
    • None
    • sst_cs_software_management
    • ssg_core_services
    • 20
    • 22
    • 3
    • Hide

      The team decided to apply the current in-RHEL-9 fix to RHEL 10. And separately work in upstream on accepting the patch, possibly extending it to RSA.

      Show
      The team decided to apply the current in-RHEL-9 fix to RHEL 10. And separately work in upstream on accepting the patch, possibly extending it to RSA.
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • None

      libsolv-0.7.29-4.el10 fails CoreOS/libsolv/Regression/bz1630300-Change-libsolv-to-use-RHEL-accepted-crypto test that assures that OpenSSL is used instead of bundled implementation of MD5, SHA1, SHA-224, SHA-256, SHA-384, and SHA-512.

      The use of OpenSSL was a RHEL-only patch https://gitlab.com/redhat/centos-stream/rpms/libsolv/-/raw/c9s/0001-Add-support-for-computing-hashes-using-OpenSSL.patch?ref_type=heads requested in https://bugzilla.redhat.com/show_bug.cgi?id=1630300. RHEL 10 build, libsolv-0.7.29-4.el10, misses this patch. The patch is missing from Fedora as well as from the origin upstream.

      Do we want to reapply the patch to RHEL 10? The patch is needed if the digests are used for cryptographic purposes. One of them is PGP signature verification in ext/repo_pubkey.c (see solv_chksum_get() calls in pgpsig_makesigdata()).

      (Please note that there is an RSA implementation in solv_pgpvrfy() in ext/solv_pgpvrfy.c that the missing patch does not solve.)

      If we apply the patch, we need to make sure that libsolv works when the system is in FIPS mode where MD5 and SHA1 are not available for cryptographic purposes.

            rhn-support-ppisar Petr Pisar
            rhn-support-ppisar Petr Pisar
            packaging-team-maint packaging-team-maint
            Eva Mrakova Eva Mrakova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: