Re: [websec] Decouple HSTS's two orthogonal effects?
Tom Ritter <tom@ritter.vg> Tue, 29 March 2011 21:28 UTC
Return-Path: <tom@ritter.vg>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1512F3A68FF for <websec@core3.amsl.com>; Tue, 29 Mar 2011 14:28:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level:
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3-3Y26eZ8LRH for <websec@core3.amsl.com>; Tue, 29 Mar 2011 14:28:29 -0700 (PDT)
Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by core3.amsl.com (Postfix) with ESMTP id A348E3A698F for <websec@ietf.org>; Tue, 29 Mar 2011 14:28:28 -0700 (PDT)
Received: by bwz13 with SMTP id 13so564788bwz.31 for <websec@ietf.org>; Tue, 29 Mar 2011 14:30:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ritter.vg; s=vg; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=erNsMj2t1gRU1KkMq8pFILYQWxJA4ZeIeSW+hCE4bMM=; b=jVvxzNZDJeka7FeAB/SNQiwrtkPvkDaoN82ciytGoYN7qEJbgI4tsAVussyfu2oPAE PhAiQe5xaK7+2cAMJJqxJTHuH9h4R8EM3tO4sJMBpXvedNgcDpcr0TZwDKfCdw0K2Gp5 iThct66WhpfrvttkLT0hDrhc3lHgS3Fk0smVs=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=ritter.vg; s=vg; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=kj4GeTUdC4ACvT+9ybuNIbUtpj2TaOHRjr2q1OYQu0lbHuQyOeXHQT5q9WRSXRuhrc lWSWdCYqmGLPCjNZSyNWmnVq6s5mdBB7fXX3XA0Q+2EidL6M5mv4AlUlgSYx44AjIrfz ddw03n79crdnNNunslF8pV0+tMAOCbiPBR8lk=
Received: by 10.204.48.210 with SMTP id s18mr299186bkf.176.1301434206175; Tue, 29 Mar 2011 14:30:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.204.114.73 with HTTP; Tue, 29 Mar 2011 14:29:46 -0700 (PDT)
In-Reply-To: <BANLkTinGEt42DM1NqbrjOfdqTqLUjnQ5KQ@mail.gmail.com>
References: <4D92317B.6020804@fifthhorseman.net> <BANLkTinGEt42DM1NqbrjOfdqTqLUjnQ5KQ@mail.gmail.com>
From: Tom Ritter <tom@ritter.vg>
Date: Tue, 29 Mar 2011 17:29:46 -0400
Message-ID: <AANLkTim8svP4Fu+1+GQVVRT48b0EhA9qnig5WeUBiN4w@mail.gmail.com>
To: websec@ietf.org
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: Re: [websec] Decouple HSTS's two orthogonal effects?
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 29 Mar 2011 21:28:30 -0000
On Tue, Mar 29, 2011 at 4:58 PM, Adam Barth <ietf@adambarth.com> wrote:
> There's no coupling between HSTS and the particular algorithm a UA
> uses to verify certificates. The UA is free to use whatever
> verification mechanism it desires.
This is good, but perhaps some clarification to the draft would be in order:
Section 2.2 states:
2. The UA terminates, without user recourse, any secure transport
connection attempts upon any and all secure transport errors or
warnings, including those caused by a site presenting self-signed
certificates
Knowing that HSTS allows any validation method a posteriori allows you
interpret this correctly - that self-signed certs *may* be allowed
under HSTS, if the user has added them to their store. But without
that, it may be interpretted incorrectly - that no self-signed certs
would be allowed. Furthermore, I'm not sure, but "any and all secure
transport errors or warnings" may be ambiguous. I don't know if it's
an existing standard to enter a warning or error state in event of
(for example) a revocation check failure - although we do know that
most browsers do not present any warning or error. There's more on
that in Adam Langley's thread. If HSTS does not define whether or
not a revocation check failure is an error condition, I think it
should.
Also Section 9 recommends distributing root CA certs to users'
browsers, and does not mention the possibly of distributing the leaf
certs instead. Less related, but I prefer to trust organizations leaf
certs individually than their root cert.
-tom
- [websec] Decouple HSTS's two orthogonal effects? Matt McCutchen
- Re: [websec] Decouple HSTS's two orthogonal effec… Tom Ritter
- Re: [websec] Decouple HSTS's two orthogonal effec… Devdatta Akhawe
- Re: [websec] Decouple HSTS's two orthogonal effec… Tobias Gondrom
- Re: [websec] Decouple HSTS's two orthogonal effec… =JeffH
- Re: [websec] Decouple HSTS's two orthogonal effec… Daniel Kahn Gillmor
- Re: [websec] Decouple HSTS's two orthogonal effec… Yoav Nir
- Re: [websec] Decouple HSTS's two orthogonal effec… Adam Barth
- Re: [websec] Decouple HSTS's two orthogonal effec… Tom Ritter
- Re: [websec] Decouple HSTS's two orthogonal effec… Adam Barth
- Re: [websec] Decouple HSTS's two orthogonal effec… Daniel Kahn Gillmor
- Re: [websec] Decouple HSTS's two orthogonal effec… Adam Barth
- Re: [websec] Decouple HSTS's two orthogonal effec… Phillip Hallam-Baker