Re: [RFC] Libsodium
| From: | Pierre Joye | Date: | Thu, 07 Jan 2016 16:33:42 +0000 |
| Subject: | Re: [RFC] Libsodium | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-90266@lists.php.net to get a copy of this message | ||
On Thu, Jan 7, 2016 at 11:30 PM, Anthony Ferrara <ircmaxell@gmail.com> wrote:
> Pierre,
>
>>> Even if we axe mcrypt and in with a net-gain of 0 extensions, you'd
>>> see it as a risk?
>>
>> Except that we already refused to kill mcrypt, and it is not like I
>> did not try to convince us to kill it.
>
> We decided not to kill it for 7.0. That doesn't mean it got a permanent buy...
It is pretty much a 7.x permanent buy, yes. And that's why we pushed
hard to kill it before. Unless we consider killing extensions in minor
releases a non BC break ;-)
>>> Let me state this clearly: I'm personally not going to bother pushing
>>> for a pluggable crypto API if the only option is to use OpenSSL and
>>> all its legacy cruft. I especially don't have lukewarm feelings
>>> towards RSA or ECDSA, which are your only real options with it.
>>>
>>> I feel that it simply would not be a worthwhile use of my time to do
>>> so. If Internals decides "no libsodium" but "yes pluggable crypto
>>> API", you'll have to find someone else to spearhead it.
>>
>> Sorry, my point was not clear.
>>
>> I do like the concept of a pluggable crypto API. Very much. I said it
>> before and I say it again. I love the concept and will do what I can
>> to support it :)
>>
>> What I do not like too much is the addition of an extension with
>> (relatively) low level functions for one specific library. It does not
>> really matter how good is this specific library, I simply do not see
>> such addition as a good strategic move.
>
> I agree with you in principle, but in this particular case I think
> that there's enough justification considering how measurably bad
> mcrypt is, and how little some people trust openssl. That leaves no
> room in core. So in this case I think it *may* be worth it to add it.
If the pluggable API one won't show up before 7.2/3, yes. If we
potentially can sort it out for 7.1/2/3, then no.
Cheers,
--
Pierre
@pierrejoye | http://www.libgd.org