Bug 2229405

Summary: argon2 password hashing module missing
Product: [Fedora] Fedora Reporter: François Kooman <fkooman>
Component: openldapAssignee: Simon Pichugin <spichugi>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: blc, bojan, spichugi, vashirov
Target Milestone: ---Flags: fedora-admin-xmlrpc: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-01-13 05:13:21 UTC 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.

Comment 2 Bojan Smojver 2024-06-30 11:03:20 UTC
Also: https://src.fedoraproject.org/rpms/openldap/pull-request/13

Comment 3 Aoife Moloney 2024-11-08 11:01:10 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Aoife Moloney 2025-02-26 12:54:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 6 Viktor Ashirov 2025-10-15 11:20:48 UTC
PR: https://src.fedoraproject.org/rpms/openldap/pull-request/24