Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97695 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10592 invoked from network); 11 Jan 2017 18:22:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2017 18:22:57 -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.46 as permitted sender) X-PHP-List-Original-Sender: scott@paragonie.com X-Host-Fingerprint: 209.85.218.46 mail-oi0-f46.google.com Received: from [209.85.218.46] ([209.85.218.46:34967] helo=mail-oi0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FC/04-55699-EF776785 for ; Wed, 11 Jan 2017 13:22:54 -0500 Received: by mail-oi0-f46.google.com with SMTP id j15so9175722oih.2 for ; Wed, 11 Jan 2017 10:22:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragonie-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=Th7dyjRzQLYBP7KwgnwytAjaQqG6kL7aSyEcCTG3dEE=; b=njOOD6rpFdl2M+YSlAl1vCdwa4QMgK60KpLqjAgafCkquofNN0gILYX8GMb7pwWhxq bnbx5cgr6vwD+YXOZH+u+NdGuyZJ1HifS2sVPLJiC28Te5xcXXFJ1X1cU/HfrtdBCiqh +q11ZibrhjtdDJBdp3PcaK5/DRr882W/oECTvEg4P5F23EXVeUZd4XPu/x8B4dfvSyi3 dATmlpSdM/Q4CWWfmOwXxALG+yKgJSYjqluvHlOx2sg+kLYoG+Olwopu9N9m9D1nMj1Y 212G9ykiTrEk+f8nTlvfM4S1/505tYY/dgnRW3kAT1Ikm7A0RL3tQPqKXqZ34jo/V2Rc U6sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Th7dyjRzQLYBP7KwgnwytAjaQqG6kL7aSyEcCTG3dEE=; b=o5TD/T2ulp7GqaGXPNNMWBcgQcXD8k/fxEUC42yEkgUe80+1QMm0KWcI55L2otmwrh q4EUzYcFnjKMwsvt+vCwjCNU4axg1cKsXHipKIQNhNJkMAp3rU9wc7s/IXakL1JCEHKL y7kLdOOOSflRkiTsVALTIz5tbuvkNsL6GsfBRcvvs+VFhkLPFvichN5xRMPXq+mRpZtF NZ38nhYmU7KFdz4teabPfawkhOGm9QtQQPN0SpZh6j/TY/10V1I36V8nzscNKEp9gGlQ asLWNhTS50kzYuckWYY+nwNK3+yDCPr10iLE2pyzVWocVaiWRf/hDa4LZhEmea6oS+Oe tWOg== X-Gm-Message-State: AIkVDXK5V+IuZY9tqpBgfEjFmB6U3OUzcjjhc2d/omw2sSEfqDdhk4/t33kVB4h+nWgQOrXMRI06EbInViz+Bg== X-Received: by 10.157.33.163 with SMTP id s32mr4853660otb.207.1484158971548; Wed, 11 Jan 2017 10:22:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.56.141 with HTTP; Wed, 11 Jan 2017 10:22:51 -0800 (PST) Date: Wed, 11 Jan 2017 13:22:51 -0500 Message-ID: To: PHP Internals Content-Type: multipart/alternative; boundary=001a1143cf184a2cd80545d5b06e Subject: [RFC] libsodium (PHP 7.2) From: scott@paragonie.com (Scott Arciszewski) --001a1143cf184a2cd80545d5b06e Content-Type: text/plain; charset=UTF-8 Hi all, I'm resurrecting my RFC to add libsodium as a core extension to PHP 7.2. In response to feedback from Pierre Joye, I've outlined which parts of the existing libsodium API I'd like exposed in the core extension. Most notably: - Removed crypto_aead_aes256gcm_* because OpenSSL offers it - Removed crypto_aead_chacha20poly1305_* because crypto_aead_* is awaiting the CAESAR winner https://competitions.cr.yp.to/caesar.html - Removed crypto_pwhash_scryptsalsa208sha256_* because we have Argon2i now If anyone would like to weigh in on this in the next few weeks, I'd greatly appreciate it. I'm also developing a polyfill for most of the API features (except pwhash): https://github.com/paragonie/sodium_compat Warm regards, Scott Arciszewski Chief Development Officer Paragon Initiative Enterprises --001a1143cf184a2cd80545d5b06e--