# Request for wiki karma

- Thread: https://externals.io/message/94455
- Original archive: https://news-web.php.net/php.internals/94455
- Started by Charles R. Portwood II on 2016-07-09T19:37:36+00:00
- Messages: 6
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #94455 — Charles R. Portwood II — 2016-07-09T19:37:36+00:00

URL: https://externals.io/message/94455#94455

Hello Internals,

I'd like to improve the password_* functions by adding support for
Argon2[1], the winner of the Password Hasing Competition[2].

I've previously implemented an extension[3] to handle this, however I
believe this would be better to have Argon2 implemented directly password_*
functions. I would handle implementation of this enhancement, and would
like to gather your feedback before formally proposing an RFC.

My wiki username is: charlesportwoodii

Thank you!
*Charles R. Portwood II*

[1] <https://github.com/P-H-C/phc-winner-argon2>
[2] <https://password-hashing.net/>
[3] <https://github.com/charlesportwoodii/php-argon2-ext

---

## #94456 — Ferenc Kovacs — 2016-07-09T21:59:00+00:00

URL: https://externals.io/message/94455#94456 · In reply to: #94455

On Sat, Jul 9, 2016 at 9:37 PM, Charles R. Portwood II <
charlesportwoodii@erianna.com> wrote:

> Hello Internals,
>
> I'd like to improve the password_* functions by adding support for
> Argon2[1], the winner of the Password Hasing Competition[2].
>
> I've previously implemented an extension[3] to handle this, however I
> believe this would be better to have Argon2 implemented directly password_*
> functions. I would handle implementation of this enhancement, and would
> like to gather your feedback before formally proposing an RFC.
>
> My wiki username is: charlesportwoodii
>
> Thank you!
> *Charles R. Portwood II*
>
> [1] <https://github.com/P-H-C/phc-winner-argon2>
> [2] <https://password-hashing.net/>
> [3] <https://github.com/charlesportwoodii/php-argon2-ext>
>

hi,

I've granted you with rfc karma on the wiki

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

---

## #94457 — Pierre Joye — 2016-07-10T05:24:09+00:00

URL: https://externals.io/message/94455#94457

On Jul 10, 2016 2:38 AM, "Charles R. Portwood II" <
charlesportwoodii@erianna.com> wrote:
>
> Hello Internals,
>
> I'd like to improve the password_* functions by adding support for
> Argon2[1], the winner of the Password Hasing Competition[2].
>
> I've previously implemented an extension[3] to handle this, however I
> believe this would be better to have Argon2 implemented directly
password_*
> functions. I would handle implementation of this enhancement, and would
> like to gather your feedback before formally proposing an RFC.
>
> My wiki username is: charlesportwoodii
>
> Thank you!
> *Charles R. Portwood II*
>
> [1] <https://github.com/P-H-C/phc-winner-argon2>
> [2] <https://password-hashing.net/>
> [3] <https://github.com/charlesportwoodii/php-argon2-ext>

Hi Charles,

Nice work already.

I add Scott to this thread to be sure he reads. As far as I remember he has
a patch too but there was concerns about having argon2 support at this
stage because of the current state of argon2 specs (or something along this
line).

Let be sure that these concerns are solved before considering to include it
as it means some bc risks later if the specs change.

Cheers
Pierre

---

## #94458 — Scott Arciszewski — 2016-07-10T05:36:20+00:00

URL: https://externals.io/message/94455#94458 · In reply to: #94457

Version 1.3 of the Argon2 spec alleviated my concerns.

I never completed my patch, and the past couple of months have been hectic.
I can review the patch before it's merged if you want, but I still don't
have the free time to author an alternative.

If accepted in 7.1, I believe it can be the new `PASSWORD_DEFAULT` in 7.3 if
it remains the best option.

Scott Arciszewski
Chief Development Officer
Paragon Initiative Enterprises <https://paragonie.com>



>
> On Jul 10, 2016 2:38 AM, "Charles R. Portwood II" <
> charlesportwoodii@erianna.com> wrote:
> > […]
> password_*
> > […]
>
> Hi Charles,
>
> Nice work already.
>
> I add Scott to this thread to be sure he reads. As far as I remember he
> has a patch too but there was concerns about having argon2 support at this
> stage because of the current state of argon2 specs (or something along this
> line).
>
> Let be sure that these concerns are solved before considering to include
> it as it means some bc risks later if the specs change.
>
> Cheers
> Pierre

---

## #94461 — Charles R. Portwood II — 2016-07-10T19:27:16+00:00

URL: https://externals.io/message/94455#94461 · In reply to: #94458

On Sun, Jul 10, 2016 at 12:36 AM, Scott Arciszewski <scott@paragonie.com>
wrote:

> Version 1.3 of the Argon2 spec alleviated my concerns.
>
> I never completed my patch, and the past couple of months have been
> hectic. I can review the patch before it's merged if you want, but I still
> don't have the free time to author an alternative.
>
> If accepted in 7.1, I believe it can be the new `PASSWORD_DEFAULT` in 7.3 if
> it remains the best option.
>
> Scott Arciszewski
> Chief Development Officer
> Paragon Initiative Enterprises <https://paragonie.com>
>
> 
>
> > […]
>
>
Thanks for your feedback everyone (and for granting wiki access)!

This implementation would be against the version 1.3 of the Argon2
reference library. As Scott mentioned, this proposal would be for inclusion
on 7.1, and then made `PASSWORD_DEFAULT` in 7.3 per the password_hash RFC,
assuming better option does not arise.

I'll provide an RFC within the coming days which will outline everything in
detail.

Thanks again,

*Charles R. Portwood II*

---

## #94463 — Niklas Keller — 2016-07-11T07:23:19+00:00

URL: https://externals.io/message/94455#94463 · In reply to: #94461

2016-07-10 21:27 GMT+02:00 Charles R. Portwood II <
charlesportwoodii@erianna.com>:

> On Sun, Jul 10, 2016 at 12:36 AM, Scott Arciszewski <scott@paragonie.com>
> wrote:
>
> > […]
> still
> > […]
> if
> > […]
> wrote:
> > […]
> would
> > […]
> this
> > […]
> this
> > […]
> Thanks for your feedback everyone (and for granting wiki access)!
>
> This implementation would be against the version 1.3 of the Argon2
> reference library. As Scott mentioned, this proposal would be for inclusion
> on 7.1, and then made `PASSWORD_DEFAULT` in 7.3 per the password_hash RFC,
> assuming better option does not arise.
>
> I'll provide an RFC within the coming days which will outline everything in
> detail.
>
> Thanks again,
>
> *Charles R. Portwood II*


Hi Charles,

it will probably have to target 7.2 as 7.1 has feature freeze in less then
two weeks IIRC.

Regards, Niklas
