Bug 2229405 - argon2 password hashing module missing
Summary: argon2 password hashing module missing
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: openldap
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Simon Pichugin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-05 18:41 UTC by François Kooman
Modified: 2023-08-16 08:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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