Re: [websec] Strict-Transport-Security syntax redux

Tobias Gondrom <tobias.gondrom@gondrom.org> Thu, 05 January 2012 04:55 UTC

Return-Path: <tobias.gondrom@gondrom.org>
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 3DFEC21F84D7 for <websec@ietfa.amsl.com>; Wed, 4 Jan 2012 20:55:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -96.778
X-Spam-Level:
X-Spam-Status: No, score=-96.778 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, FH_HELO_EQ_D_D_D_D=1.597, HELO_DYNAMIC_IPADDR=2.426, HELO_EQ_DE=0.35, HELO_MISMATCH_DE=1.448, USER_IN_WHITELIST=-100]
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 F-Qr481CQ0Xs for <websec@ietfa.amsl.com>; Wed, 4 Jan 2012 20:55:19 -0800 (PST)
Received: from lvps83-169-7-107.dedicated.hosteurope.de (www.gondrom.org [83.169.7.107]) by ietfa.amsl.com (Postfix) with ESMTP id 50B1B21F84C3 for <websec@ietf.org>; Wed, 4 Jan 2012 20:55:19 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gondrom.org; b=ACosOWwRgN+eoUmqRxClbEdywJTYWwJizGiZvAQNQ5Wno1J+eY9yDgtg5ph0/yyzep07DLVfzrgYoW7XIN3XIN5s0sOa4RaPqWZt1RxQUyz4smhQw+eOxXCdOxAbuQb5; h=Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding;
Received: (qmail 11380 invoked from network); 5 Jan 2012 05:55:13 +0100
Received: from unknown (HELO ?10.5.8.84?) (61.8.220.69) by www.gondrom.org with (DHE-RSA-AES256-SHA encrypted) SMTP; 5 Jan 2012 05:55:13 +0100
Message-ID: <4F052D2E.5050200@gondrom.org>
Date: Thu, 05 Jan 2012 04:55:10 +0000
From: Tobias Gondrom <tobias.gondrom@gondrom.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0
MIME-Version: 1.0
To: websec@ietf.org
References: <4EAB66B3.4090404@KingsMountain.com> <4EABB25E.9000900@gmx.de> <4EFC5F7B.7050304@gmx.de> <CAJE5ia_HhenArVey=5-ttLqh4-vbBE01TFZKuzAmAtHQJQJ3kQ@mail.gmail.com> <4EFCD7E4.5060507@gmx.de> <CAJE5ia-w47HHhnTBAE_PMApAAdCu=6PJexaaoJO0MZ23Ae-vcw@mail.gmail.com> <4EFCDA9C.90308@gmx.de> <CAJE5ia-E1nhN1YGV6uy3uEq4oboQowDm4FboKbWV1kunHQmXPw@mail.gmail.com> <4EFCDDD5.6040005@gmx.de> <CAJE5ia8CL9ozRJgRNCdu6XwVT0paVuVUreB12f-BiMvH+wiq6A@mail.gmail.com> <4EFD73E6.1060506@gmx.de> <CAJE5ia8RBa8iCd_9TjXyzG54VASa6qqGomsO9gL-qQ2ia=BKLg@mail.gmail.com> <4EFD7C09.9050702@gmx.de> <CAJE5ia8aN_MKUX_7ehp6siw=CY7nC4aSRPoPcsaDX8+emwaFVw@mail.gmail.com> <4EFD8BCE.7010909@gmx.de> <CAJE5ia9cziSx-xb6nCEFXJkbu2Ls_ZQmYHpfrC7UK3ig3ZmM2g@mail.gmail.com>
In-Reply-To: <CAJE5ia9cziSx-xb6nCEFXJkbu2Ls_ZQmYHpfrC7UK3ig3ZmM2g@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [websec] Strict-Transport-Security syntax redux
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: Thu, 05 Jan 2012 04:55:20 -0000

Hello websec fellows,

<hat="chair>
as it seems there is disagreement on how to resolve this, with only very 
few people having spoken out so far, I would like to invite comments 
from other working group members on this topic to see whether we might 
have missed something.

Best regards, Tobias


On 30/12/11 18:37, Adam Barth wrote:
> It seems we're not in agreement.  We can repeat the same arguments
> over and over again, but it's not clear that would be productive.
>
> Adam
>
>
> On Fri, Dec 30, 2011 at 2:00 AM, Julian Reschke<julian.reschke@gmx.de>  wrote:
>> On 2011-12-30 10:13, Adam Barth wrote:
>>> Using quoted-string in the extension directive is the wrong thing to
>>> do.  Because none of the actual directives use quoted-string, folks
>>> are likely to write parsers that don't handle all the complexities of
>>> quoted-string (which are legion).  That means when we go to actually
>>> use quoted-string in a future directive, it won't actually work in
>>> many user agents.
>>
>> Unless we clarify the syntax, allow q-s everywhere, and have test cases.
>>
>>
>>> On the other hand, if we spec the extension directives without
>>> quoted-string, future extensions will work even if folks mistakenly
>>> implement quote-string (because DQUOTE is forbidden in the extension
>>> syntax I suggested above, so we'll never trigger the mistaken
>>> quoted-string parsing code).  Everyone lives a happy life.
>>
>> Absolutely not.
>>
>> First of all, some implementations will parse q-s, because that's consistent
>> with other header fields. Also, not having q-s makes certain values
>> impossible to send, in which case you'll need to invent yet another escaping
>> syntax.
>>
>>
>>> Anyway, it's all somewhat of a moot point because the above will
>>> happen regardless of what we write in the spec.  Even if we write
>>> quoted-string, when folks attempt to use these extension directives in
>>> the future, they'll find that they don't work and they'll update the
>>> syntax not to use quoted-string.
>>
>> Why would they find that? Implementations can be fixed.
>>
>> Or is this argument based on the fact that you *currently* "own" one
>> implementation and claim it can't be fixed? That would be a very strange
>> thing to do in the context of an IETF WG trying to reach consensus.
>>
>> Best regards, Julian
>>
>> PS: I note that we are in violent agreement that the syntax should be the
>> same for all directives, predefined or extension. We just come to different
>> conclusions about what that syntax should be.
> _______________________________________________
> websec mailing list
> websec@ietf.org
> https://www.ietf.org/mailman/listinfo/websec