Bug #80407 [Nab]: No way to specify location of argon2 lib. configure does not use pkg-conf for it
Edit report at https://bugs.php.net/bug.php?id=80407&edit=1
ID: 80407
Updated by: nikic@php.net
Reported by: bugs-php dot a2 at x25 dot pl
Summary: No way to specify location of argon2 lib. configure
does not use pkg-conf for it
Status: Not a bug
Type: Bug
Package: *Compile Issues
PHP Version: 7.4.12
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
We should still make argon2 use pkg-config for master at least ... done in https://github.com/php/php-src/commit/7965bc3656eff9753f45037b2d343017855591ee.
We originally tried to do this for 7.4 already, but pkg-config support was not good enough at that
point, see discussion on https://github.com/php/php-src/commit/bdcef51bcb367323f2eea4808f34a1b3e58bd3d8.
Previous Comments:
------------------------------------------------------------------------
[2020-11-23 20:45:16] cmb@php.net
.
------------------------------------------------------------------------
[2020-11-23 20:45:01] cmb@php.net
From the PHP manual[1]:
| To enable Argon2 password hashing, however, PHP must be build
| with libargon2 support using the --with-password-argon2[=DIR]
| configure option.
[1] <https://www.php.net/manual/en/password.installation.php>
------------------------------------------------------------------------
[2020-11-23 20:04:58] bugs-php dot a2 at x25 dot pl
-
------------------------------------------------------------------------
[2020-11-23 20:03:49] bugs-php dot a2 at x25 dot pl
Description:
------------
--with-password-argon2 enables argon2 support in configure but it does not use
pkg-config for locating argon2 library. Also there is no other way to specify this location.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80407&edit=1
Thread (6 messages)