Bug 2072044 - Drop auth_ed25519 support for MySQL
Summary: Drop auth_ed25519 support for MySQL
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-oslo-db
Version: 17.0 (Wallaby)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Damien Ciabrini
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks: 2072053
TreeView+ depends on / blocked
 
Reported: 2022-04-05 13:40 UTC by Lon Hohberger
Modified: 2022-09-21 12:20 UTC (History)
8 users (show)

Fixed In Version: python-oslo-db-8.5.1-0.20220619080757.3b452de.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-21 12:20:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
RDO 41537 0 None rpm-master: NEW openstack/oslo-db-distgit: Don't require pynacl (Ia2521e82776dcaf728533548714f46be6f114dae) 2022-06-23 19:21:54 UTC
RDO 41538 0 None wallaby-rdo: MERGED openstack/oslo-db-distgit: Don't require pynacl (Ia2521e82776dcaf728533548714f46be6f114dae) 2022-06-23 19:21:59 UTC
Red Hat Issue Tracker OSP-14517 0 None None None 2022-04-05 13:46:06 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:20:34 UTC

Description Lon Hohberger 2022-04-05 13:40:47 UTC
Description of problem: python-oslo-db supports using auth_ed25519 for password authentication with MySQL.

This is not the default and is not known to be utilized by any customers at this time.

Furthermore, the RPM requirements pull in pynacl, which pulls in libsodium, which is an encryption library that is otherwise unused in OSP17.

As it happens, the requirement isn't direct from python-oslo-db - PyMySQL will do a check-import of pynacl, and automatically disable auth_ed25519 if pynacl isn't available, so it's safe to drop this support without adversely affecting other code paths.

How reproducible: 100%


Steps to Reproduce:
1.  dnf install -y python3-oslo-db

Actual results:

python3-pynacl and libsodium are installed


Expected results:

No more python3-pynacl or libsodium


Additional info:

To my knowledge, no version of pynacl is FIPS certified.

Comment 1 Takashi Kajinami 2022-04-05 16:35:03 UTC
There is an RFE which intended to add support for ed25519.
I'm not following the latest status of that work but that RFE should be considered
before we determine whether we go ahead removing support.

https://bugzilla.redhat.com/show_bug.cgi?id=1687309
https://bugs.launchpad.net/tripleo/+bug/1866093

Comment 2 Chris Jones 2022-04-12 14:15:37 UTC
Per https://bugzilla.redhat.com/show_bug.cgi?id=1687309#c21 I have closed the RFE as CANTFIX since there is no way for us to implement ed25519 support in MariaDB in a FIPS compliant way.

Comment 9 errata-xmlrpc 2022-09-21 12:20:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:6543


Note You need to log in before you can comment on or make changes to this bug.