Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72794 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77143 invoked from network); 24 Feb 2014 13:40:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Feb 2014 13:40:34 -0000 Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 209.85.160.176 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.160.176 mail-yk0-f176.google.com Received: from [209.85.160.176] ([209.85.160.176:53924] helo=mail-yk0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DF/00-10285-1DB4B035 for ; Mon, 24 Feb 2014 08:40:34 -0500 Received: by mail-yk0-f176.google.com with SMTP id 19so14490759ykq.7 for ; Mon, 24 Feb 2014 05:40:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xkdNyXhmXjV71qT4lfKLo5IG/7jCYCd2aylhPCPMwUQ=; b=BlXRVYGySUqe60hekoaQcKdDPXwccFnGEOmvlXFOq0o/wVQP5DaxnDd9n+1ESOFh+c MvJ7YOyMxG/FZ+5T3yefKGxeCy6uITtCM2m102+DHlGlSnGOL73xo2AMlSYyiuIj9M4s b7fiMPx9w8yMGhx2uEUc1L4Rg97+ufNpt7p3w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=xkdNyXhmXjV71qT4lfKLo5IG/7jCYCd2aylhPCPMwUQ=; b=WNFY4M9rtKTPi6R0IIEjAKZJm9/nC5zeOquD6W6depU9Q6NLE/9QErkrRGoIDZfVe4 LdvW7i8n6rJ3bCComz5wHvXm0Mkevt3+6TPISzsft+hp457AO0MgmiAC9XzFh84fIqIu T7lqJLCL6xTwSTv+5Xl5I/8P4w6E7ykuj2MZ7q47HMZpRaTMbiU/XM2aDFvisGMwly1N wtUPh7a+qZtTS06BdskDfFx/jWhzV2NC8TkdWFLQudE6MKF7+EiC9OqLCoF1ANpGYxYf YqfpqZ4ecphMHDjzXqZ+Y4OUtDMCDCJmdTac4wfWbGBE3EcVMJu+t5oKsrJhSFHLL0NN nhHg== X-Gm-Message-State: ALoCoQlUmImxi18Ve1/zQ4nggm9nT5Dkw0WWzbkm6WtX0U0Wh14yWuDsKuWVRfjOHCVY8sQ65kJS MIME-Version: 1.0 X-Received: by 10.236.134.48 with SMTP id r36mr951181yhi.133.1393249230896; Mon, 24 Feb 2014 05:40:30 -0800 (PST) Received: by 10.170.188.139 with HTTP; Mon, 24 Feb 2014 05:40:30 -0800 (PST) In-Reply-To: References: <5302ABF6.60407@sugarcrm.com> Date: Mon, 24 Feb 2014 15:40:30 +0200 Message-ID: To: Yasuo Ohgaki Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] Secure Session Module Options/Internal by Default From: narf@devilix.net (Andrey Andreev) On Mon, Feb 24, 2014 at 12:00 PM, Yasuo Ohgaki wrote: > Hi Andrey, > > On Mon, Feb 24, 2014 at 6:50 PM, Andrey Andreev wrote: >> >> > - hash_bits_per_character will be removed from the RFC. >> > - Possible issue with ID length change will be documented. >> > - "id_length" will be removed. User should use hash index search. >> > - Raise error when hash function is not available. >> >> I'd be happy with that, yes. :) >> Although for hash_bits_per_character, I only insisted the RFC to >> explain that this is a change complementing hash_function. > > > OK. I'll document it. > >> > >> > Raising error seems not good... >> > If hash extension is available always, it might be easier for other >> > module, >> > too. >> > Do not allow DL/disabling hash extension, perhaps? >> >> >> I see no reason why anybody would want to disable the Hash extension, >> so sure - I'd remove that choice. > > > I agree. It will be added to the RFC. > >> >> However, silent fallback for stuff like this is never a good thing and >> somebody might i.e. make a typo while configuring, so why not raise >> E_WARNING for invalid hash_function regardless? > > > Make sense to me, too. > I'll make it raise error for any invalid hashes. > > Thank you for your help :) Well, I'm glad we finally sorted it out. Although this was all my personal input, somebody else might disagree on the non-disableable ext/hash. :) Cheers, Andrey.