Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97722 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83899 invoked from network); 12 Jan 2017 10:24:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jan 2017 10:24:18 -0000 Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=julienpauli@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.179 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 209.85.210.179 mail-wj0-f179.google.com Received: from [209.85.210.179] ([209.85.210.179:33757] helo=mail-wj0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 42/E3-50165-F4957785 for ; Thu, 12 Jan 2017 05:24:16 -0500 Received: by mail-wj0-f179.google.com with SMTP id kq3so8725827wjc.0 for ; Thu, 12 Jan 2017 02:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=mYOu8vdiOt6bmSJwKUjnxUrwhPr0Z1Wq7gQdinLXNIA=; b=pCFgErqHseEX+i+P2chkvLyLgTb+xrTcu/l5T2e2QZpMZT38lv+gkAdBAuLLjDjdTu CaZUncNctNX4GphPgH99Bg9OICvj66NMn0/DzHa5vTdbXeOR4l5infbmbRn6EylCs8H6 VKPNRmoDL5GL3P/IKa8d7wwdKmtAyZF12QoVBCcd8d1qVxShgBrOQnYkQ8gc88Co0RZb rpHR7dtNXyY7iUVuTu+PGs7opsy768X02SaYxRBtc2LlYchY1zWTy8L3KUf85bHXCF1L Er3eJIkQDgADRmGL3z44kh7AjX6xor2dTAtzQqFnta4CVZg4/jowNkb275mKqDS6Plqd GOaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=mYOu8vdiOt6bmSJwKUjnxUrwhPr0Z1Wq7gQdinLXNIA=; b=XPqnPTIUiIl5zPqsQSuBMLMKp/jtlkKvVmpBo+avCog1c6lmYNPT9GTkUsjfIUJaMg LNKWfDQcoJyXDxqEIKZ2RqRGQpm1oIg+KTDI3oHuFJ51RTWC3h5yNMqZsIhicS8QEwZS 5t8Ne4h+2sTepZjqoH34kk9/B5U5kE0wchI3hifOwUGxm2hIJYagwjt+cgEU/+x0Q3oH h07//1UBG5meuBncw4Cd1XvJsLSX7nGHRVhl2Ft+GCaPr/0GjU6r3MC61xdsFiewdbk1 +ruVnnAxOiK4BeH+WSyEuHFJo5r2E91IbqYvYSbsIUya2JdchPGa5G/PG6FRS6PYGS4d HSbA== X-Gm-Message-State: AIkVDXIwAyNHkUKai2D0AzSAqqSMobqM/RqrR1U90lize08CrEnF5qAF70RZuR1al6HMvXcNBZcjCVoYDoYcPA== X-Received: by 10.194.231.193 with SMTP id ti1mr5184597wjc.81.1484216652453; Thu, 12 Jan 2017 02:24:12 -0800 (PST) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.194.96.148 with HTTP; Thu, 12 Jan 2017 02:23:32 -0800 (PST) In-Reply-To: References: Date: Thu, 12 Jan 2017 11:23:32 +0100 X-Google-Sender-Auth: hn0XOvfv8_b08ukarBYPxGa7YmE Message-ID: To: Scott Arciszewski Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a1136a42256def50545e31e25 Subject: Re: [PHP-DEV] [RFC] libsodium (PHP 7.2) From: jpauli@php.net (Julien Pauli) --001a1136a42256def50545e31e25 Content-Type: text/plain; charset=UTF-8 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 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 > > I guess you are talking about this : https://wiki.php.net/rfc/libsodium Huge +1. 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 --001a1136a42256def50545e31e25--