Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72384 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86265 invoked from network); 7 Feb 2014 12:31:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Feb 2014 12:31:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=rdlowrey@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rdlowrey@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.42 as permitted sender) X-PHP-List-Original-Sender: rdlowrey@gmail.com X-Host-Fingerprint: 209.85.219.42 mail-oa0-f42.google.com Received: from [209.85.219.42] ([209.85.219.42:49995] helo=mail-oa0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A2/F8-34013-A22D4F25 for ; Fri, 07 Feb 2014 07:31:39 -0500 Received: by mail-oa0-f42.google.com with SMTP id i7so4067466oag.15 for ; Fri, 07 Feb 2014 04:31:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=zWk097SVWErm0r2VaMxl5VrgT0KpLDLYXs5wA8Najh4=; b=nPDJC/xQ7y9EFYCrv4W9u/ncITBZEyzLIzSxUePvAQk/evcpMhsUojmHeVHtPeSH1J /4yeu6HtLmHN+CoLZ4PVlnVhzs1Z3P95r/yBiJlEd2TOEgDqSfVLZZb/6vebgrnvHMeh dK+SAZvaHDwxJTRbj2f/S+dX+udPKqRC5Fc8qjZkQTt9XoB4JWIDiP7mjHrG3xNZQJdW CL6zPzWBoEZbQqC3QldtXH8jgJYZVc3F8dDq5EA0iPFUP2FDJLLJmhN8uBxM209JznXP TydbS6Ysmr+mpgtJ7K3Evy+F19bZzB1SMpg+V6FdKLy3zbNS64goSmCJD8udWh8+3o+z VfjA== MIME-Version: 1.0 X-Received: by 10.60.52.14 with SMTP id p14mr12652645oeo.28.1391776296451; Fri, 07 Feb 2014 04:31:36 -0800 (PST) Received: by 10.60.76.168 with HTTP; Fri, 7 Feb 2014 04:31:36 -0800 (PST) Date: Fri, 7 Feb 2014 07:31:36 -0500 Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11330964c1c3d504f1d02bcb Subject: Re: unify entropy source for all php related functions From: rdlowrey@gmail.com (Daniel Lowrey) --001a11330964c1c3d504f1d02bcb Content-Type: text/plain; charset=ISO-8859-1 > I would like to create two settings to unify the entropy source > accross php functions. That includes mcrypt, new password APIs, > session, LCG, etc. I'm generally against .ini directives but this sounds like a sensible approach to me. In the absence of a unified function to handle this the .ini settings prevent me from having to iterate over the potential names until I find one that's available. > I am not willing to propose new RNG functions or extensions for 5.6 as > we have way too little time to actually discuss its design and APIs. > However having these settings unified and documented would be a good > step forward already. I agree. It's too late in the game to rush something like this for 5.6. No PHP applications have exploded (that I'm aware of) for lack of a unified entropy function; we should probably discuss the best solution going forward and get it right for 5.7 ... --001a11330964c1c3d504f1d02bcb--