Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70718 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22457 invoked from network); 17 Dec 2013 17:43:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Dec 2013 17:43:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.177 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.216.177 mail-qc0-f177.google.com Received: from [209.85.216.177] ([209.85.216.177:57749] helo=mail-qc0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C1/43-32483-E2D80B25 for ; Tue, 17 Dec 2013 12:43:10 -0500 Received: by mail-qc0-f177.google.com with SMTP id m20so5115994qcx.8 for ; Tue, 17 Dec 2013 09:43:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7CFcNR+98wo5ZM1/gpVJHWfhv8QlvgZx/mrkvmJmJXg=; b=YZ7C6A4PfgvxusfH18RVG7OMl04QA+PydFXdcxJU2eE4/tsTaKuMKirAU9IjBTYhK8 iTqwon1/INCrB68by67XFEEx4ekH2qqOBt3czKs0AUoaw3NwgYTyu0ptKdPPdy8xdN20 HdVE2sRax/RoHZggF/aKFyrZrnk5+2G2gb12mzr+Hhru2xZLTGG+Ye2TBJXmBc+KGyKR 8eOFkh6jMQqEoa8Mi9wynjznY6jkLUPb3D96tq1ce1+jQqH+xmywgy1Vsnl5qvgRzJpD tg2Q4J+lIMgr0prZgqQQJicwvWy11W1+xFsmSqbbXNIcHihHD/WjPA7eXCYY4IuYxhTl HoBA== MIME-Version: 1.0 X-Received: by 10.224.8.72 with SMTP id g8mr45020554qag.83.1387302188207; Tue, 17 Dec 2013 09:43:08 -0800 (PST) Received: by 10.140.37.179 with HTTP; Tue, 17 Dec 2013 09:43:08 -0800 (PST) In-Reply-To: <52B07A6C.9090305@php.net> References: <52AFABF7.60105@sugarcrm.com> <52B004E2.30607@php.net> <52B03511.8040603@php.net> <52B03ADB.9050703@php.net> <52B07689.9010505@ajf.me> <52B07A6C.9090305@php.net> Date: Tue, 17 Dec 2013 18:43:08 +0100 Message-ID: To: Joe Watkins Cc: PHP Internals , Andrea Faulds Content-Type: multipart/alternative; boundary=001a11c2478e1fd64504edbe76c6 Subject: Re: [PHP-DEV] [VOTE] TLS Peer Verification From: tyra3l@gmail.com (Ferenc Kovacs) --001a11c2478e1fd64504edbe76c6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Dec 17, 2013 at 5:23 PM, Joe Watkins wrote: > On 12/17/2013 04:06 PM, Andrea Faulds wrote: > >> >> >> On 17/12/13 11:51, Joe Watkins wrote: >> >>> I'm saying that we should, definitely, accept the patch; in this >>> specific case we can fix the implementation or security issue without >>> affecting behaviour, >>> >> >> Unfortunately that's not true. To fix the security issue REQUIRES >> affecting behaviour. Otherwise it's not fixed. >> >> > If the CA file is present with verification enabled the vast majority of > requests will execute as they do now, but securely. Most of the time, no > evident change. If the CA file is not present change is introduced, lots = of > it. > > Changing the behaviour of the language from an internals perspective does > not and should not mean changing the behaviour of code unless that is the > intention behind the change, obviously. > > > Cheers > Joe > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Yes, as I mentioned shipping a CA file would help some users (we can only guess here, but I think most users would be using the shared CA bundle from their distro, and only a small percentage would use the one that we provided). On the other hand everybody else apart from the browsers seems to be trying to *not* ship their own CA bundle anymore. Python doesn't ship one (even though it was requested: http://bugs.python.org/issue13655) Ruby doesn't ship one. Java has it's own: http://docs.oracle.com/javase/6/docs/technotes/tools/windows/keytool.htmldi= stros try to wrap that away, which can cause bugs like this: https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/920758 Perl doesn't ship one, but has multiple cpan modules which provide CA bundles. I stopped looking, but I really think that we should refrain from shipping a CA bundle and take the burden of maintenance to ourselves. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --001a11c2478e1fd64504edbe76c6--