Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97807 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82887 invoked from network); 17 Jan 2017 10:49:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jan 2017 10:49:32 -0000 Authentication-Results: pb1.pair.com header.from=scott@paragonie.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=scott@paragonie.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain paragonie.com designates 209.85.218.45 as permitted sender) X-PHP-List-Original-Sender: scott@paragonie.com X-Host-Fingerprint: 209.85.218.45 mail-oi0-f45.google.com Received: from [209.85.218.45] ([209.85.218.45:33384] helo=mail-oi0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D3/E2-00729-AB6FD785 for ; Tue, 17 Jan 2017 05:49:30 -0500 Received: by mail-oi0-f45.google.com with SMTP id w204so117310827oiw.0 for ; Tue, 17 Jan 2017 02:49:30 -0800 (PST) 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:from:date:message-id:subject:to :cc; bh=OOYioYgrvkYxza2NfEIW8ue6tMSUPYOQjoA+D1tk/lE=; b=h+LZEHseHkxlyUJTOtvAzQ2xJn0flY+1Vo6EymCwQdhjslkIk1yumeDcs4N/V6Uxru u8h6LMyz/AyHgcwQcn42NEXqlEF1ws96p7lQdRC46+PKbqvgOfnoUL13OeWudqXQyK8H E8AOiKZNvBFNfkEfWI9UhkV/zGb7DMBo2JjR/lS1Hcj1T1ca5k3yIlX+QfFs+BU05E52 XNMXPaGG29F5Xy7fh5YnG8VM4o3sVlkJF8VcAv13+A1XOP8i1rBAQ2wbgSY7PBNM5VJv 3SWLQh3g7Zh3XvFvVnJ7Y9rJIast0sT1UfiKd7xsXOj4Og+uXpNI2E7tE7yZjauu0L+g xg3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=OOYioYgrvkYxza2NfEIW8ue6tMSUPYOQjoA+D1tk/lE=; b=BSKP9R4vrRe/rSSzFEJ0TJmRlLlV0Uo0L/XeVK6UbVo6lYlGkGHVE+jjrvbR1SNmfu f9H4ohfEzRt+Q6LZ0UniI8Z119m0EIFbQE1j3rsHUizP8mdfM6Z6P3+lb5cAo0YFsckp rxt4+tzDYYSTImrMHZSIUMdUIfKi+2J7JLlbcFSPeSre7wlLYrYVFYHMQ2n7qrKaNjMl z09WIgupgqcW1i4xIv4Rr6POO3PFgS6++/N6ETunHKYlbyH56MrcL4GPFM/BRHiUtLjI 08CkQ3IaJ41GH5sBQ7Rac1cFeU4KEK9WWWObJ/WKodcz+lN5jD3uWjPOrbmL3KxfMDrg HndQ== X-Gm-Message-State: AIkVDXIWLWAjtwlUHjl6eK9ZWyl8UXiIeySQqf4PmNrAXWVxojjVvjzZ6Mg2P/Adu0X34NL+uImD5jDHnb7V9Q== X-Received: by 10.202.175.10 with SMTP id y10mr19428133oie.188.1484650167980; Tue, 17 Jan 2017 02:49:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.56.141 with HTTP; Tue, 17 Jan 2017 02:49:27 -0800 (PST) In-Reply-To: References: Date: Tue, 17 Jan 2017 05:49:27 -0500 Message-ID: To: Julien Pauli Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a113ce83ce0e62f0546480d0d Subject: Re: [PHP-DEV] [RFC] libsodium (PHP 7.2) From: scott@paragonie.com (Scott Arciszewski) --001a113ce83ce0e62f0546480d0d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Jan 12, 2017 at 5:23 AM, Julien Pauli wrote: > On Wed, Jan 11, 2017 at 7:22 PM, Scott Arciszewski > wrote: > >> 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 t= he >> 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 awaiti= ng >> 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 >> >> > I guess you are talking about this : https://wiki.php.net/rfc/libsodium > > Huge +1. > > =E2=80=8B=E2=80=8B > > What about libsodium usage under Windows ? > I guess under *Nix, we'll rely on the OS shipping of the library , but > that's not the same flavour for Windows, where we usually need to embed, > and maintain the library. > > I see a second vote for the API , PHP is not really a language where > You\Use\Things\Like\That , I'm all +1 to use_things_like_that() instead := -) > > After Mcrypt has been abandonned , we really really need such a library > binding added to Core IMO. > > > Julien.Pauli > =E2=80=8BYep, that's the correct URL.=E2=80=8B =E2=80=8B > What about libsodium usage under Windows ? > I guess under *Nix, we'll rely on the OS shipping of the library , but > that's not the same flavour for Windows, where we usually need to embed, > and maintain the library. =E2=80=8B =E2=80=8BI'll defer to Pierre Joye on the =E2=80=8Bintricacies involved wit= h Windows, as that's a topic I'm mostly unfamiliar with. Sorry I can't offer much more in response to that. Scott Arciszewski Chief Development Officer Paragon Initiative Enterprises =E2=80=8B --001a113ce83ce0e62f0546480d0d--