Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94368 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97544 invoked from network); 4 Jul 2016 03:04:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jul 2016 03:04:28 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.182 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.220.182 mail-qk0-f182.google.com Received: from [209.85.220.182] ([209.85.220.182:34957] helo=mail-qk0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0D/8A-28154-A32D9775 for ; Sun, 03 Jul 2016 23:04:27 -0400 Received: by mail-qk0-f182.google.com with SMTP id u124so30993959qkh.2 for ; Sun, 03 Jul 2016 20:04:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=55OfoDF/sE2JC2flqKjLkyVgrauyz2hdWNMfGNi0zeY=; b=tYM8eKbEOdayGmj4cNoXQu6Oe8ipa31+MqPrkCbLav22kW4qpJ3yW3tbTy5agtXuek 6fbMBNCXJC2rVaSBmHUEpJmLaslprTmiK4hItzYee0igkEGF1AVgqGccKWHwpJepOlPN 4WSrjTXUogddlDPGkaAWvfk6DWr6O9kFOUM6ewyECX4tsOoc5rP95fgrYezR76Oy0zeg K6Lct0w+C7RQjsgamRh6ynS6kPgju1aldfWb82BxguvjsUhVp9Y6PEc3qfrfqT6XXjw4 O3ws/XZvhIfuo4DduFnzCyqMLDPcuu6MrhRfPi+PYPu/o1dkgqHhdpvELuqTEA6D+ALl CcwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=55OfoDF/sE2JC2flqKjLkyVgrauyz2hdWNMfGNi0zeY=; b=PHW5k1P/lVLOTa6HhNGIyxIPb4Ywte7vjAJf+9t826s8YyqrbNL7dGzGWyVPQD7bN5 U8dEo8zAxs32mO7Tn3EuFtfzbNqPGVOPqYUN2QwStrqPVeHasK419jcYf6gJft3NKfJM 0RPWWp6G/lMEiPpdu6R2/vVDrbpxakT0k+8qYcZFkXeVz2CoRR6h2kALgHrC16C1f2vh Z/0j0xIydGW1oEJbalqYR2EX3Z16fVwroLJKXFJjfZePgVOCry0GWpqCjrgtGnaoWVtQ yYzAatOW3DoE+irt0S2o8TruN+Zqskm5r9b3Q06BXdWuJU/Y/lESqIku6XgljAGGxEAO rJeA== X-Gm-Message-State: ALyK8tKD9+aFJQkuKD59Ga2TN6x5ahUn/bXuJBT/y7kiJNOEusogMVL9iy16ka55Stj3sfTlc9OSFdL9ZsrnBQ== X-Received: by 10.55.179.195 with SMTP id c186mr13374574qkf.28.1467601464500; Sun, 03 Jul 2016 20:04:24 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.140.17.33 with HTTP; Sun, 3 Jul 2016 20:03:45 -0700 (PDT) In-Reply-To: References: Date: Mon, 4 Jul 2016 12:03:45 +0900 X-Google-Sender-Auth: -Yl6UqZbwUgMg07b7l3bjQDscFE Message-ID: To: Pierre Joye Cc: PHP internals , Leigh Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC][VOTE] Session ID without hashing From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi Pierre, On Sun, Jul 3, 2016 at 2:16 PM, Pierre Joye wrote: > > On Jul 3, 2016 7:04 AM, "Yasuo Ohgaki" wrote: >> >> Hi Leigh, >> >> On Sat, Jul 2, 2016 at 5:39 PM, Leigh wrote: >> > So I have a few issues that span the RFC and the implementation. >> > >> > Your RFC states >> > >> >> hardcoded default and php.ini-* default values are the same. >> > >> > This is not the case. >> > >> > Originally the session id length and character set were controlled by >> > session.hash_function and/or session.hash_bits_per_character. These >> > customisations to configuration will be lost when the user upgrades. You >> > have provided a mechanism to control length and charset, but it will >> > require >> > new changes to the default settings. This needs to be noted as a >> > breaking >> > change. >> > >> > Your default for session.sid_length is 48. Up to 7.1 the session id >> > length >> > is 32. Your default for session.sid_bits_per_character is 5, up to 7.1 >> > the >> > session id uses 4 bits per character. This is a breaking change. >> > (Imagine >> > custom session handlers that validate session id character sets, or >> > database >> > schemas that will truncate after 32 characters) >> >> I'll update relevant part. >> >> > Your patch updates session.use_strict_mode from 0 to 1. I actually don't >> > know what this changes, but it's an undocumented change. >> >> This is unintentional. I'll remove this part. >> >> > Overall your patch looks very similar to the one I was working on >> > earlier in >> > the year, although you appear to have deleted a bunch of tests that you >> > could have just updated. You should probably put those back, and update >> > them. >> >> It removes hashing, so irrelevant tests are simply removed. >> >> Thank you for point them out. >> I'll fix them now. > > Restart vote too please. Sure. I extended vote period. Fix for RFC and patch is done. Please vote. https://wiki.php.net/rfc/session-id-without-hashing Thank you! -- Yasuo Ohgaki yohgaki@ohgaki.net