Re: [TLS] Summarizing identity change discussion so far
Marsh Ray <marsh@extendedsubset.com> Tue, 08 December 2009 15:31 UTC
Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1CF2D28C166 for <tls@core3.amsl.com>; Tue, 8 Dec 2009 07:31:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.515
X-Spam-Level:
X-Spam-Status: No, score=-2.515 tagged_above=-999 required=5 tests=[AWL=0.084, BAYES_00=-2.599]
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 tF6pLOfRvfyS for <tls@core3.amsl.com>; Tue, 8 Dec 2009 07:30:59 -0800 (PST)
Received: from mho-01-ewr.mailhop.org (mho-01-ewr.mailhop.org [204.13.248.71]) by core3.amsl.com (Postfix) with ESMTP id ADC4028C162 for <tls@ietf.org>; Tue, 8 Dec 2009 07:30:58 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NI21X-00007c-PX; Tue, 08 Dec 2009 15:30:47 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id 4771D603A; Tue, 8 Dec 2009 15:30:46 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1/TL80u9iyPaLurA9kkRYrmkQBW2iYf3+c=
Message-ID: <4B1E7124.1040301@extendedsubset.com>
Date: Tue, 08 Dec 2009 09:30:44 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Pasi.Eronen@nokia.com, "tls@ietf.org" <tls@ietf.org>
References: <808FD6E27AD4884E94820BC333B2DB774F31A4FD08@NOK-EUMSG-01.mgdnok.nokia.com>
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB774F31A4FD08@NOK-EUMSG-01.mgdnok.nokia.com>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Subject: Re: [TLS] Summarizing identity change discussion so far
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 08 Dec 2009 15:31:00 -0000
Pasi.Eronen@nokia.com wrote: > (wearing Area Director hat) > > Although the IETF Last Call is still underway, here's a short attempt > to summarize the discussion regarding identity changes (Section 7) > so far: > > - We seem to agree that changing the certificate/identity during > secure renegotiation (so there's no man-in-the-middle, just two > parties) could confuse some applications. James Manger's email > provides IMHO a good example of what that confusion could be (in this > particular example, the confusion has security implications, too): > > http://www.ietf.org/mail-archive/web/tls/current/msg05122.html > > - We mostly seem to agree that some applications could not just > handle certificate/identity changes correctly, but would actually > benefit from them. There are probably some actively using it. > - We seem to agree that it would be a reasonable idea for the TLS > library to offer the applications an option where the TLS library Are there other actual accepted RFCs that provide recommendations for libraries? In a quick search, I could only find one or two uses of the term in the sense we use it here. Most were something like: RFC 4589 Location Types Registry: > library: Library or other public place in which literary and > artistic materials, such as books, music, periodicals, newspapers, > pamphlets, prints, records, and tapes, are kept for reading, > reference, or lending. > checks that the certificate doesn't change during renegotiation. This > is an *option* -- an application could decide not to use it, and e.g. > do more complex comparisons. There are lots of things a TLS library could do. Some of them are absolutely essential for correctness, but we are not addressing them here. > - We have much less support for requiring that every TLS library MUST > implement this functionality and/or MUST enable it by default > (whatever "by default" means in your API), at least in this draft. My guess is that such wording would largely be ignored. > Unless I'm badly misreading the situation, or it significantly > changes during the rest of the IETF Last Call, my proposal here would > be as follows: > > - We do NOT require (with "MUST") any changes to TLS libraries in > this regard. +1 > - We describe the situation a bit more clearly than the current text > does (it seems many people found the current text somewhat unclear). OK > - We recommend that TLS libraries SHOULD provide identity matching > (with memcmp, abort handshake if changed) functionality to > applications, and SHOULD allow applications to enable/disable this > functionality. Do we know that this is the correct way to compare certificates for most applications? Isn't this the first time TLS has recommended something that wouldn't work on a perpetual connection? After all, certificates update a lot more often than record sequence numbers wrap but the spec suggests a solution for that (renegotiation) rather than breaking the connection. > - We include a sentence or two describing the pros and cons of > enabling/not enabling this feature by default, but don't require or > recommend any particular default value. I'm not convinced that we understand the pros and cons well enough to be making recommendations. If we can't even recommend a default value, what business do we have making recommendations at all? > - The text probably needs to note that if the applications wants to > deal with identity changes, it may need to consider the "which > application_data byte(s) correspond to which identity" question (or > it may not -- the answer may depend a lot on the application > protocol). To some extent, this fix addresses it by ensuring that it's the same part on the other end for the entire connection. To the extent it does not, it remains a deep problem (e.g., it breaks printf/scanf() over TLS.) > Does this sound like a reasonable approach? Yes, but there are lots of reasonable things we could say. Putting something in when it does not need to be there, however well-intentioned, will have side effects. If nothing else, implementors have to read it and decide its implications internally. The need is immediate for a one-bug-fix document, so I feel we must be vigilant about keeping it minimal. * Is there a compelling need for this? I.e., is any of this worth risking delay for the remainder of the document? * Does it mandate any specific behavior relevant to the primary goal of the document? Would there be a loss to the rest of the document if it were removed? * Is it within the scope of the current related standards? Looks to me like library interfaces are new territory. * Are the people who need to know IETF's recommendations for TLS library interfaces going to look for them in this document? * Is this document the best place for it? (or does this document just happen to be the next train leaving the station) If the answer to some of these is 'no' then couldn't some of it be eliminated? - Marsh
- [TLS] Summarizing identity change discussion so f… Pasi.Eronen
- Re: [TLS] Summarizing identity change discussion … Blumenthal, Uri - 0662 - MITLL
- Re: [TLS] Summarizing identity change discussion … Stephen Farrell
- Re: [TLS] Summarizing identity change discussion … Pasi.Eronen
- Re: [TLS] Summarizing identity change discussion … Marsh Ray
- Re: [TLS] Summarizing identity change discussion … Pasi.Eronen
- Re: [TLS] Summarizing identity change discussion … Martin Rex
- Re: [TLS] Summarizing identity change discussion … Marsh Ray
- Re: [TLS] Summarizing identity change discussion … Martin Rex
- Re: [TLS] Summarizing identity change discussion … Pasi.Eronen
- Re: [TLS] Summarizing identity change discussion … Pasi.Eronen
- Re: [TLS] Summarizing identity change discussion … Marsh Ray
- Re: [TLS] Summarizing identity change discussion … Martin Rex
- Re: [TLS] Summarizing identity change discussion … Pasi.Eronen
- Re: [TLS] Summarizing identity change discussion … Martin Rex
- Re: [TLS] Summarizing identity change discussion … Pasi.Eronen
- Re: [TLS] Summarizing identity change discussion … Stefan Santesson
- Re: [TLS] Summarizing identity change discussion … Michael Gray
- Re: [TLS] Summarizing identity change discussion … Eric Rescorla
- Re: [TLS] Summarizing identity change discussion … Marsh Ray
- Re: [TLS] Summarizing identity change discussion … Pasi.Eronen
- Re: [TLS] Summarizing identity change discussion … Pasi.Eronen
- Re: [TLS] Summarizing identity change discussion … Martin Rex
- Re: [TLS] Summarizing identity change discussion … Martin Rex
- Re: [TLS] Summarizing identity change discussion … Peter Saint-Andre
- Re: [TLS] Summarizing identity change discussion … Peter Saint-Andre
- Re: [TLS] Summarizing identity change discussion … Marsh Ray
- Re: [TLS] Summarizing identity change discussion … Stephen Farrell
- Re: [TLS] Summarizing identity change discussion … Kyle Hamilton
- Re: [TLS] Summarizing identity change discussion … Pasi.Eronen
- Re: [TLS] Summarizing identity change discussion … Kyle Hamilton
- [TLS] OpenPGP Certs for TLS [was: Re: Summarizing… Daniel Kahn Gillmor
- Re: [TLS] Summarizing identity change discussion … Joseph Salowey (jsalowey)
- Re: [TLS] Summarizing identity change discussion … Nelson B Bolyard
- Re: [TLS] Summarizing identity change discussion … Joseph Salowey (jsalowey)
- Re: [TLS] Summarizing identity change discussion … Pasi.Eronen
- Re: [TLS] Summarizing identity change discussion … Joseph Salowey (jsalowey)
- Re: [TLS] Summarizing identity change discussion … Michael Gray
- Re: [TLS] Summarizing identity change discussion … Martin Rex
- Re: [TLS] Summarizing identity change discussion … Michael Gray
- Re: [TLS] Summarizing identity change discussion … Marsh Ray
- Re: [TLS] Summarizing identity change discussion … Martin Rex
- Re: [TLS] Summarizing identity change discussion … Michael Gray
- Re: [TLS] Summarizing identity change discussion … Peter Saint-Andre
- Re: [TLS] Summarizing identity change discussion … Nasko Oskov
- Re: [TLS] Summarizing identity change discussion … David-Sarah Hopwood
- Re: [TLS] Summarizing identity change discussion … Blumenthal, Uri - 0662 - MITLL
- Re: [TLS] Summarizing identity change discussion … Kyle Hamilton
- Re: [TLS] Summarizing identity change discussion … Martin Rex
- Re: [TLS] Summarizing identity change discussion … Kyle Hamilton
- Re: [TLS] Summarizing identity change discussion … Martin Rex
- Re: [TLS] Summarizing identity change discussion … Peter Saint-Andre
- Re: [TLS] Summarizing identity change discussion … Blumenthal, Uri - 0662 - MITLL
- Re: [TLS] Summarizing identity change discussion … Marsh Ray
- Re: [TLS] Summarizing identity change discussion … David-Sarah Hopwood
- Re: [TLS] Summarizing identity change discussion … David-Sarah Hopwood