Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93797 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56161 invoked from network); 5 Jun 2016 07:46:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2016 07:46:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=scott@paragonie.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=scott@paragonie.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain paragonie.com designates 209.85.218.50 as permitted sender) X-PHP-List-Original-Sender: scott@paragonie.com X-Host-Fingerprint: 209.85.218.50 mail-oi0-f50.google.com Received: from [209.85.218.50] ([209.85.218.50:33067] helo=mail-oi0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 46/00-55579-DB8D3575 for ; Sun, 05 Jun 2016 03:46:05 -0400 Received: by mail-oi0-f50.google.com with SMTP id k23so185578676oih.0 for ; Sun, 05 Jun 2016 00:46:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragonie-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=ud4rapEC7nUioIsvibJ0U9GQnRYk6A8F9LHT/uq3Kls=; b=SH2Ra8ntXWO8btKvY4WGdnf9ziB1IccBDR8pQyLmoNZbuQhrPFFLZ+67kyJiD1vBx6 sdVPbyDqNMiNhSB85Pg/oFAf1Ht+rMie8qNdhDNV8OvF8fZJvmcIaK0vNkyx4Y3SxrpO x1DcrJZas6V+EFIJluLwgUqUGOhlMnKQj+AIT+Q8DBZGkQPsJUOWV6J2qmxzcZSEudmH qKtbIqMZRYkuQ9DulMsEssjZiW92Y5yYxmgXToD92fKdJ0xsVnx2ZFiQDc6EgWVHbD9A zwfTPZY3U4Q4cVFCgu0XNi+yltH4Iv3ZFN9Guz4wlDTSti2NAgSMu+i9CGaSKn8uWarg nv8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=ud4rapEC7nUioIsvibJ0U9GQnRYk6A8F9LHT/uq3Kls=; b=fWnCxIN957lE8QRIKBeXnXu8qdVVryynh6DsSuS0NuZugvKG6RhDHoTH3QARHTnqf7 d4+EHKK0bS0aBoFZjLKQsEBfyptEbSHoUm4Fg81B7LeLGl59cnYrWo0T/++0NbKca9cM 0qWYYRwdYK6j/p3ObPdC4xa/RNEjGdJUgPsRzL20RIbk89KXv+v0jK7r7CQteDfawM6m HeOOUPaBNIpRqw5m1d3/FzllKLBVOcrUYB1ZzQNIXJaDb2Yei/VOCPwhDOz5XsF33Jxd v/A3woOFz7oZDMJQEbu1E9NinTkV6V1GWtGzgOj9v32pSBOzq/GTEc5+5V9XD2vnYFfJ N3lg== X-Gm-Message-State: ALyK8tJyVMIgp3AdLX4ITor8aBVsqxiDeK+QPgtwA1q1BWOvsYVigAuu5g5rkWJ1GZT7ZQIv6tY/9LyqUZJh8A== MIME-Version: 1.0 X-Received: by 10.202.94.132 with SMTP id s126mr6023052oib.34.1465112762457; Sun, 05 Jun 2016 00:46:02 -0700 (PDT) Received: by 10.157.26.106 with HTTP; Sun, 5 Jun 2016 00:46:02 -0700 (PDT) In-Reply-To: References: Date: Sun, 5 Jun 2016 03:46:02 -0400 Message-ID: To: Pierre Joye Cc: Stas Malyshev , PHP internals Content-Type: multipart/alternative; boundary=001a113d5160c33d1e0534832516 Subject: Re: [PHP-DEV] [RFC] Libsodium - Discussion From: scott@paragonie.com (Scott Arciszewski) --001a113d5160c33d1e0534832516 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, Jun 5, 2016 at 2:20 AM, Pierre Joye wrote: > > On Jun 5, 2016 5:15 AM, "Stanislav Malyshev" wrote: > > > > > The stated goal is "You shouldn't need a Ph.D in Applied Cryptography t= o > > build a secure web application." I fully agree with this goal. I howeve= r > > feel that current implementation, while making admirable progress > > towards this goal, still needs some work to actually achieve it. > > I fully agree with you. As much as I think we need something like that, I > think these are stopping points. > > I would very interested to hear from Scott about these questions and the > low level nature of the APIs make it not as friendly or future proof as i= t > could. > > Cheers > Pierre > Hi Pierre, My position on the low level nature of libsodium's APIs is as follows: =E2=80=8BThat sounds like a call to action for https://wiki.php.net/rfc/php= 71-crypto rather than a point of concern for adopting libsodium.=E2=80=8B Compare the following two snippets which accomplish the same "goal" (anonymous public-key encryption). =E2=80=8B --001a113d5160c33d1e0534832516--