RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1714591 - RFE: Please enable argon2 and libsodium support in php
Summary: RFE: Please enable argon2 and libsodium support in php
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: php
Version: 8.1
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 8.0
Assignee: Remi Collet
QA Contact: RHEL Stacks Subsystem QE
Depends On:
TreeView+ depends on / blocked
Reported: 2019-05-28 11:48 UTC by Neal Gompa
Modified: 2023-03-24 14:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-11-11 12:04:19 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

Description Neal Gompa 2019-05-28 11:48:07 UTC
Description of problem:
The PHP stack in RHEL 8 has libargon2 and libsodium support disabled, which severely cripples or breaks the ability for PHP web applications to do secure password hashing, among other things.

For example, Symfony-based web applications based on Symfony 3.4 can and will use argon2i algorithms[1], and Symfony-based web applications based on Symfony 4.3 can and will use sodium for this[2].

Please reconsider and enable support for argon2 and sodium in PHP.

[1]: https://symfony.com/blog/new-in-symfony-3-4-argon2i-password-hasher
[2]: https://symfony.com/blog/new-in-symfony-4-3-sodium-password-encoder

Version-Release number of selected component (if applicable):

Comment 1 Joe Orton 2019-06-28 13:07:40 UTC
We are not planning to add additional cryptography libraries into RHEL, sorry.

Comment 4 Joe Orton 2019-11-11 12:04:19 UTC
We are not planning to support additional cryptography libraries in RHEL, hence sodium/argon support will remain disabled in PHP.

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