Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90265 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32555 invoked from network); 7 Jan 2016 16:30:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jan 2016 16:30:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.53 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 74.125.82.53 mail-wm0-f53.google.com Received: from [74.125.82.53] ([74.125.82.53:33785] helo=mail-wm0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 29/42-21405-9929E865 for ; Thu, 07 Jan 2016 11:30:18 -0500 Received: by mail-wm0-f53.google.com with SMTP id f206so104577401wmf.0 for ; Thu, 07 Jan 2016 08:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cg0W+6W7NxvsmB6yeIU9lJmTE6VCOfCCWYFS/2CBSdI=; b=V59zT7UbzODCv7T0NfJgsespLKxB10S9QP7RIcJS3N3G5iFwocamTjwLQ9O10YRWnX H31bNHo4uKQIFTdq8IvOQGCGhVNvFNmgTiHxcD2sVuHYaSZRMOBMforM71rrjafPLp4a +rIACLs+S/6RGPuTLJeaIvGG3Ws7BnyyTjAlZWQwYUlx7dnfzHiPGVbQRKOO1nF192fV HQV3i8FMjeHKrddCnpyIIyoWzccSsMkAcJh8U5tZ/bCmDWhGbWjvSejc2u09siV5qok+ 0jjaQmlK61v8O+Sf8I9OIE8JqcDbuQ1RkO9FnaAzyXQExGifAMi4rWepbgOG/yo+bRvb 4zEw== MIME-Version: 1.0 X-Received: by 10.28.189.11 with SMTP id n11mr18456931wmf.3.1452184214601; Thu, 07 Jan 2016 08:30:14 -0800 (PST) Received: by 10.28.11.77 with HTTP; Thu, 7 Jan 2016 08:30:14 -0800 (PST) In-Reply-To: References: Date: Thu, 7 Jan 2016 11:30:14 -0500 Message-ID: To: Pierre Joye Cc: Scott Arciszewski , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Libsodium From: ircmaxell@gmail.com (Anthony Ferrara) 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... >> 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. Anthony