Re: [websec] #53: Clarify status of pin validation when used with private trust anchors

Yoav Nir <ynir@checkpoint.com> Tue, 28 May 2013 12:12 UTC

Return-Path: <ynir@checkpoint.com>
X-Original-To: websec@ietfa.amsl.com
Delivered-To: websec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9619921F96E4 for <websec@ietfa.amsl.com>; Tue, 28 May 2013 05:12:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3r0oMHznWFAq for <websec@ietfa.amsl.com>; Tue, 28 May 2013 05:12:06 -0700 (PDT)
Received: from smtp.checkpoint.com (smtp.checkpoint.com [194.29.34.68]) by ietfa.amsl.com (Postfix) with ESMTP id 887BF21F96A3 for <websec@ietf.org>; Tue, 28 May 2013 05:12:05 -0700 (PDT)
Received: from DAG-EX10.ad.checkpoint.com ([194.29.34.150]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id r4SCBuLV030484; Tue, 28 May 2013 15:11:56 +0300
X-CheckPoint: {51A49C71-A-1B221DC2-1FFFF}
Received: from IL-EX10.ad.checkpoint.com ([169.254.2.54]) by DAG-EX10.ad.checkpoint.com ([169.254.3.48]) with mapi id 14.02.0342.003; Tue, 28 May 2013 15:11:56 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Tobias Gondrom <tobias.gondrom@gondrom.org>
Thread-Topic: [websec] #53: Clarify status of pin validation when used with private trust anchors
Thread-Index: Ac2rKh9d18aqpJuvSdOlKuUlnfYpBCtpaz6AAKujpoAAAULDgA==
Date: Tue, 28 May 2013 12:11:54 +0000
Message-ID: <9E7A30FE-E598-4A73-96DA-CC865E4A8C8D@checkpoint.com>
References: <058.27d97f66ed18f6f7f41e08788db76253@trac.tools.ietf.org> <073.7596c49c42f63bc38fe20a2ed8c59450@trac.tools.ietf.org> <51A49695.9080200@gondrom.org>
In-Reply-To: <51A49695.9080200@gondrom.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.31.20.225]
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
x-cpdlp: 111777f398bfe71dec04e8c4fe3787a73204f590e7
Content-Type: text/plain; charset="us-ascii"
Content-ID: <E9045B394373B9488F667120F5AD169C@ad.checkpoint.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "<websec@ietf.org>" <websec@ietf.org>
Subject: Re: [websec] #53: Clarify status of pin validation when used with private trust anchors
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 May 2013 12:12:10 -0000

I agree. I think that this non-strict behavior is something that UAs will implement anyway, because otherwise the UA doesn't work in any place that has a "next generation firewall" (which is pretty much any firewall these days)

And if they did stick to only strict behavior, pretty much none of the potential servers would use HPKP. 

I agree that this text represents a middle ground that allows both UAs and servers to deploy the protocol.

so, +1.

Yoav
(with no hats, except maybe a next-generation firewall vendor hat)

On May 28, 2013, at 2:35 PM, Tobias Gondrom <tobias.gondrom@gondrom.org> wrote:

> Hi Chris,
> 
> I think so. (but am not 100% sure.)
> Any other comments on this issue before we close it?
> 
> Thanks, Tobias
> 
> 
> On 25/05/13 02:41, websec issue tracker wrote:
>> #53: Clarify status of pin validation when used with private trust anchors
>> 
>> 
>> Comment (by palmer@google.com):
>> 
>> The current draft has this text:
>> 
>>  578 <t>If the connection has no errors, then the UA will determine
>> whether to
>>  579 apply a new, additional correctness check: Pin Validation. A UA
>> SHOULD
>>  580 perform Pin Validation whenever connecting to a Known Pinned Host,
>> but MAY
>>  581 allow Pin Validation to be disabled for Hosts according to local
>> policy. For
>>  582 example, a UA may disable Pin Validation for Pinned Hosts whose
>> validated
>>  583 certificate chain terminates at a user-defined trust anchor, rather
>> than a
>>  584 trust anchor built-in to the UA. However, if the Pinned Host Metadata
>>  585 indicates that the Pinned Host is operating in "strict mode" (see
>>  586 <xref target="strict"/>), then the UA MUST perform Pin
>> Validation.</t>
>> 
>> I believe this is the result of previous consensus. Is that correct, and
>> can I therefore close this issue?
>> 
> 
> _______________________________________________
> websec mailing list
> websec@ietf.org
> https://www.ietf.org/mailman/listinfo/websec