Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94396 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42706 invoked from network); 5 Jul 2016 21:32:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jul 2016 21:32:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.41 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.220.41 mail-pa0-f41.google.com Received: from [209.85.220.41] ([209.85.220.41:33751] helo=mail-pa0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/73-19446-1772C775 for ; Tue, 05 Jul 2016 17:32:33 -0400 Received: by mail-pa0-f41.google.com with SMTP id b13so70640862pat.0 for ; Tue, 05 Jul 2016 14:32:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=k+YjJgp/r1+tdnPaaC+nHRYxwDnwXDt+UVL0Hd5482I=; b=mlDb11sJbb3pNCgOX2hlnC6r10d9yr6raf5YOFPGxRFmoQ9sF73WUvlsnjRDcqyAWi 3mRSOHJDaLXAet+iT7SJOQlBNCgPy88LTfjNf66KUolfKvRcNnffskCBbe68R4K4Q/ct fs/xrAOoAab5jPNDsDh7yRpSfQXzE7Xkxl8FU7mxUEsN6Du1X8yjOT4g7TmQat9/KVzF uXaXrHXw9aPU0ibNlVmMLN6xLTISOT9by0pC0EYoHpHsdS7LxmjkFkLAk+E4XypbJyu6 3x4EaL5vUzhC63ssOvOGECyiYE2hmAbW3i6UsYif+6qSlEBqVGMPlh+jI2HB/Ji+WsXO CK8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=k+YjJgp/r1+tdnPaaC+nHRYxwDnwXDt+UVL0Hd5482I=; b=W706tazEx39cFVN3gcgbuYvYpStb/r6Ei8gV1EtpaRuXK38J3goGE8twjpWyqRu2z9 UEGXP8IBbuu3MByh6a9RdpNUq199vDFjK+vgQsiRLram3D+jVvGLycHaCEuiz0IAXlV1 tLNUSS5VkrTOnaIcFsV0A38qIlKrUiG9xMgUByhdf/FWhwDKrFCvCFF0rSMSoEBp3rbd 8JMTKjFxN33Cs9rEO8IqsEj3lfGyk6kXvFibh66mTrS8f3hxrW9oLGu8q92c3SWkEj2/ htAfE/RxSQtp3e8BP/xsoWsjnmrWH/IayWF681mNj7Arl66NCEi7nCx4I9NJmswhpGVr NTDw== X-Gm-Message-State: ALyK8tI8qeWCJADK2/ORNY/2YHymXuHZ77RQ+IC23J3clM6u2ih0w2k3qxwtG6n2RYW9hA== X-Received: by 10.66.16.133 with SMTP id g5mr35922961pad.145.1467754350161; Tue, 05 Jul 2016 14:32:30 -0700 (PDT) Received: from ?IPv6:2602:304:cdc2:e5f0:c810:f59b:4d4:7e9c? ([2602:304:cdc2:e5f0:c810:f59b:4d4:7e9c]) by smtp.gmail.com with ESMTPSA id 6sm7112421pfx.68.2016.07.05.14.32.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Jul 2016 14:32:29 -0700 (PDT) To: Yasuo Ohgaki , "internals@lists.php.net" References: Message-ID: Date: Tue, 5 Jul 2016 14:32:23 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [RFC][VOTE] Session ID without hashing From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Some of us worried about CSPRNG state exposure. I'm wondering how many > of you will vote in favor if I change the RFC to use hash functions > optionally. This means code and INI settings related to hash function > selection will remain. Please note that ext/hash is not built always. > If you against keeping hash related code, please let me know also. Re-reading RFC, I'd also propose this: - Make session.sid_bits_per_character take value from session.hash_bits_per_character if the latter is defined and the former is not - Remove use_strict_mode change, it is a different issue. With this, and possibility of keeping hash as non-default option, I'd be for this RFC. -- Stas Malyshev smalyshev@gmail.com