Bug 2229405

Summary: argon2 password hashing module missing
Product: [Fedora] Fedora Reporter: François Kooman <fkooman>
Component: openldapAssignee: Simon Pichugin <spichugi>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: lance, spichugi, vashirov
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description François Kooman 2023-08-05 18:41:25 UTC
Even though the manpage for the argon2 module is installed, the module itself is not available. 

In order for the argon2 module to be built one needs libsodium or libargon2. Both of which are not available on EL due to limits on importing crypto libraries there, so that is why it is not enabled on Fedora either I guess.

What could be done is conditionally enable it on Fedora (BuildRequires: libsodium-devel)

Longer term, it is possible to wait for OpenSSL 3.2 which supports argon2 password hashes and then update the argon2 module to use it. Or are there any other crypto libraries in EL that support argon2?

Is there any interest in this?

My diff against rawhide to conditionally enable argon2 on Fedora: 

https://src.fedoraproject.org/fork/fkooman/rpms/openldap/c/2706e2635b2fd741d2b9788375d0040180da1ae8?branch=rawhide

Reproducible: Always

Comment 1 Fedora Release Engineering 2023-08-16 08:13:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.