Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-dnssec-chain-extension-06: (with DISCUSS and COMMENT)
Shumon Huque <shuque@gmail.com> Tue, 27 February 2018 15:59 UTC
Return-Path: <shuque@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B336412D969; Tue, 27 Feb 2018 07:59:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 qmnct-ERK866; Tue, 27 Feb 2018 07:59:01 -0800 (PST)
Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D0D2A1242F5; Tue, 27 Feb 2018 07:59:01 -0800 (PST)
Received: by mail-it0-x231.google.com with SMTP id w19so11657148ite.0; Tue, 27 Feb 2018 07:59:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Z5pLJCuvDTppboAj/B1NcI8D3AYlYeiVvy4Kx7D+T/E=; b=iPe24s3HM5ofOQV6l5azLXMOGas3tkmbN1mBRdFaBmp3hIzhEqtrROqb/ZEW8BvSjb xOdpMRaHnNYLtSwit7oDUsjFl3Y2FnN114eGzhPq6rfyhiIG4M5By9NR4dTpwa/a5fNh wuSUM7O2XPi5CAvPBYUGZb84j9UnvLDwo7McD56WYQkyqB38k2eTfhaI/yk8Qm6GnSu+ y41KzymxKTz4TFgpllewe6uO4Hf0rz92bvpT3xk2lky28n0VP8vNvJqTujG4k/MMS7K1 UOoxPhnyXt/6kQeXajlSuaMdjkUkDJmd1XnzY7CaozA4wJIFH6kGsXG0o4XI/2Tbus1W foHg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Z5pLJCuvDTppboAj/B1NcI8D3AYlYeiVvy4Kx7D+T/E=; b=sbkCdIZRj+Hn9M4d0Cjo+FgigTEc0sUOoeQYwo4anLOqcNxKR3m/VVlf4yjHIrnVgu jaL5XhjSVEdh1b4UPtZyZqcO1YFNS7lIRbfV17g/jYMZBGfaymqXckxZUEKzIXFHpPn7 5neem5McSkvnILP8FW5Uv3w+JvnOfYhvl4nMBpqOTT32GSD9+b9+T399kSH6MRuVF6SL 1hUo0WO3xgTBgfjIX3wVQ9BZqgzrI5/X+gksm4v6bqDSoykPGdcMNl9I7PZTrNxXY1eu DiV9LhVBi+a1/9fwddCzuOt/ARtWTnRPyhludvntV3gchET54Zje9A9TZW2EJJcbqcy8 91dw==
X-Gm-Message-State: APf1xPANhnMqwOWuKd4i5xZDTZ1XiDZRrY1F59+qUbmzIOxXl6ucg1w1 PaCwKop9AUgPxDkrMVHqN1fYz8PxvDs2WwE4NC3F+3NV
X-Google-Smtp-Source: AG47ELszNPUBjGyv2Ailz0Jd2o5bm+rxBD+Yl+4oe/U2kPXilyOUP6KhFjedcAFo81FfwWZ4J1C+7sMOOkoYLJZIeco=
X-Received: by 10.36.253.204 with SMTP id m195mr18057402ith.151.1519747140981; Tue, 27 Feb 2018 07:59:00 -0800 (PST)
MIME-Version: 1.0
Received: by 10.79.201.198 with HTTP; Tue, 27 Feb 2018 07:59:00 -0800 (PST)
In-Reply-To: <70D42B5C-7FF9-49C1-95D4-13FDC611FF96@dukhovni.org>
References: <151801408058.4807.6327251050641650375.idtracker@ietfa.amsl.com> <CAHPuVdUgZLUf5M8ir=610mvERwQzPhbhGGOyW5s552JtP8d05g@mail.gmail.com> <CABcZeBOST2X0-MH2hhzpPJaUkbY++udsUV1bMnMhH2V2wQRPmA@mail.gmail.com> <CAHPuVdUs7mUJiqZjFjLDCNmHHGR9AP-g5YaLLbJj-zkDKd=_-w@mail.gmail.com> <alpine.LRH.2.21.1802211425260.7767@bofh.nohats.ca> <CAHPuVdX=_6b5g572-T-9Ccwek-WwL11KdTVwV9oNC9LaO5=0=Q@mail.gmail.com> <alpine.LRH.2.21.1802260913290.9977@bofh.nohats.ca> <70D42B5C-7FF9-49C1-95D4-13FDC611FF96@dukhovni.org>
From: Shumon Huque <shuque@gmail.com>
Date: Tue, 27 Feb 2018 10:59:00 -0500
Message-ID: <CAHPuVdU8boBpYO3QutJgawH-54fKD+R9PaaT-5yWE+y2t+BwwA@mail.gmail.com>
To: Viktor Dukhovni <viktor@dukhovni.org>
Cc: TLS WG <tls@ietf.org>, tls-chairs <tls-chairs@ietf.org>, draft-ietf-tls-dnssec-chain-extension@ietf.org, The IESG <iesg@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c11ce6e7c973e056633b437"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/lJMmEO2Hl_JIanMqTjBaC-AX5qY>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-dnssec-chain-extension-06: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Feb 2018 15:59:05 -0000
On Mon, Feb 26, 2018 at 12:19 PM, Viktor Dukhovni <viktor@dukhovni.org> wrote: > > I think that as it stands, lack of authenticated denial of existence is > a *fatal* flaw in the protocol. I just don't see a sufficiently practical > scenario in which this extension confers a useful security benefit. Viktor, Is this a new realization you've recently arrived at? You've been commenting on this draft for a number of years now, and I have assumed that you were well aware of the lack of authenticated denial. In fact, there is text in the Intro section that declares that this protocol is unsuitable for SMTP/DANE precisely because it requires confirmation of the existence or not of the TLSA record - that text came about because of discussion with you. Several of us were well aware of this during the early days of the draft, but perhaps many folks did not fully appreciate the impacts until I elaborated on them last year, and added text that described the "adversary with fraudulently obtained PKIX credentials" attack. It is certainly a limitation/flaw. Whether or not it is fatal is debatable. What this means is that this protocol allows opportunistic use of DANE authentication, but guarantee of use needs mechanisms external to the protocol. Section 8 already describes several such mechanisms that could be employed. So, I think this topic is covered. This limitation also may not be applicable at all for green field TLS/DNSSEC applications that can require the use of the extension unconditionally. Having an authenticated denial mechanism would allow the TLS client to have an inband way to enforce DANE authentication if available. I suspect though that re-introducing a debate on this topic will lead us into an argument about what it means for a server to publish a TLSA record. Is it just a mechanism to use the DNSSEC to authenticate keys and certificates? Or is it also a policy signal that says DANE must be used? I do not think the latter idea has any consensus in the IETF currently. > Perhaps this draft should go back to the working group, to consider a new > protocol element, by which the server commits to support the extension for > a time that is substantially longer than the underlying DNS TTLs. During > this time (suggested to be weeks or months, when in production after initial > testing), the server MUST support the extension and respond with EITHER a > valid TLSA RRset chain, or with a valid denial of existence. This is a rather substantial change proposal. It's worth considering, but I'd like to hear others chime in. But as I said, there are ways to use this spec and address some of the limitations outside the protocol today - you can cache and pin knowledge of TLSA existence, even without an in-protocol commitment, although the latter would be better. That may be good enough for the first iteration of the protocol. Note that extending the protocol to incorporate authenticated denial also means that the chain data would likey need a DNS response code. That's a stronger argument to move to a full DNS message format (I'll answer Paul Wouter's specific comments on that topic separately later). Shumon.
- [TLS] Eric Rescorla's Discuss on draft-ietf-tls-d… Eric Rescorla
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Shumon Huque
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Eric Rescorla
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Viktor Dukhovni
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Eric Rescorla
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Shumon Huque
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Shumon Huque
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Viktor Dukhovni
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Shumon Huque
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Eric Rescorla
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Paul Wouters
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Paul Wouters
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Viktor Dukhovni
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Eric Rescorla
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Shumon Huque
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Shumon Huque
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Willem Toorop
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Paul Wouters
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Viktor Dukhovni
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Benjamin Kaduk
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Viktor Dukhovni
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Willem Toorop
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Shumon Huque
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Viktor Dukhovni
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Shumon Huque
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Nico Williams
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Nico Williams
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Nico Williams
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Shumon Huque
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Shumon Huque
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Viktor Dukhovni
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Paul Wouters
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Eric Rescorla
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Viktor Dukhovni
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Willem Toorop
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Willem Toorop
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Viktor Dukhovni
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Paul Wouters
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Paul Wouters
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Kathleen Moriarty
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Ilari Liusvaara
- Re: [TLS] Eric Rescorla's Discuss on draft-ietf-t… Shumon Huque