Re: [websec] Certificate Pinning via HSTS (.txt version)

Chris Palmer <palmer@google.com> Tue, 13 September 2011 20:59 UTC

Return-Path: <palmer@google.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 9308711E80E5 for <websec@ietfa.amsl.com>; Tue, 13 Sep 2011 13:59:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.977
X-Spam-Level:
X-Spam-Status: No, score=-105.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4, 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 NWW5qR6VnHYQ for <websec@ietfa.amsl.com>; Tue, 13 Sep 2011 13:59:00 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by ietfa.amsl.com (Postfix) with ESMTP id F110C11E80DB for <websec@ietf.org>; Tue, 13 Sep 2011 13:58:59 -0700 (PDT)
Received: from hpaq3.eem.corp.google.com (hpaq3.eem.corp.google.com [172.25.149.3]) by smtp-out.google.com with ESMTP id p8DL16LL007591 for <websec@ietf.org>; Tue, 13 Sep 2011 14:01:06 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1315947666; bh=VXXJyUKwhwBgGSfND1P6tMyILvs=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Content-Type:Content-Transfer-Encoding; b=sonEAwUROwSa4l5W6PdqGhRMeofeFCMIcS+kbSNWIOliFc4T+HaV+raNO191wch+I AVixXk7MDz25V4YdRYE5g==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=dkim-signature:mime-version:in-reply-to:references:date: message-id:subject:from:to:content-type: content-transfer-encoding:x-system-of-record; b=B66FVA9LpiBQ3c/ZBSUOIygMp3eLDVnHrN8N9NHgua2U1HZJRPIKXlSkAqjf4hhAb 2/MzpldjnPisvhvxIvA+Q==
Received: from wyf22 (wyf22.prod.google.com [10.241.226.86]) by hpaq3.eem.corp.google.com with ESMTP id p8DL0pO0029105 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <websec@ietf.org>; Tue, 13 Sep 2011 14:01:05 -0700
Received: by wyf22 with SMTP id 22so1000578wyf.32 for <websec@ietf.org>; Tue, 13 Sep 2011 14:01:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Fd9I99QgYuqIjXhp3sG9Jq+Ctad5viv7L5zAjvT0DHg=; b=w84LLilVbHq1adRVw2DUAMed9uBiYd4skD+ryelcXKN4eNSKk0tOULmlDbmxNuKH17 XTcTfRL5Dfb39aNkqh/g==
Received: by 10.216.71.5 with SMTP id q5mr1478799wed.4.1315947158400; Tue, 13 Sep 2011 13:52:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.216.71.5 with SMTP id q5mr1464586wed.4.1315946147994; Tue, 13 Sep 2011 13:35:47 -0700 (PDT)
Received: by 10.216.61.16 with HTTP; Tue, 13 Sep 2011 13:35:47 -0700 (PDT)
In-Reply-To: <4E6FB7CB.3020309@extendedsubset.com>
References: <4E6E9B77.1020802@KingsMountain.com> <4E6F9DC6.2080006@stpeter.im> <FA8A58ED-DD2B-446B-9F01-9D1D25140569@checkpoint.com> <4E6FB7CB.3020309@extendedsubset.com>
Date: Tue, 13 Sep 2011 13:35:47 -0700
Message-ID: <CAOuvq20H+pG1AF0u-=-Ow9oR=uGRb-wDwrFE6dPmT=HbvnO6VA@mail.gmail.com>
From: Chris Palmer <palmer@google.com>
To: Marsh Ray <marsh@extendedsubset.com>, IETF WebSec WG <websec@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
Subject: Re: [websec] Certificate Pinning via HSTS (.txt version)
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, 13 Sep 2011 20:59:00 -0000

On Tue, Sep 13, 2011 at 1:06 PM, Marsh Ray <marsh@extendedsubset.com> wrote:

> Q: What kind of pinning would we recommend to our friend or family member
> who runs his business on the web?
> Right now he has his domain registration and cert from GoDaddy.

They could also buy a cert from StartSSL, and keep it on a USB token
in a safe, in case of emergency. I.e., everyone who does pinning
should have a backup pin.

But, currently, we are saying this about that:

"""Deploying certificate pinning safely will require operational and
organizational maturity due to the risk that HSTS Hosts may "brick"
themselves by pinning to a certificate that becomes invalid."""

"""The disaster recovery plans described above all incur new costs for
site operators, and increase the size of the certificate
market. Arguably, well-run sites had already absorbed these costs
because (e.g.) backup certificates from different CAs were necessary
disaster recovery mechanisms even before certificate pinning. Small
sites — which although small might still need to provide good
security — may not be able to afford the disaster recovery mechanisms
we recommend. (The cost of the backup certificate is not the issue; it
is more the operational costs in safely storing the backup and testing
that it works.) Thus, low-risk pinning may be available only to large
sites; small sites may have to choose no pinning or potentially
bricking their site (up to the maxAge window). This is not worse than
the status quo."""