Re: [websec] ignoring STS header fields with undefined directives (was: new rev: draft-ietf-websec-strict-transport-sec-08)

Alexey Melnikov <alexey.melnikov@isode.com> Fri, 01 June 2012 20:33 UTC

Return-Path: <alexey.melnikov@isode.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 53A2C11E80B0 for <websec@ietfa.amsl.com>; Fri, 1 Jun 2012 13:33:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.884
X-Spam-Level:
X-Spam-Status: No, score=-102.884 tagged_above=-999 required=5 tests=[AWL=-0.285, BAYES_00=-2.599, 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 g-Y8iBhaIv91 for <websec@ietfa.amsl.com>; Fri, 1 Jun 2012 13:33:40 -0700 (PDT)
Received: from rufus.isode.com (cl-125.lon-03.gb.sixxs.net [IPv6:2a00:14f0:e000:7c::2]) by ietfa.amsl.com (Postfix) with ESMTP id 35AE211E8097 for <websec@ietf.org>; Fri, 1 Jun 2012 13:33:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1338582819; d=isode.com; s=selector; i=@isode.com; bh=jrzsCN1OFSfeEvnbaNr5oQPnlSjYO9LB9I99ctgOPJA=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=Y0eK3e1/LiUqFbXVdoJReL+GeAo3wBKY3os5TwZnME6m4JtlfsajlGNvPh9eZe0MqP6RtK MC8XzEE1YN6dKiIvL8boR4kp65sI2tnZeaQJT2OhpIBB9C2kalF1O8nArAmUwXdLVqh6Dm kS56w+RZaigkIlnWFXRB/sIBWe/jxtg=;
Received: from [192.168.1.144] ((unknown) [62.3.217.253]) by rufus.isode.com (submission channel) via TCP with ESMTPSA id <T8knIgAE404z@rufus.isode.com>; Fri, 1 Jun 2012 21:33:39 +0100
X-SMTP-Protocol-Errors: NORDNS PIPELINING
Message-ID: <4FC92727.5000402@isode.com>
Date: Fri, 01 Jun 2012 21:33:43 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
To: =JeffH <Jeff.Hodges@KingsMountain.com>
References: <4FC90AA5.8090502@KingsMountain.com>
In-Reply-To: <4FC90AA5.8090502@KingsMountain.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: IETF WebSec WG <websec@ietf.org>
Subject: Re: [websec] ignoring STS header fields with undefined directives (was: new rev: draft-ietf-websec-strict-transport-sec-08)
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: Fri, 01 Jun 2012 20:33:41 -0000

On 01/06/2012 19:32, =JeffH wrote:
> > Most of my issues were addressed in the latest version, except for 
> this one:
> >
> > > 6.1.  Strict-Transport-Security HTTP Response Header Field
> > >
> > > 4.  UAs MUST ignore any STS header fields containing directives, or
> > >      other header field value data, that does not conform to the
> > >      syntax defined in this specification.
> >
> > So this is saying that syntactically invalid STS header fields are
> > to be ignored. This still doesn't say if unrecognized directives are to
> > be ignored or not. (Because they can comply with the generic syntax for
> > directives, so they would be syntactically valid, albeit unrecognized).
> > So can you please add an explicit sentence about that?
>
>
> Here's the text in my working copy for that item..
>
> <t>
>               UAs MUST ignore any STS header fields containing
>               directives, or other header field value data, that does
>               not conform to the syntax defined in this specification.
>               UAs MUST also ignore any STS header fields containing
>               undefined directives.
> </t>
>
> Ok?

I agree with Julian: this will make the header field effectively non 
extensible. And if you update the header field by adding new values, all 
older implementations will start ignoring it, which is a deployment 
headache.

But if the WG thinks that that is the way to go...