Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90464 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38705 invoked from network); 10 Jan 2016 21:31:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2016 21:31:59 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.47 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.47 mail-wm0-f47.google.com Received: from [74.125.82.47] ([74.125.82.47:33747] helo=mail-wm0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 91/D0-14657-ECDC2965 for ; Sun, 10 Jan 2016 16:31:59 -0500 Received: by mail-wm0-f47.google.com with SMTP id f206so192285113wmf.0 for ; Sun, 10 Jan 2016 13:31:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=DuowqpPvPvlSsiwVw8OcIv3r5UHxV2MLAIxfWCB62DE=; b=oAbU4DNZ0yOPX8D3fR2Ld1z1XXVKwZSzJh8Xzz6tvB5xbwbwKjLKYgrebW/7aCrEOR VRv7IRvTkO0K9DvqFbKaS2N2wW972JlO/6h4mi1sd3/tGn1GYVfRsDoT+IzKI7FbMqmd kaZUv5Gf208OvzJ6uFA1ZuaSoxUcw6PMcgfv12mN5YRmfwjnR73bkn5jrpR0oXmf604T QoRfLKsxS/tTfuIjMICOP6TyB+B6b3WHyucec2LrvjfhZ+K1XSwFCWnidOhAuzl4Bz6v P93Hqf+rz11gH3H6tYJyru4K1oLufOzwHjhk16YMYYzHjDBS97fI6Ox7ZcjSwHTc50J4 WNLg== X-Received: by 10.194.161.166 with SMTP id xt6mr93418624wjb.98.1452461515699; Sun, 10 Jan 2016 13:31:55 -0800 (PST) Received: from [192.168.1.189] ([2.31.24.87]) by smtp.googlemail.com with ESMTPSA id bg10sm116453623wjb.46.2016.01.10.13.31.50 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Jan 2016 13:31:55 -0800 (PST) To: internals@lists.php.net References: Message-ID: <5692CDB6.5050905@gmail.com> Date: Sun, 10 Jan 2016 21:31:34 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Libsodium From: rowan.collins@gmail.com (Rowan Collins) On 07/01/2016 16:11, Scott Arciszewski wrote: > 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 think what people are suggesting is not that libsodium shouldn't be supported under-the-hood, just that the fact you're using it shouldn't be exposed to userland. A PDO-like encryption interface (which as I understand it is not what you proposed in your other thread) would allow us to add libsodium in such a way that a relatively painless migration path can be created if it goes the way of mcrypt. So the pluggable API removes the need for any of the sodium_* / Sodium::* / \Sodium\* functions. Regards, -- Rowan Collins [IMSoP]