Re: [saag] On PKI vs. Pinning (SAAG 108 preview)

Michael Richardson <mcr+ietf@sandelman.ca> Fri, 28 August 2020 21:32 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: saag@ietfa.amsl.com
Delivered-To: saag@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D4553A0C99 for <saag@ietfa.amsl.com>; Fri, 28 Aug 2020 14:32:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 WAdMWmKgarub for <saag@ietfa.amsl.com>; Fri, 28 Aug 2020 14:32:03 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8D9543A0C90 for <saag@ietf.org>; Fri, 28 Aug 2020 14:32:03 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 00DFF389F8; Fri, 28 Aug 2020 17:11:02 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KdIiA-xiZe0J; Fri, 28 Aug 2020 17:11:00 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 78A92389F7; Fri, 28 Aug 2020 17:11:00 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 88F126D2; Fri, 28 Aug 2020 17:32:00 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Nico Williams <nico@cryptonector.com>
cc: saag@ietf.org
In-Reply-To: <20200828201942.GU3100@localhost>
References: <20200728191331.GV41010@kduck.mit.edu> <20200822014328.GI37427@straasha.imrryr.org> <32690.1598215107@localhost> <20200824021601.GS3100@localhost> <17304.1598644198@localhost> <20200828201942.GU3100@localhost>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Fri, 28 Aug 2020 17:32:00 -0400
Message-ID: <9251.1598650320@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/saag/IgtRhZ5lyigQkO7yIccDLGZ1oXg>
Subject: Re: [saag] On PKI vs. Pinning (SAAG 108 preview)
X-BeenThere: saag@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Advisory Group <saag.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/saag>, <mailto:saag-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/saag/>
List-Post: <mailto:saag@ietf.org>
List-Help: <mailto:saag-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/saag>, <mailto:saag-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Aug 2020 21:32:05 -0000

Nico Williams <nico@cryptonector.com> wrote:
    >> So, I wanted to do EXACTLY this for IPsec OE (RFC4322).

    > Yeah!

    >> I imagined two entities (Opus and Bill the Cat) sitting in a meadow, doing
    >> security of IPv6-LL addresses without any outside connectivity.
    >> [You can't expect a dead cat to fetch CRLs..]

    > You'd need an IKEv2 extension like Viktor's TLS extension, but which
    > also includes A/AAAA RRsets.

Yes, exactly.  RFC4322 was also going to have a standards track version that
depended upon IKEv2, and RFC4025...but.

    >> I guess this is intended for the TLS WG?

    > Funny story about that.  There had been a TLS WG work item for it that
    > didn't support either the extension pin or the denial of existence
    > chain, and when we pushed for that to be added WG consensus fell apart
    > and the WG dropped the I-D with the agreement that all parties would get
    > to publish their own versions of it on the ISE.

Oh. I feel many beers may be required to understand.
Or perhaps to achieve consensus :-)

    >> > Pinning lets apps detect MITM attacks, but not whether they are
    >> > tolerable attacks (enterprise proxies).
    >>
    >> Agreed.
    >> That would have to come by some attestation statement in the decline.
    >> draft-ietf-capport-api-08 is one place I would like to that.

    > Tolerable attacks are essentially site-local pins that the app needs to
    > decide are OK or not OK, probably by hardcoding an OK/not-OK policy.

Enough that your banking app can say, "Example.COM says you can not connect
securely, please try a different network",  .. and the user can realize that
they are on the example.com guest network.  So, okay.

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-