Re: [websec] Re-litigating Key-Pinning

Yoav Nir <ynir.ietf@gmail.com> Thu, 28 August 2014 14:32 UTC

Return-Path: <ynir.ietf@gmail.com>
X-Original-To: websec@ietfa.amsl.com
Delivered-To: websec@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B144C1A6F8F for <websec@ietfa.amsl.com>; Thu, 28 Aug 2014 07:32:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hu5i2Vl0Wkp3 for <websec@ietfa.amsl.com>; Thu, 28 Aug 2014 07:32:30 -0700 (PDT)
Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4888B1A6F8A for <websec@ietf.org>; Thu, 28 Aug 2014 07:32:29 -0700 (PDT)
Received: by mail-la0-f47.google.com with SMTP id s18so1069819lam.34 for <websec@ietf.org>; Thu, 28 Aug 2014 07:32:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=c+J0MS/dbFODtl/jyi94pz5DVB36waY02SVcf11fkBs=; b=YoMTdlRYyssaFHbOGOzP2w4j6SXZb/jp2+7XT9nhGde28DJbTdcS5zOs7PfFn7XZrN m/SrRhNThKNS16u0DCqmxRs24pAVfq4/erN7vXZ4iXX6f7rEm5l++qdGlmhVDzn0jRPX Wbq77MNViMcF+JHFRv5Ik49SCMjQlOYYUAe9y7KxQcBrtGKjazAjVOjuSEPmFE8nfkTP 5VTM3gncs27Dr/u49JJdbA+G5bhLnzAekZibKsDSu20ULFO5sBCZ7yHCeycY5k/TWMIU QHxxYVZQfApU9L9I/Z2bSrXEbTogI5FZop5NL8Qcrw2dvhYZEyHw65E2h3zgVrBOzmBF UTXg==
X-Received: by 10.152.44.162 with SMTP id f2mr4741798lam.84.1409236346612; Thu, 28 Aug 2014 07:32:26 -0700 (PDT)
Received: from [172.24.249.230] (dyn32-131.checkpoint.com. [194.29.32.131]) by mx.google.com with ESMTPSA id i5sm6222902lbd.27.2014.08.28.07.32.25 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Aug 2014 07:32:26 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_E1B49EE1-E1DF-4CB2-BD1A-B984832991CA"
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <53FF2333.9080804@gmx.de>
Date: Thu, 28 Aug 2014 17:32:23 +0300
Message-Id: <26265CC4-6C48-4518-A177-DD56CC1AC414@gmail.com>
References: <6CAA88AE-1A98-4FF1-B994-A43A0AD3930D@gmail.com> <53FEC72A.7010605@greenbytes.de> <6CA0E2AF-C758-4EFF-9506-E2E545FB4EBA@gmail.com> <53FF2333.9080804@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/websec/WzYkvmFvvm24Em99MJO4wJIx3zY
Cc: Barry Leiba <barryleiba@computer.org>, "<websec@ietf.org>" <websec@ietf.org>
Subject: Re: [websec] Re-litigating Key-Pinning
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.15
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: Thu, 28 Aug 2014 14:32:35 -0000

On Aug 28, 2014, at 3:40 PM, Julian Reschke <julian.reschke@gmx.de> wrote:

> On 2014-08-28 10:01, Yoav Nir wrote:
>> 
>> On Aug 28, 2014, at 9:07 AM, Julian Reschke <julian.reschke@greenbytes.de> wrote:
>> 
>>> On 2014-08-27 07:44, Yoav Nir wrote:
>>>> ...
>>>> Fixing editorial issues like Julians’ comments about references is fine, and could even be done *after* IESG review. ...
>>>> ...
>>> 
>>> FWIW, I believe the ABNF issues (which are *not* editorial) absolutely need to be fixed as well.
>>> 
>> 
>> Hi, Julian
>> 
>> I don’t want to nit-pick the meaning of the word “editorial”. But anyone who’s read the draft knows what a PKP header looks like. I don’t think there’s any controversy about what is and is not a valid PKP header. So changing the ABNF to reflect this existing understanding, is something that I don’t think requires polling the group.
>> ...
> 
> The issue is that the ABNF is ambiguous about whether
> 
>     Public-Key-Pins: max-age=3000;
>       pin-xyz=abc;
> 
> is syntactically valid or not. I believe it should be, because otherwise parsers would need to special-case the "pin-*" parameters when parsing.
> 
> Best regards, Julian

Well, this might lead to me being proven wrong in my statement that everyone agrees what a valid PKP header is, but I also think this should be syntactically valid. However, clients that only support *this* document (and not “xyz and its use in key pinning”) would not pin anything based on this header.

Yoav