
From Nicolas.Williams@sun.com  Wed Mar 17 16:17:16 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9F85C3A68C0; Wed, 17 Mar 2010 16:17:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.086
X-Spam-Level: 
X-Spam-Status: No, score=-4.086 tagged_above=-999 required=5 tests=[AWL=-1.218, BAYES_50=0.001, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
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 5zMXyNMZoEN9; Wed, 17 Mar 2010 16:17:13 -0700 (PDT)
Received: from acsinet12.oracle.com (acsinet12.oracle.com [141.146.126.234]) by core3.amsl.com (Postfix) with ESMTP id 827633A67E7; Wed, 17 Mar 2010 16:17:13 -0700 (PDT)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by acsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2HNHMrA021149 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 17 Mar 2010 23:17:23 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2HNHKAe017635; Wed, 17 Mar 2010 23:17:21 GMT
Received: from abhmt009.oracle.com by acsmt355.oracle.com with ESMTP id 94751941268867733; Wed, 17 Mar 2010 16:15:33 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 17 Mar 2010 16:15:32 -0700
Date: Wed, 17 Mar 2010 18:15:22 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: channel-binding@ietf.org, sasl@ietf.org, tls@ietf.org
Message-ID: <20100317231522.GA18167@Sun.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt355.oracle.com [141.146.40.155]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090204.4BA16301.01E8,ss=1,fgs=0
Subject: [CHANNEL-BINDING] Updates to draft-altman-tls-channel-bindings (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Mar 2010 23:17:16 -0000

Now that TLS re-negotiation security (RFC5746) is done we need to finish
draft-altman-tls-channel-bindings.

It's become clear that MSFT implemented and deployed something slightly
different than the 'tls-unique' binding description that had been
registered.  They seem to be the only implementors to date; their
implementation is secure, therefore I propose that we simply modify the
description of 'tls-unique' and be done.

The differences are:

 - it's not always the client's Finished message, but the _first_
   Finished message in the relevant handshake (in a session resumption
   handshake the server sends its Finished message first);

 - the Finished message is taken from the latest/inner-most TLS
   handshake, rather than the outer-most one

For the most common case, where there's no TLS re-negotiation and no TLS
session resumption, there is no difference.

It's past the I-D submission cut-off, so I can't submit an updated I-D.
Below are the full diffs from -07 to the -08 to-be.

Please review,

Nico


--- altman-tls-channel-bindings-07.unpg	Wed Mar 17 13:32:15 2010
+++ altman-tls-channel-bindings-08.unpg	Wed Mar 17 13:32:51 2010
@@ -1,594 +1,603 @@
 
 
 
 NETWORK WORKING GROUP                                          J. Altman
 Internet-Draft                                          Secure Endpoints
 Intended status: Standards Track                             N. Williams
-Expires: April 4, 2010                                               Sun
+Expires: September 18, 2010                                       Oracle
                                                                   L. Zhu
                                                    Microsoft Corporation
-                                                            October 2009
+                                                          March 17, 2010
 
 
                         Channel Bindings for TLS
-                draft-altman-tls-channel-bindings-07.txt
+                draft-altman-tls-channel-bindings-08.txt
 
 Status of this Memo
 
    This Internet-Draft is submitted to IETF in full conformance with the
    provisions of BCP 78 and BCP 79.  This document may contain material
    from IETF Documents or IETF Contributions published or made publicly
    available before November 10, 2008.  The person(s) controlling the
    copyright in some of this material may not have granted the IETF
    Trust the right to allow modifications of such material outside the
    IETF Standards Process.  Without obtaining an adequate license from
    the person(s) controlling the copyright in such materials, this
    document may not be modified outside the IETF Standards Process, and
    derivative works of it may not be created outside the IETF Standards
    Process, except to format it for publication as an RFC or to
    translate it into languages other than English.
 
    Internet-Drafts are working documents of the Internet Engineering
    Task Force (IETF), its areas, and its working groups.  Note that
    other groups may also distribute working documents as Internet-
    Drafts.
 
    Internet-Drafts are draft documents valid for a maximum of six months
    and may be updated, replaced, or obsoleted by other documents at any
    time.  It is inappropriate to use Internet-Drafts as reference
    material or to cite them other than as "work in progress."
 
    The list of current Internet-Drafts can be accessed at
    http://www.ietf.org/ietf/1id-abstracts.txt.
 
    The list of Internet-Draft Shadow Directories can be accessed at
    http://www.ietf.org/shadow.html.
 
-   This Internet-Draft will expire on April 4, 2010.
+   This Internet-Draft will expire on September 18, 2010.
 
 Copyright Notice
 
-   Copyright (c) 2009 IETF Trust and the persons identified as the
+   Copyright (c) 2010 IETF Trust and the persons identified as the
    document authors.  All rights reserved.
 
    This document is subject to BCP 78 and the IETF Trust's Legal
    Provisions Relating to IETF Documents in effect on the date of
    publication of this document (http://trustee.ietf.org/license-info).
    Please review these documents carefully, as they describe your rights
    and restrictions with respect to this document.
 
 Abstract
 
    This document defines three channel binding types for Transport Layer
    Security (TLS), tls-unique, tls-server-end-point, and tls-unique-for-
    telnet, in accordance with RFC 5056 (On Channel Binding).
 
 
 Table of Contents
 
    1.    Conventions used in this document
    2.    Introduction
    3.    The 'tls-unique' Channel Binding Type
    3.1.  Description
    3.2.  Registration
    4.    The 'tls-server-end-point' Channel Binding Type
    4.1.  Description
    4.2.  Registration
    5.    The 'tls-unique-for-telnet' Channel Binding Type
    5.1.  Description
    5.2.  Registration
    6.    Applicability of TLS Channel Binding Types
    7.    Required Application Programming Interfaces
    8.    IANA Considerations
    9.    Security Considerations
    9.1.  Cryptographic Algorithm Agility
    9.2.  On Disclosure of Channel Bindings Data by Authentication
          Mechanisms
    10.   References
    10.1. Normative References
    10.2. Normative References for 'tls-server-end-point'
    10.3. Informative References
          Authors' Addresses
 
 
 1.  Conventions used in this document
 
    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
    "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
    document are to be interpreted as described in [RFC2119].
 
 
 2.  Introduction
 
    Subsequent to the publication of "On Channel Bindings" [RFC5246],
    three channel binding types for Transport Layer Security (TLS) were
    proposed, reviewed and added to the IANA channel binding type
    registry, all in accordance with [RFC5246].  Those channel binding
    types are: 'tls-unique', 'tls-server-end-point', and 'tls-unique-for-
    telnet'.  It has become desirable to have these channel binding types
    re-registered through an RFC so as to make it easier to reference
-   them.  This document does just that.  The authors of those three
-   channel binding types have, or have indicated that they will,
-   transferred "ownership" of those channel binding types to the IESG.
+   them, and to correct them to describe actual implementations.  This
+   document does just that.  The authors of those three channel binding
+   types have, or have indicated that they will, transferred "ownership"
+   of those channel binding types to the IESG.
 
    We also provide some advice on the applicability of these channel
    binding types, as well as advice on when to use which.  And we
    provide an abstract API that TLS implementors should provide, by
    which to obtain channel bindings data for a TLS connection.
 
 
 3.  The 'tls-unique' Channel Binding Type
 
    IANA is hereby directed to update the registration of the 'tls-
-   unique' channel binding type to match the following.  Note that the
-   only material changes from the original registration should be: the
-   "owner" (now the IESG), contacts, the published specfication, and a
-   clarification to the description by the addition of a parenthetical
-   note (that is, the first such note in the descritption is a new
-   addition).  We also added a note indicating that this specification
-   contains applicability advice, and we moved security considerations
-   notes to the security considerations section of this document.  All
-   other fields of the registration are copied here for the convenience
-   of readers.
+   unique' channel binding type to match the following.  There are
+   material changes from the original registration, both in the
+   description as well as registration meta-data (such as registration
+   ownership).
 
 3.1.  Description
 
-   Description: The client's TLS Finished message (note: the Finished
-   struct) from the first handshake of the connection (note: connection,
-   not session, so that the channel binding is specific to each
-   connection regardless of whether session resumption is used).
+   Description: The first TLS Finished message sent (note: the Finished
+   struct) in the most recent TLS handshake of the TLS connection being
+   bound to (note: TLS connection, not session, so that the channel
+   binding is specific to each connection regardless of whether session
+   resumption is used).  If TLS re-negotiation takes place before the
+   channel binding operation, then the first TLS Finished message sent
+   of the latest/inner-most TLS connection is used.  Note that for full
+   TLS handshakes the first Finished message is sent by the client,
+   while for abbreviated TLS handshakes the first Finished message is
+   sent by the server.
 
 3.2.  Registration
 
    o  Channel binding unique prefix: tls-unique
 
    o  Channel binding type: unique
 
    o  Channel type: TLS [RFC5246]
 
    o  Published specification: <this document>
 
    o  Channel binding is secret: no
 
    o  Description: <See specification>
 
    o  Intended usage: COMMON
 
    o  Person and email address to contact for further information: Larry
       Zhu (lzhu@microsoft.com), Nicolas Williams
       (Nicolas.Williams@sun.com).
 
    o  Owner/Change controller name and email address: IESG.
 
    o  Expert reviewer name and contact information: IETF TLS WG
       (tls@ietf.org, failing that, ietf@ietf.org)
 
    o  Note: see the published specification for advice on the
       applicability of this channel binding type.
 
 
 4.  The 'tls-server-end-point' Channel Binding Type
 
    IANA is hereby directed to update the registration of the 'tls-
    server-end-point' channel binding type to match the following.  Note
    that the only material changes from the original registration should
    be: the "owner" (now the IESG), the contacts, the published
    specfication, and a note indicating that the published specification
    should be consulted for applicability advice.  References were added
    to the description.  All other fields of the registration are copied
    here for the convenience of readers.
 
 4.1.  Description
 
    Description: The hash of the TLS server's certificate [RFC5280] as it
    appears, octet for octet, in the server's Certificate message (note
    that the Certificate message contains a certificate_list, the first
    element of which is the server's certificate).
 
    The hash function is to be selected as follows:
 
    o  if the certificate's signatureAlgorithm uses a single hash
       function, and that hash function is either MD5 [RFC1321] or SHA-1
       [RFC3174] then use SHA-256 [FIPS-180-2];
 
    o  if the certificate's signatureAlgorithm uses a single hash
       function and that hash function neither MD5 nor SHA-1, then use
       the hash function associated with the certificate's
       signatureAlgorithm;
 
    o  if the certificate's signatureAlgorithm uses no hash functions or
       multiple hash functions, then this channel binding type's channel
       bindings are undefined at this time (updates to is channel binding
       type may occur to address this issue if it ever arises).
 
    The reason for using a hash of the certificate is that some
    implementations need to track the channel binding of a TLS session in
    kernel-mode memory, which is often at a premium.
 
 4.2.  Registration
 
    o  Channel binding unique prefix: tls-server-end-point
 
    o  Channel binding type: end-point
 
    o  Channel type: TLS [RFC5246]
 
    o  Published specification: <this document>
 
    o  Channel binding is secret: no
 
    o  Description: <See specification>
 
    o  Intended usage: COMMON
 
    o  Person and email address to contact for further information: Larry
       Zhu (lzhu@microsoft.com), Nicolas Williams
       (Nicolas.Williams@sun.com).
 
    o  Owner/Change controller name and email address: IESG.
 
    o  Expert reviewer name and contact information: IETF TLS WG
       (tls@ietf.org, failing that, ietf@ietf.org)
 
    o  Note: see the published specification for advice on the
       applicability of this channel binding type.
 
 
 5.  The 'tls-unique-for-telnet' Channel Binding Type
 
    IANA is hereby directed to update the registration of the 'tls-
    unique-for-telnet' channel binding type to match the following.  Note
    that the only material changes from the original registration should
    be: the "owner" (now the IESG), the contacts, the published
    specfication, and a note indicating that the published specification
    should be consulted for applicability advice.  The description is
    also clarified.  We also moved security considerations notes to the
    security considerations section of this document.  All other fields
    of the registration are copied here for the convenience of readers.
 
 5.1.  Description
 
    Description: There is a proposal for adding a "StartTLS" extension to
    TELNET, and a channel binding extension for the various TELNET AUTH
    mechanisms whereby each side sends the other a "checksum" (MAC) of
-   their view of the channel's bindings.  The client uses the first TLS
-   Finished messages (note: the Finished struct) from the client and
-   server, each concatenated in that order and in their clear text form.
-   The server does the same but in the opposite concatenation order
-   (server, then client).
+   their view of the channel's bindings.  The client uses the TLS
+   Finished messages (note: the Finished struct) sent by the client and
+   server, each concatenated in that order and in their clear text form,
+   of the first TLS handshake of the connection being bound to.  The
+   server does the same but in the opposite concatenation order (server,
+   then client).
 
 5.2.  Registration
 
    o  Channel binding unique prefix: tls-unique-for-telnet
 
    o  Channel binding type: unique
 
    o  Channel type: TLS [RFC5246]
 
    o  Published specification: <this document>
 
    o  Channel binding is secret: no
 
    o  Description: <See specification>
 
    o  Intended usage: COMMON
 
    o  Person and email address to contact for further information: Jeff
       Altman (jaltman@secure-endpoints.com), Nicolas Williams
       (Nicolas.Williams@sun.com).
 
    o  Owner/Change controller name and email address: IESG.
 
    o  Expert reviewer name and contact information: IETF TLS WG
       (tls@ietf.org, failing that, ietf@ietf.org)
 
    o  Note: see the published specification for advice on the
       applicability of this channel binding type.
 
 
 6.  Applicability of TLS Channel Binding Types
 
    The 'tls-unique-for-telnet' channel binding type is only applicable
    to TELNET [RFC0854], and is available for all TLS connections.
 
    The 'tls-unique' channel binding type is available for all TLS
    connections, while 'tls-server-end-point' is only available when TLS
    cipher suites with server certificates are used, specifically: cipher
    suites that use the Certificate handshake message, which typically
    involve the use of PKIX [RFC5280].  For example, 'tls-server-end-
    point' is available when using TLS ciphers suites such as (this is
    not an exhaustive list):
 
    o  TLS_DHE_DSS_WITH_*
 
    o  TLS_DHE_RSA_WITH_*
 
    o  TLS_DH_DSS_WITH_*
 
    o  TLS_DH_RSA_WITH_*
 
    o  TLS_ECDHE_ECDSA_WITH_*
 
    o  TLS_ECDHE_RSA_WITH_*
 
    o  TLS_ECDH_ECDSA_WITH_*
 
    o  TLS_ECDH_RSA_WITH_*
 
    o  TLS_RSA_PSK_WITH_*
 
    o  TLS_RSA_WITH_*
 
    o  TLS_SRP_SHA_DSS_WITH_*
 
    o  TLS_SRP_SHA_RSA_WITH_*
 
    but is not available when using TLS cipher suites such as (this is
    not an exhaustive list):
 
    o  TLS_DHE_PSK_WITH_*
 
    o  TLS_DH_anon_WITH_*
 
    o  TLS_ECDHE_PSK_WITH_*
 
    o  TLS_ECDH_anon_WITH_*
 
    o  TLS_KRB5_WITH_*
 
    o  TLS_PSK_WITH_*
 
    o  TLS_SRP_SHA_WITH_*
 
    Nor is this channel binding type available for use with OpenPGP
    server certificates [RFC5081] [RFC4880] (since these don't use the
    Certificate handshake message).
 
    Therefore 'tls-unique' is generally better than 'tls-server-end-
    point'.  However, 'tls-server-end-point' may be used with existing
    TLS server-side proxies ("concentrators") without modification to the
    proxies, whereas 'tls-unique' may require firmware or software
    updates to server-side proxies.  Therefore there may be cases where
    'tls-server-end-point' may interoperate but where 'tls-unique' may
    not.
 
    Also, authentications mechanisms may arise which depend on channel
    bindings to contribute entropy, in which case unique channel bindings
    would have to always be used in preference to end-point channel
    bindings.  At this time there are no such mechanisms, though one such
    SASL mechanism has been proposed.  Whether such mechanisms should be
    allowed is out of scope for this document.
 
    In other words, for many applications there may be two potentially
    applicable TLS channel binding types.  Channel binding is all or
    nothing for the GSS-API [RFC2743], and likely other frameworks.
    Therefore agreement on the use of channel binding, and a particular
    channel binding type is necessary.  Such agreement can be obtained a
    priori, by convention, or negotiated.
 
    The specifics of whether and how to negotiate channel binding types
    are beyond the scope of this document.  However, it is RECOMMENDED
    that application protocols making use of TLS channel bindings, use
    'tls-unique' exclusively, except, perhaps, where server-side proxies
    are common in deployments of an application protocol.  In the latter
    case an application protocol MAY specify that 'tls-server-end-point'
    channel bindings must be used when available, with 'tls-unique' being
    used when 'tls-server-end-point' channel bindings are not available.
    Alternatively, the application may negotiate which channel binding
    type to use, or may make the choice of channel binding type
    configurable.
 
    Specifically, application protocol specifications MUST indicate at
    least one mandatory to implement channel binding type, MAY specify a
    negotiation protocol, MAY allow for out-of-band negotiation or
    configuration, and SHOULD have a preference for 'tls-unique' over
    'tls-server-end-point'.
 
 
 7.  Required Application Programming Interfaces
 
    TLS implementations supporting the use of 'tls-unique' and/or 'tls-
    unique-for-telnet' channel binding types, MUST provide application
    programming interfaces by which applications (clients and servers
    both) may obtain the channel bindings for a TLS connection.  Such
    interfaces may be expressed in terms of extracting the channel
    bindings data for a given connection and channel binding type.
    Alternatively the implementor may provide interfaces by which to
    obtain the initial client Finished message, the initial server
    Finished message and/or the server certificate (in a form that
    matches the description of the 'tls-server-end-point' channel binding
    type).  In the latter case the application has to have knowledge of
    the channel binding type descriptions from this document.  This
    document takes no position on which form these application
    programming interfaces must take.
 
 
 8.  IANA Considerations
 
    The IANA is hereby directed to update three existing channel binding
    type registrations.  See the rest of this document.
 
 
 9.  Security Considerations
 
-   The Security Considerations section of [RFC5056] applies to this
-   document.
+   The Security Considerations sections of [RFC5056], [RFC5246] and
+   [RFC5746] apply to this document.
 
    The TLS Finished messages (see section 7.4.9 of [RFC5246]) are known
    to both endpoints of a TLS connection, and are cryptographycally
-   bound to it.  Therefore the TLS Finished messages can be safely used
-   as a channel binding provided that the authentication mechanism doing
-   the channel binding conforms to the requirements in [RFC5056].
+   bound to it.  For implementations of TLS that correctly handle re-
+   negotiation [RFC5746] each handshake on a TLS connection is bound to
+   the preceding handshake, if any.  Therefore the TLS Finished messages
+   can be safely used as a channel binding provided that the
+   authentication mechanism doing the channel binding conforms to the
+   requirements in [RFC5056].
 
    The server certificate, when present, is also cryptographically bound
    to the TLS connection through its use in key transport and/or
    authentication of the server (either by dint of its use in key
    transport, by its use in signing key agreement, or by its use in key
    agreement).  Therefore the server certificate is suitable as an end-
    point channel binding as described in [RFC5056].
 
 9.1.  Cryptographic Algorithm Agility
 
    The 'tls-unique' and 'tls-unique-for-telnet' channel binding types do
    not add any use of cryptography beyond that used by TLS itself.
    Therefore these two channel binding types add no considerations with
    respect to cryptographic algorithm agility.
 
    The 'tls-server-end-point' channel binding type consist of a hash of
    a server certificate.  The reason for this is to produce manageably
    small channel binding data, as some implementations will be using
    kernel-mode memory (which is typically scarce) to store these.  This
    use of a hash algorithm is above and beyond TLS's use of
    cryptography, therefore the 'tls-server-end-point' channel binding
    type has a security consideration with respect to hash algorithm
    agility.  The algorithm to be used, however, is derived from the
    server certificate's signature algorithm as described in Section 4.1;
    to recap: use SHA-256 if the certificate signature algorithm uses MD5
    or SHA-1, else use whatever hash function the certificate uses
    (unless the signature algorithm uses no hash functions or more than
    one hash function, in which case 'tls-server-end-point' is
    undefined).  This construction automatically makes 'tls-server-end-
    point' hash algorithm agile, with a dependency on PKIX and TLS for
    hash agility.
 
    Current proposals for randomized signatures algorithms
    [I-D.irtf-cfrg-rhash] [NIST-SP.800-106.2009] use hash functions in
    their construction -- a single hash function in each algorithm.
    Therefore the 'tls-server-end-point' channel binding type should be
    available even in cases where new signatures algorithms are used that
    are based on current randomized hashing proposals (but we cannot
    guarantee this, of course).
 
 9.2.  On Disclosure of Channel Bindings Data by Authentication
       Mechanisms
 
    When these channel binding types were first considered, one issue
    that some commenters were concerned about was the possible impact on
    the security of the TLS channel, of disclosure of the channel
    bindings data by authentication mechanisms.  This can happen, for
    example, when an authentication mechanism transports the channel
    bindings data, with no confidentiality protection, over other
    transports (for example, in communicating with a trusted third
    party), or when the TLS channel provides no confidentiality
    protection and the authentication mechanism does not protect the
    confidentiality of the channel bindings data.  This section considers
    that concern.
 
    When the TLS connection uses a cipher suite that does not provide
    confidentiality protection, the TLS Finished messages will be visible
    to eavesdroppers, regardless of what the authentication mechanism
    does.  The same is true of the server certificate which, in any case,
    is generally visible to eavesdroppers.  Therefore we must consider
    our choices of TLS channel bindings here to be safe to disclose by
    definition -- if that were not the case then TLS with cipher suites
    that don't provide confidentiality protection would be unsafe.
    Furthermore, the TLS Finished message construction depends on the
    security of the TLS PRF, which in turn needs to be resistant to key
    recovery attacks, and we think that it is, as it is based on HMAC,
    and the master secret is, well, secret (and the result of key
    exchange).
 
    Note too that in the case of an attempted active man-in-the-middle
    attack, the attacker will already possess knowledge of the TLS
    finished messages for both inbound and outbound TLS channels (which
    will differ, given that the attacker cannot force them to be the
    same).  No additional information is obtained by the attacker from
    the authentication mechanism's disclosure of channel bindings data --
    the attacker already has it, even when cipher suites providing
    confidentiality protection are provided.
 
    None of the channel binding types defined herein produce channel
    bindings data that must be kept secret.  Moreover, none of the
    channel binding types defined herein can be expected to be private
    (known only to the end-points of the channel), except that the unique
    TLS channel binding types can be expected to be private when a cipher
    suite that provides confidentiality protection is used to protect the
    Finished message exchanges and the application data records
    containing application-layer authentication messages.
 
 
 10.  References
 
 10.1.  Normative References
 
    [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
               Requirement Levels", BCP 14, RFC 2119, March 1997.
 
    [RFC5056]  Williams, N., "On the Use of Channel Bindings to Secure
               Channels", RFC 5056, November 2007.
 
    [RFC5246]  Dierks, T. and E. Rescorla, "The Transport Layer Security
               (TLS) Protocol Version 1.2", RFC 5246, August 2008.
 
+   [RFC5746]  Rescorla, E., Ray, M., Dispensa, S., and N. Oskov,
+              "Transport Layer Security (TLS) Renegotiation Indication
+              Extension", RFC 5746, February 2010.
+
 10.2.  Normative References for 'tls-server-end-point'
 
    [FIPS-180-2]
               United States of America, National Institute of Standards
               and Technology, "Secure Hash Standard (Federal Information
               Processing Standard (FIPS) 180-2".
 
 10.3.  Informative References
 
    [I-D.irtf-cfrg-rhash]
               Halevi, S. and H. Krawczyk, "Strengthening Digital
               Signatures via Randomized Hashing",
               draft-irtf-cfrg-rhash-01 (work in progress), October 2007.
 
    [NIST-SP.800-106.2009]
               National Institute of Standards and Technology, "NIST
               Special Publication 800-106: Randomized Hashing for
               Digital Signatures", February 2009.
 
    [RFC0854]  Postel, J. and J. Reynolds, "Telnet Protocol
               Specification", STD 8, RFC 854, May 1983.
 
    [RFC1321]  Rivest, R., "The MD5 Message-Digest Algorithm", RFC 1321,
               April 1992.
 
    [RFC2743]  Linn, J., "Generic Security Service Application Program
               Interface Version 2, Update 1", RFC 2743, January 2000.
 
    [RFC3174]  Eastlake, D. and P. Jones, "US Secure Hash Algorithm 1
               (SHA1)", RFC 3174, September 2001.
 
    [RFC4880]  Callas, J., Donnerhacke, L., Finney, H., Shaw, D., and R.
               Thayer, "OpenPGP Message Format", RFC 4880, November 2007.
 
    [RFC5081]  Mavrogiannopoulos, N., "Using OpenPGP Keys for Transport
               Layer Security (TLS) Authentication", RFC 5081,
               November 2007.
 
    [RFC5280]  Cooper, D., Santesson, S., Farrell, S., Boeyen, S.,
               Housley, R., and W. Polk, "Internet X.509 Public Key
               Infrastructure Certificate and Certificate Revocation List
               (CRL) Profile", RFC 5280, May 2008.
 
 
 Authors' Addresses
 
    Jeff Altman
    Secure Endpoints
    255 W 94TH ST PHB
    New York, NY  10025
    US
 
    Email: jaltman@secure-endpoints.com
 
 
    Nicolas Williams
-   Sun Microsystems
+   Oracle
    5300 Riata Trace Ct
    Austin, TX  78727
    US
 
-   Email: Nicolas.Williams@sun.com
+   Email: Nicolas.Williams@oracle.com
 
 
    Larry Zhu
    Microsoft Corporation
    One Microsoft Way
    Redmond, WA  98052
    US
 
    Email: lzhu@microsoft.com
 

From Pasi.Eronen@nokia.com  Thu Mar 18 04:49:11 2010
Return-Path: <Pasi.Eronen@nokia.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BB5CC3A6B6A; Thu, 18 Mar 2010 04:49:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.944
X-Spam-Level: 
X-Spam-Status: No, score=-5.944 tagged_above=-999 required=5 tests=[AWL=-0.475, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4]
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 5u-TST9eLIaC; Thu, 18 Mar 2010 04:49:09 -0700 (PDT)
Received: from mgw-mx09.nokia.com (smtp.nokia.com [192.100.105.134]) by core3.amsl.com (Postfix) with ESMTP id EC0E73A6B67; Thu, 18 Mar 2010 04:49:07 -0700 (PDT)
Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx09.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o2IBmqKA014632; Thu, 18 Mar 2010 06:49:18 -0500
Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 18 Mar 2010 13:49:13 +0200
Received: from smtp.mgd.nokia.com ([65.54.30.8]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 18 Mar 2010 13:49:13 +0200
Received: from NOK-EUMSG-01.mgdnok.nokia.com ([65.54.30.86]) by nok-am1mhub-04.mgdnok.nokia.com ([65.54.30.8]) with mapi; Thu, 18 Mar 2010 12:49:13 +0100
From: <Pasi.Eronen@nokia.com>
To: <Nicolas.Williams@sun.com>, <channel-binding@ietf.org>, <sasl@ietf.org>, <tls@ietf.org>
Date: Thu, 18 Mar 2010 12:49:11 +0100
Thread-Topic: [sasl] Updates to draft-altman-tls-channel-bindings (PLEASE REVIEW)
Thread-Index: AcrGKDS98AAOEnlDSM6Om6cAPMiS/QAaAn+A
Message-ID: <808FD6E27AD4884E94820BC333B2DB775848524D7A@NOK-EUMSG-01.mgdnok.nokia.com>
References: <20100317231522.GA18167@Sun.COM>
In-Reply-To: <20100317231522.GA18167@Sun.COM>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 18 Mar 2010 11:49:13.0216 (UTC) FILETIME=[07847800:01CAC691]
X-Nokia-AV: Clean
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2010 11:49:11 -0000

A question for SASL: both GS2 and SCRAM are currently in
RFC Editor AUTH48, and they have a normative reference
to the IANA registration page for 'tls-unique'.

Since it appears we're about to change that registration
quite radically, what's the impact on GS2/SCRAM? Have GS2
and/or SCRAM implementors implemented the 'tls-unique'
binding?

And should we publish the RFCs at this time, if we know one
of the normative references is, well, unstable (likely to
change in non-backward-compatible way soon)?

Best regards,
Pasi

> -----Original Message-----
> From: sasl-bounces@ietf.org [mailto:sasl-bounces@ietf.org] On Behalf Of
> ext Nicolas Williams
> Sent: 18 March, 2010 01:15
> To: channel-binding@ietf.org; sasl@ietf.org; tls@ietf.org
> Subject: [sasl] Updates to draft-altman-tls-channel-bindings (PLEASE
> REVIEW)
>
> Now that TLS re-negotiation security (RFC5746) is done we need to
> finish
> draft-altman-tls-channel-bindings.
>
> It's become clear that MSFT implemented and deployed something slightly
> different than the 'tls-unique' binding description that had been
> registered.  They seem to be the only implementors to date; their
> implementation is secure, therefore I propose that we simply modify the
> description of 'tls-unique' and be done.
>
> The differences are:
>
>  - it's not always the client's Finished message, but the _first_
>    Finished message in the relevant handshake (in a session resumption
>    handshake the server sends its Finished message first);
>
>  - the Finished message is taken from the latest/inner-most TLS
>    handshake, rather than the outer-most one
>
> For the most common case, where there's no TLS re-negotiation and no
> TLS
> session resumption, there is no difference.
>
> It's past the I-D submission cut-off, so I can't submit an updated I-D.
> Below are the full diffs from -07 to the -08 to-be.
>
> Please review,
>
> Nico
>
>
> --- altman-tls-channel-bindings-07.unpg       Wed Mar 17 13:32:15 2010
> +++ altman-tls-channel-bindings-08.unpg       Wed Mar 17 13:32:51 2010
> @@ -1,594 +1,603 @@
>
>
>
>  NETWORK WORKING GROUP                                          J.
> Altman
>  Internet-Draft                                          Secure
> Endpoints
>  Intended status: Standards Track                             N.
> Williams
> -Expires: April 4, 2010
> Sun
> +Expires: September 18, 2010
> Oracle
>                                                                    L.
> Zhu
>                                                     Microsoft
> Corporation
> -                                                            October
> 2009
> +                                                          March 17,
> 2010
>
>
>                          Channel Bindings for TLS
> -                draft-altman-tls-channel-bindings-07.txt
> +                draft-altman-tls-channel-bindings-08.txt
>
>  Status of this Memo
>
>     This Internet-Draft is submitted to IETF in full conformance with
> the
>     provisions of BCP 78 and BCP 79.  This document may contain
> material
>     from IETF Documents or IETF Contributions published or made
> publicly
>     available before November 10, 2008.  The person(s) controlling the
>     copyright in some of this material may not have granted the IETF
>     Trust the right to allow modifications of such material outside the
>     IETF Standards Process.  Without obtaining an adequate license from
>     the person(s) controlling the copyright in such materials, this
>     document may not be modified outside the IETF Standards Process,
> and
>     derivative works of it may not be created outside the IETF
> Standards
>     Process, except to format it for publication as an RFC or to
>     translate it into languages other than English.
>
>     Internet-Drafts are working documents of the Internet Engineering
>     Task Force (IETF), its areas, and its working groups.  Note that
>     other groups may also distribute working documents as Internet-
>     Drafts.
>
>     Internet-Drafts are draft documents valid for a maximum of six
> months
>     and may be updated, replaced, or obsoleted by other documents at
> any
>     time.  It is inappropriate to use Internet-Drafts as reference
>     material or to cite them other than as "work in progress."
>
>     The list of current Internet-Drafts can be accessed at
>     http://www.ietf.org/ietf/1id-abstracts.txt.
>
>     The list of Internet-Draft Shadow Directories can be accessed at
>     http://www.ietf.org/shadow.html.
>
> -   This Internet-Draft will expire on April 4, 2010.
> +   This Internet-Draft will expire on September 18, 2010.
>
>  Copyright Notice
>
> -   Copyright (c) 2009 IETF Trust and the persons identified as the
> +   Copyright (c) 2010 IETF Trust and the persons identified as the
>     document authors.  All rights reserved.
>
>     This document is subject to BCP 78 and the IETF Trust's Legal
>     Provisions Relating to IETF Documents in effect on the date of
>     publication of this document (http://trustee.ietf.org/license-
> info).
>     Please review these documents carefully, as they describe your
> rights
>     and restrictions with respect to this document.
>
>  Abstract
>
>     This document defines three channel binding types for Transport
> Layer
>     Security (TLS), tls-unique, tls-server-end-point, and tls-unique-
> for-
>     telnet, in accordance with RFC 5056 (On Channel Binding).
>
>
>  Table of Contents
>
>     1.    Conventions used in this document
>     2.    Introduction
>     3.    The 'tls-unique' Channel Binding Type
>     3.1.  Description
>     3.2.  Registration
>     4.    The 'tls-server-end-point' Channel Binding Type
>     4.1.  Description
>     4.2.  Registration
>     5.    The 'tls-unique-for-telnet' Channel Binding Type
>     5.1.  Description
>     5.2.  Registration
>     6.    Applicability of TLS Channel Binding Types
>     7.    Required Application Programming Interfaces
>     8.    IANA Considerations
>     9.    Security Considerations
>     9.1.  Cryptographic Algorithm Agility
>     9.2.  On Disclosure of Channel Bindings Data by Authentication
>           Mechanisms
>     10.   References
>     10.1. Normative References
>     10.2. Normative References for 'tls-server-end-point'
>     10.3. Informative References
>           Authors' Addresses
>
>
>  1.  Conventions used in this document
>
>     The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
>     "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in
> this
>     document are to be interpreted as described in [RFC2119].
>
>
>  2.  Introduction
>
>     Subsequent to the publication of "On Channel Bindings" [RFC5246],
>     three channel binding types for Transport Layer Security (TLS) were
>     proposed, reviewed and added to the IANA channel binding type
>     registry, all in accordance with [RFC5246].  Those channel binding
>     types are: 'tls-unique', 'tls-server-end-point', and 'tls-unique-
> for-
>     telnet'.  It has become desirable to have these channel binding
> types
>     re-registered through an RFC so as to make it easier to reference
> -   them.  This document does just that.  The authors of those three
> -   channel binding types have, or have indicated that they will,
> -   transferred "ownership" of those channel binding types to the IESG.
> +   them, and to correct them to describe actual implementations.  This
> +   document does just that.  The authors of those three channel
> binding
> +   types have, or have indicated that they will, transferred
> "ownership"
> +   of those channel binding types to the IESG.
>
>     We also provide some advice on the applicability of these channel
>     binding types, as well as advice on when to use which.  And we
>     provide an abstract API that TLS implementors should provide, by
>     which to obtain channel bindings data for a TLS connection.
>
>
>  3.  The 'tls-unique' Channel Binding Type
>
>     IANA is hereby directed to update the registration of the 'tls-
> -   unique' channel binding type to match the following.  Note that the
> -   only material changes from the original registration should be: the
> -   "owner" (now the IESG), contacts, the published specfication, and a
> -   clarification to the description by the addition of a parenthetical
> -   note (that is, the first such note in the descritption is a new
> -   addition).  We also added a note indicating that this specification
> -   contains applicability advice, and we moved security considerations
> -   notes to the security considerations section of this document.  All
> -   other fields of the registration are copied here for the
> convenience
> -   of readers.
> +   unique' channel binding type to match the following.  There are
> +   material changes from the original registration, both in the
> +   description as well as registration meta-data (such as registration
> +   ownership).
>
>  3.1.  Description
>
> -   Description: The client's TLS Finished message (note: the Finished
> -   struct) from the first handshake of the connection (note:
> connection,
> -   not session, so that the channel binding is specific to each
> -   connection regardless of whether session resumption is used).
> +   Description: The first TLS Finished message sent (note: the
> Finished
> +   struct) in the most recent TLS handshake of the TLS connection
> being
> +   bound to (note: TLS connection, not session, so that the channel
> +   binding is specific to each connection regardless of whether
> session
> +   resumption is used).  If TLS re-negotiation takes place before the
> +   channel binding operation, then the first TLS Finished message sent
> +   of the latest/inner-most TLS connection is used.  Note that for
> full
> +   TLS handshakes the first Finished message is sent by the client,
> +   while for abbreviated TLS handshakes the first Finished message is
> +   sent by the server.
>
>  3.2.  Registration
>
>     o  Channel binding unique prefix: tls-unique
>
>     o  Channel binding type: unique
>
>     o  Channel type: TLS [RFC5246]
>
>     o  Published specification: <this document>
>
>     o  Channel binding is secret: no
>
>     o  Description: <See specification>
>
>     o  Intended usage: COMMON
>
>     o  Person and email address to contact for further information:
> Larry
>        Zhu (lzhu@microsoft.com), Nicolas Williams
>        (Nicolas.Williams@sun.com).
>
>     o  Owner/Change controller name and email address: IESG.
>
>     o  Expert reviewer name and contact information: IETF TLS WG
>        (tls@ietf.org, failing that, ietf@ietf.org)
>
>     o  Note: see the published specification for advice on the
>        applicability of this channel binding type.
>
>
>  4.  The 'tls-server-end-point' Channel Binding Type
>
>     IANA is hereby directed to update the registration of the 'tls-
>     server-end-point' channel binding type to match the following.
> Note
>     that the only material changes from the original registration
> should
>     be: the "owner" (now the IESG), the contacts, the published
>     specfication, and a note indicating that the published
> specification
>     should be consulted for applicability advice.  References were
> added
>     to the description.  All other fields of the registration are
> copied
>     here for the convenience of readers.
>
>  4.1.  Description
>
>     Description: The hash of the TLS server's certificate [RFC5280] as
> it
>     appears, octet for octet, in the server's Certificate message (note
>     that the Certificate message contains a certificate_list, the first
>     element of which is the server's certificate).
>
>     The hash function is to be selected as follows:
>
>     o  if the certificate's signatureAlgorithm uses a single hash
>        function, and that hash function is either MD5 [RFC1321] or SHA-
> 1
>        [RFC3174] then use SHA-256 [FIPS-180-2];
>
>     o  if the certificate's signatureAlgorithm uses a single hash
>        function and that hash function neither MD5 nor SHA-1, then use
>        the hash function associated with the certificate's
>        signatureAlgorithm;
>
>     o  if the certificate's signatureAlgorithm uses no hash functions
> or
>        multiple hash functions, then this channel binding type's
> channel
>        bindings are undefined at this time (updates to is channel
> binding
>        type may occur to address this issue if it ever arises).
>
>     The reason for using a hash of the certificate is that some
>     implementations need to track the channel binding of a TLS session
> in
>     kernel-mode memory, which is often at a premium.
>
>  4.2.  Registration
>
>     o  Channel binding unique prefix: tls-server-end-point
>
>     o  Channel binding type: end-point
>
>     o  Channel type: TLS [RFC5246]
>
>     o  Published specification: <this document>
>
>     o  Channel binding is secret: no
>
>     o  Description: <See specification>
>
>     o  Intended usage: COMMON
>
>     o  Person and email address to contact for further information:
> Larry
>        Zhu (lzhu@microsoft.com), Nicolas Williams
>        (Nicolas.Williams@sun.com).
>
>     o  Owner/Change controller name and email address: IESG.
>
>     o  Expert reviewer name and contact information: IETF TLS WG
>        (tls@ietf.org, failing that, ietf@ietf.org)
>
>     o  Note: see the published specification for advice on the
>        applicability of this channel binding type.
>
>
>  5.  The 'tls-unique-for-telnet' Channel Binding Type
>
>     IANA is hereby directed to update the registration of the 'tls-
>     unique-for-telnet' channel binding type to match the following.
> Note
>     that the only material changes from the original registration
> should
>     be: the "owner" (now the IESG), the contacts, the published
>     specfication, and a note indicating that the published
> specification
>     should be consulted for applicability advice.  The description is
>     also clarified.  We also moved security considerations notes to the
>     security considerations section of this document.  All other fields
>     of the registration are copied here for the convenience of readers.
>
>  5.1.  Description
>
>     Description: There is a proposal for adding a "StartTLS" extension
> to
>     TELNET, and a channel binding extension for the various TELNET AUTH
>     mechanisms whereby each side sends the other a "checksum" (MAC) of
> -   their view of the channel's bindings.  The client uses the first
> TLS
> -   Finished messages (note: the Finished struct) from the client and
> -   server, each concatenated in that order and in their clear text
> form.
> -   The server does the same but in the opposite concatenation order
> -   (server, then client).
> +   their view of the channel's bindings.  The client uses the TLS
> +   Finished messages (note: the Finished struct) sent by the client
> and
> +   server, each concatenated in that order and in their clear text
> form,
> +   of the first TLS handshake of the connection being bound to.  The
> +   server does the same but in the opposite concatenation order
> (server,
> +   then client).
>
>  5.2.  Registration
>
>     o  Channel binding unique prefix: tls-unique-for-telnet
>
>     o  Channel binding type: unique
>
>     o  Channel type: TLS [RFC5246]
>
>     o  Published specification: <this document>
>
>     o  Channel binding is secret: no
>
>     o  Description: <See specification>
>
>     o  Intended usage: COMMON
>
>     o  Person and email address to contact for further information:
> Jeff
>        Altman (jaltman@secure-endpoints.com), Nicolas Williams
>        (Nicolas.Williams@sun.com).
>
>     o  Owner/Change controller name and email address: IESG.
>
>     o  Expert reviewer name and contact information: IETF TLS WG
>        (tls@ietf.org, failing that, ietf@ietf.org)
>
>     o  Note: see the published specification for advice on the
>        applicability of this channel binding type.
>
>
>  6.  Applicability of TLS Channel Binding Types
>
>     The 'tls-unique-for-telnet' channel binding type is only applicable
>     to TELNET [RFC0854], and is available for all TLS connections.
>
>     The 'tls-unique' channel binding type is available for all TLS
>     connections, while 'tls-server-end-point' is only available when
> TLS
>     cipher suites with server certificates are used, specifically:
> cipher
>     suites that use the Certificate handshake message, which typically
>     involve the use of PKIX [RFC5280].  For example, 'tls-server-end-
>     point' is available when using TLS ciphers suites such as (this is
>     not an exhaustive list):
>
>     o  TLS_DHE_DSS_WITH_*
>
>     o  TLS_DHE_RSA_WITH_*
>
>     o  TLS_DH_DSS_WITH_*
>
>     o  TLS_DH_RSA_WITH_*
>
>     o  TLS_ECDHE_ECDSA_WITH_*
>
>     o  TLS_ECDHE_RSA_WITH_*
>
>     o  TLS_ECDH_ECDSA_WITH_*
>
>     o  TLS_ECDH_RSA_WITH_*
>
>     o  TLS_RSA_PSK_WITH_*
>
>     o  TLS_RSA_WITH_*
>
>     o  TLS_SRP_SHA_DSS_WITH_*
>
>     o  TLS_SRP_SHA_RSA_WITH_*
>
>     but is not available when using TLS cipher suites such as (this is
>     not an exhaustive list):
>
>     o  TLS_DHE_PSK_WITH_*
>
>     o  TLS_DH_anon_WITH_*
>
>     o  TLS_ECDHE_PSK_WITH_*
>
>     o  TLS_ECDH_anon_WITH_*
>
>     o  TLS_KRB5_WITH_*
>
>     o  TLS_PSK_WITH_*
>
>     o  TLS_SRP_SHA_WITH_*
>
>     Nor is this channel binding type available for use with OpenPGP
>     server certificates [RFC5081] [RFC4880] (since these don't use the
>     Certificate handshake message).
>
>     Therefore 'tls-unique' is generally better than 'tls-server-end-
>     point'.  However, 'tls-server-end-point' may be used with existing
>     TLS server-side proxies ("concentrators") without modification to
> the
>     proxies, whereas 'tls-unique' may require firmware or software
>     updates to server-side proxies.  Therefore there may be cases where
>     'tls-server-end-point' may interoperate but where 'tls-unique' may
>     not.
>
>     Also, authentications mechanisms may arise which depend on channel
>     bindings to contribute entropy, in which case unique channel
> bindings
>     would have to always be used in preference to end-point channel
>     bindings.  At this time there are no such mechanisms, though one
> such
>     SASL mechanism has been proposed.  Whether such mechanisms should
> be
>     allowed is out of scope for this document.
>
>     In other words, for many applications there may be two potentially
>     applicable TLS channel binding types.  Channel binding is all or
>     nothing for the GSS-API [RFC2743], and likely other frameworks.
>     Therefore agreement on the use of channel binding, and a particular
>     channel binding type is necessary.  Such agreement can be obtained
> a
>     priori, by convention, or negotiated.
>
>     The specifics of whether and how to negotiate channel binding types
>     are beyond the scope of this document.  However, it is RECOMMENDED
>     that application protocols making use of TLS channel bindings, use
>     'tls-unique' exclusively, except, perhaps, where server-side
> proxies
>     are common in deployments of an application protocol.  In the
> latter
>     case an application protocol MAY specify that 'tls-server-end-
> point'
>     channel bindings must be used when available, with 'tls-unique'
> being
>     used when 'tls-server-end-point' channel bindings are not
> available.
>     Alternatively, the application may negotiate which channel binding
>     type to use, or may make the choice of channel binding type
>     configurable.
>
>     Specifically, application protocol specifications MUST indicate at
>     least one mandatory to implement channel binding type, MAY specify
> a
>     negotiation protocol, MAY allow for out-of-band negotiation or
>     configuration, and SHOULD have a preference for 'tls-unique' over
>     'tls-server-end-point'.
>
>
>  7.  Required Application Programming Interfaces
>
>     TLS implementations supporting the use of 'tls-unique' and/or 'tls-
>     unique-for-telnet' channel binding types, MUST provide application
>     programming interfaces by which applications (clients and servers
>     both) may obtain the channel bindings for a TLS connection.  Such
>     interfaces may be expressed in terms of extracting the channel
>     bindings data for a given connection and channel binding type.
>     Alternatively the implementor may provide interfaces by which to
>     obtain the initial client Finished message, the initial server
>     Finished message and/or the server certificate (in a form that
>     matches the description of the 'tls-server-end-point' channel
> binding
>     type).  In the latter case the application has to have knowledge of
>     the channel binding type descriptions from this document.  This
>     document takes no position on which form these application
>     programming interfaces must take.
>
>
>  8.  IANA Considerations
>
>     The IANA is hereby directed to update three existing channel
> binding
>     type registrations.  See the rest of this document.
>
>
>  9.  Security Considerations
>
> -   The Security Considerations section of [RFC5056] applies to this
> -   document.
> +   The Security Considerations sections of [RFC5056], [RFC5246] and
> +   [RFC5746] apply to this document.
>
>     The TLS Finished messages (see section 7.4.9 of [RFC5246]) are
> known
>     to both endpoints of a TLS connection, and are cryptographycally
> -   bound to it.  Therefore the TLS Finished messages can be safely
> used
> -   as a channel binding provided that the authentication mechanism
> doing
> -   the channel binding conforms to the requirements in [RFC5056].
> +   bound to it.  For implementations of TLS that correctly handle re-
> +   negotiation [RFC5746] each handshake on a TLS connection is bound
> to
> +   the preceding handshake, if any.  Therefore the TLS Finished
> messages
> +   can be safely used as a channel binding provided that the
> +   authentication mechanism doing the channel binding conforms to the
> +   requirements in [RFC5056].
>
>     The server certificate, when present, is also cryptographically
> bound
>     to the TLS connection through its use in key transport and/or
>     authentication of the server (either by dint of its use in key
>     transport, by its use in signing key agreement, or by its use in
> key
>     agreement).  Therefore the server certificate is suitable as an
> end-
>     point channel binding as described in [RFC5056].
>
>  9.1.  Cryptographic Algorithm Agility
>
>     The 'tls-unique' and 'tls-unique-for-telnet' channel binding types
> do
>     not add any use of cryptography beyond that used by TLS itself.
>     Therefore these two channel binding types add no considerations
> with
>     respect to cryptographic algorithm agility.
>
>     The 'tls-server-end-point' channel binding type consist of a hash
> of
>     a server certificate.  The reason for this is to produce manageably
>     small channel binding data, as some implementations will be using
>     kernel-mode memory (which is typically scarce) to store these.
> This
>     use of a hash algorithm is above and beyond TLS's use of
>     cryptography, therefore the 'tls-server-end-point' channel binding
>     type has a security consideration with respect to hash algorithm
>     agility.  The algorithm to be used, however, is derived from the
>     server certificate's signature algorithm as described in Section
> 4.1;
>     to recap: use SHA-256 if the certificate signature algorithm uses
> MD5
>     or SHA-1, else use whatever hash function the certificate uses
>     (unless the signature algorithm uses no hash functions or more than
>     one hash function, in which case 'tls-server-end-point' is
>     undefined).  This construction automatically makes 'tls-server-end-
>     point' hash algorithm agile, with a dependency on PKIX and TLS for
>     hash agility.
>
>     Current proposals for randomized signatures algorithms
>     [I-D.irtf-cfrg-rhash] [NIST-SP.800-106.2009] use hash functions in
>     their construction -- a single hash function in each algorithm.
>     Therefore the 'tls-server-end-point' channel binding type should be
>     available even in cases where new signatures algorithms are used
> that
>     are based on current randomized hashing proposals (but we cannot
>     guarantee this, of course).
>
>  9.2.  On Disclosure of Channel Bindings Data by Authentication
>        Mechanisms
>
>     When these channel binding types were first considered, one issue
>     that some commenters were concerned about was the possible impact
> on
>     the security of the TLS channel, of disclosure of the channel
>     bindings data by authentication mechanisms.  This can happen, for
>     example, when an authentication mechanism transports the channel
>     bindings data, with no confidentiality protection, over other
>     transports (for example, in communicating with a trusted third
>     party), or when the TLS channel provides no confidentiality
>     protection and the authentication mechanism does not protect the
>     confidentiality of the channel bindings data.  This section
> considers
>     that concern.
>
>     When the TLS connection uses a cipher suite that does not provide
>     confidentiality protection, the TLS Finished messages will be
> visible
>     to eavesdroppers, regardless of what the authentication mechanism
>     does.  The same is true of the server certificate which, in any
> case,
>     is generally visible to eavesdroppers.  Therefore we must consider
>     our choices of TLS channel bindings here to be safe to disclose by
>     definition -- if that were not the case then TLS with cipher suites
>     that don't provide confidentiality protection would be unsafe.
>     Furthermore, the TLS Finished message construction depends on the
>     security of the TLS PRF, which in turn needs to be resistant to key
>     recovery attacks, and we think that it is, as it is based on HMAC,
>     and the master secret is, well, secret (and the result of key
>     exchange).
>
>     Note too that in the case of an attempted active man-in-the-middle
>     attack, the attacker will already possess knowledge of the TLS
>     finished messages for both inbound and outbound TLS channels (which
>     will differ, given that the attacker cannot force them to be the
>     same).  No additional information is obtained by the attacker from
>     the authentication mechanism's disclosure of channel bindings data
> --
>     the attacker already has it, even when cipher suites providing
>     confidentiality protection are provided.
>
>     None of the channel binding types defined herein produce channel
>     bindings data that must be kept secret.  Moreover, none of the
>     channel binding types defined herein can be expected to be private
>     (known only to the end-points of the channel), except that the
> unique
>     TLS channel binding types can be expected to be private when a
> cipher
>     suite that provides confidentiality protection is used to protect
> the
>     Finished message exchanges and the application data records
>     containing application-layer authentication messages.
>
>
>  10.  References
>
>  10.1.  Normative References
>
>     [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
>                Requirement Levels", BCP 14, RFC 2119, March 1997.
>
>     [RFC5056]  Williams, N., "On the Use of Channel Bindings to Secure
>                Channels", RFC 5056, November 2007.
>
>     [RFC5246]  Dierks, T. and E. Rescorla, "The Transport Layer
> Security
>                (TLS) Protocol Version 1.2", RFC 5246, August 2008.
>
> +   [RFC5746]  Rescorla, E., Ray, M., Dispensa, S., and N. Oskov,
> +              "Transport Layer Security (TLS) Renegotiation Indication
> +              Extension", RFC 5746, February 2010.
> +
>  10.2.  Normative References for 'tls-server-end-point'
>
>     [FIPS-180-2]
>                United States of America, National Institute of
> Standards
>                and Technology, "Secure Hash Standard (Federal
> Information
>                Processing Standard (FIPS) 180-2".
>
>  10.3.  Informative References
>
>     [I-D.irtf-cfrg-rhash]
>                Halevi, S. and H. Krawczyk, "Strengthening Digital
>                Signatures via Randomized Hashing",
>                draft-irtf-cfrg-rhash-01 (work in progress), October
> 2007.
>
>     [NIST-SP.800-106.2009]
>                National Institute of Standards and Technology, "NIST
>                Special Publication 800-106: Randomized Hashing for
>                Digital Signatures", February 2009.
>
>     [RFC0854]  Postel, J. and J. Reynolds, "Telnet Protocol
>                Specification", STD 8, RFC 854, May 1983.
>
>     [RFC1321]  Rivest, R., "The MD5 Message-Digest Algorithm", RFC
> 1321,
>                April 1992.
>
>     [RFC2743]  Linn, J., "Generic Security Service Application Program
>                Interface Version 2, Update 1", RFC 2743, January 2000.
>
>     [RFC3174]  Eastlake, D. and P. Jones, "US Secure Hash Algorithm 1
>                (SHA1)", RFC 3174, September 2001.
>
>     [RFC4880]  Callas, J., Donnerhacke, L., Finney, H., Shaw, D., and
> R.
>                Thayer, "OpenPGP Message Format", RFC 4880, November
> 2007.
>
>     [RFC5081]  Mavrogiannopoulos, N., "Using OpenPGP Keys for Transport
>                Layer Security (TLS) Authentication", RFC 5081,
>                November 2007.
>
>     [RFC5280]  Cooper, D., Santesson, S., Farrell, S., Boeyen, S.,
>                Housley, R., and W. Polk, "Internet X.509 Public Key
>                Infrastructure Certificate and Certificate Revocation
> List
>                (CRL) Profile", RFC 5280, May 2008.
>
>
>  Authors' Addresses
>
>     Jeff Altman
>     Secure Endpoints
>     255 W 94TH ST PHB
>     New York, NY  10025
>     US
>
>     Email: jaltman@secure-endpoints.com
>
>
>     Nicolas Williams
> -   Sun Microsystems
> +   Oracle
>     5300 Riata Trace Ct
>     Austin, TX  78727
>     US
>
> -   Email: Nicolas.Williams@sun.com
> +   Email: Nicolas.Williams@oracle.com
>
>
>     Larry Zhu
>     Microsoft Corporation
>     One Microsoft Way
>     Redmond, WA  98052
>     US
>
>     Email: lzhu@microsoft.com
>
> _______________________________________________
> sasl mailing list
> sasl@ietf.org
> https://www.ietf.org/mailman/listinfo/sasl

From dave@cridland.net  Thu Mar 18 06:45:08 2010
Return-Path: <dave@cridland.net>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5050D3A683A; Thu, 18 Mar 2010 06:45:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.143
X-Spam-Level: 
X-Spam-Status: No, score=-2.143 tagged_above=-999 required=5 tests=[AWL=-0.674, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
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 eXuIaI1W7LDb; Thu, 18 Mar 2010 06:45:06 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [IPv6:2001:470:1f09:882:2e0:81ff:fe29:d16a]) by core3.amsl.com (Postfix) with ESMTP id EA1223A6907; Thu, 18 Mar 2010 06:45:05 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id CE7B611680C6; Thu, 18 Mar 2010 13:45:13 +0000 (GMT)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2QNUDB1y1PBh; Thu, 18 Mar 2010 13:45:13 +0000 (GMT)
Received: from puncture (unknown [IPv6:2001:470:1f09:882:221:85ff:fe3f:1696]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 709FB11680C3; Thu, 18 Mar 2010 13:45:13 +0000 (GMT)
References: <20100317231522.GA18167@Sun.COM> <808FD6E27AD4884E94820BC333B2DB775848524D7A@NOK-EUMSG-01.mgdnok.nokia.com>
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB775848524D7A@NOK-EUMSG-01.mgdnok.nokia.com>
MIME-Version: 1.0
Message-Id: <2462.1268919913.457533@puncture>
Date: Thu, 18 Mar 2010 13:45:13 +0000
From: Dave Cridland <dave@cridland.net>
To: "Pasi.Eronen@nokia.com" <Pasi.Eronen@nokia.com>, Nicolas Williams <Nicolas.Williams@sun.com>, "channel-binding@ietf.org" <channel-binding@ietf.org>, SASL Working Group <sasl@ietf.org>, "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="iso-8859-1"; format="flowed"
Content-Transfer-Encoding: 8Bit
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2010 13:45:08 -0000

On Thu Mar 18 11:49:11 2010, Pasi.Eronen@nokia.com wrote:
> 
> A question for SASL: both GS2 and SCRAM are currently in
> RFC Editor AUTH48, and they have a normative reference
> to the IANA registration page for 'tls-unique'.
> 
> Since it appears we're about to change that registration
> quite radically, what's the impact on GS2/SCRAM? Have GS2
> and/or SCRAM implementors implemented the 'tls-unique'
> binding?
> 
> 
This SCRAM implementor did, yes. And I followed the specification.  
Aren't I naïve?


> And should we publish the RFCs at this time, if we know one
> of the normative references is, well, unstable (likely to
> change in non-backward-compatible way soon)?
> 
> Best regards,
> Pasi
> 
> > -----Original Message-----
> > From: sasl-bounces@ietf.org [mailto:sasl-bounces@ietf.org] On  
> Behalf Of
> > ext Nicolas Williams
> > Sent: 18 March, 2010 01:15
> > To: channel-binding@ietf.org; sasl@ietf.org; tls@ietf.org
> > Subject: [sasl] Updates to draft-altman-tls-channel-bindings  
> (PLEASE
> > REVIEW)
> >
> > Now that TLS re-negotiation security (RFC5746) is done we need to
> > finish
> > draft-altman-tls-channel-bindings.
> >
> > It's become clear that MSFT implemented and deployed something  
> slightly
> > different than the 'tls-unique' binding description that had been
> > registered.  They seem to be the only implementors to date; their
> > implementation is secure, therefore I propose that we simply  
> modify the
> > description of 'tls-unique' and be done.
> >
> > The differences are:
> >
> >  - it's not always the client's Finished message, but the _first_
> >    Finished message in the relevant handshake (in a session  
> resumption
> >    handshake the server sends its Finished message first);
> >

This is quite annoying. It's harder for me (personally) to implement,  
given the APIs I'm working with. Moreover, since it changes with a  
(relatively) unusual feature of TLS, I suspect people will get this  
wrong - most uses of TLS in, for example, XMPP or IMAP do not appear  
to use session resumption much.


> >  - the Finished message is taken from the latest/inner-most TLS
> >    handshake, rather than the outer-most one
> >

This unnerves me. I'd prefer to use only the first negotiation from  
each side, since that effectively means that both ends know which one  
that was. Moreover, in principle a negotiation could occur during the  
SASL exchange, which would then invalidate the channel binding.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From simon@josefsson.org  Thu Mar 18 08:22:42 2010
Return-Path: <simon@josefsson.org>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 473803A6C36; Thu, 18 Mar 2010 08:22:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.972
X-Spam-Level: 
X-Spam-Status: No, score=-1.972 tagged_above=-999 required=5 tests=[AWL=-0.503, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
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 Fa+Ld9sOXDkK; Thu, 18 Mar 2010 08:22:28 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 2442F3A6C09; Thu, 18 Mar 2010 08:22:24 -0700 (PDT)
Received: from mocca (c80-216-24-99.bredband.comhem.se [80.216.24.99]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o2IFMKXu030325 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 18 Mar 2010 16:22:23 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Dave Cridland <dave@cridland.net>
References: <20100317231522.GA18167@Sun.COM> <808FD6E27AD4884E94820BC333B2DB775848524D7A@NOK-EUMSG-01.mgdnok.nokia.com> <2462.1268919913.457533@puncture>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:100318:tls@ietf.org::T+aO0Gd+NZYyT0in:2TMS
X-Hashcash: 1:22:100318:dave@cridland.net::0aSxh55pkJ7RUXR3:30d+
X-Hashcash: 1:22:100318:sasl@ietf.org::mB/uh/hAwk3LJj29:7p65
X-Hashcash: 1:22:100318:pasi.eronen@nokia.com::4J7JnjIi4lzw210Z:5KBl
X-Hashcash: 1:22:100318:channel-binding@ietf.org::XHFqmiU7ktHBUu2i:4Hnj
X-Hashcash: 1:22:100318:nicolas.williams@sun.com::bd8kCHb3qbZWl4HX:IqxL
Date: Thu, 18 Mar 2010 16:22:20 +0100
In-Reply-To: <2462.1268919913.457533@puncture> (Dave Cridland's message of "Thu, 18 Mar 2010 13:45:13 +0000")
Message-ID: <877hp98xjn.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.95.3 at yxa-v
X-Virus-Status: Clean
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "Pasi.Eronen@nokia.com" <Pasi.Eronen@nokia.com>, SASL Working Group <sasl@ietf.org>, Nicolas Williams <Nicolas.Williams@sun.com>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2010 15:22:42 -0000

Dave Cridland <dave@cridland.net> writes:

> On Thu Mar 18 11:49:11 2010, Pasi.Eronen@nokia.com wrote:
>>
>> A question for SASL: both GS2 and SCRAM are currently in
>> RFC Editor AUTH48, and they have a normative reference
>> to the IANA registration page for 'tls-unique'.
>>
>> Since it appears we're about to change that registration
>> quite radically, what's the impact on GS2/SCRAM? Have GS2
>> and/or SCRAM implementors implemented the 'tls-unique'
>> binding?
>>
>>
> This SCRAM implementor did, yes. And I followed the
> specification. Aren't I naïve?

I've done testing with the IANA registered tls-unique too.  GnuTLS added
APIs for this two major/stable release cycles ago (2008-10) which is now
widely deployed.  It may be that the APIs are flexible enough to be able
to implement the new semantics, although I suppose applications would
need to be modified.  I haven't analyzed the details yet...

What kind of software has Microsoft deployed already that use
tls-unique?  I thought GS2 and SCRAM were the most ready protocols that
used it, and they are still not final.

Changing the IANA specification for tls-unique long after it has been
registered and published seems bad to me.  Bad enough to make me think
that it is a mistake for GS2/SCRAM to reference the IANA specification
normatively -- if the IANA registry is not immutable, interop is not
possible.

There is always the option of making GS2/SCRAM reference 'tls-unique2'
and specify that clearly and stable once and for all.  Then we can let
'tls-unique' be the interop mess that it appears to be right now.

/Simon

>
>> And should we publish the RFCs at this time, if we know one
>> of the normative references is, well, unstable (likely to
>> change in non-backward-compatible way soon)?
>>
>> Best regards,
>> Pasi
>>
>> > -----Original Message-----
>> > From: sasl-bounces@ietf.org [mailto:sasl-bounces@ietf.org] On
>> Behalf Of
>> > ext Nicolas Williams
>> > Sent: 18 March, 2010 01:15
>> > To: channel-binding@ietf.org; sasl@ietf.org; tls@ietf.org
>> > Subject: [sasl] Updates to draft-altman-tls-channel-bindings
>> (PLEASE
>> > REVIEW)
>> >
>> > Now that TLS re-negotiation security (RFC5746) is done we need to
>> > finish
>> > draft-altman-tls-channel-bindings.
>> >
>> > It's become clear that MSFT implemented and deployed something
>> slightly
>> > different than the 'tls-unique' binding description that had been
>> > registered.  They seem to be the only implementors to date; their
>> > implementation is secure, therefore I propose that we simply
>> modify the
>> > description of 'tls-unique' and be done.
>> >
>> > The differences are:
>> >
>> >  - it's not always the client's Finished message, but the _first_
>> >    Finished message in the relevant handshake (in a session
>> resumption
>> >    handshake the server sends its Finished message first);
>> >
>
> This is quite annoying. It's harder for me (personally) to implement,
> given the APIs I'm working with. Moreover, since it changes with a
> (relatively) unusual feature of TLS, I suspect people will get this
> wrong - most uses of TLS in, for example, XMPP or IMAP do not appear
> to use session resumption much.
>
>
>> >  - the Finished message is taken from the latest/inner-most TLS
>> >    handshake, rather than the outer-most one
>> >
>
> This unnerves me. I'd prefer to use only the first negotiation from
> each side, since that effectively means that both ends know which one
> that was. Moreover, in principle a negotiation could occur during the
> SASL exchange, which would then invalidate the channel binding.
>
> Dave.
> --
> Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
>  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
>  - http://dave.cridland.net/
> Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade
> _______________________________________________
> CHANNEL-BINDING mailing list
> CHANNEL-BINDING@ietf.org
> https://www.ietf.org/mailman/listinfo/channel-binding

From Nicolas.Williams@sun.com  Thu Mar 18 08:44:12 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 24D633A68E7; Thu, 18 Mar 2010 08:44:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.234
X-Spam-Level: 
X-Spam-Status: No, score=-5.234 tagged_above=-999 required=5 tests=[AWL=0.234,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 KoqxNy1Q8eok; Thu, 18 Mar 2010 08:44:11 -0700 (PDT)
Received: from rcsinet12.oracle.com (rcsinet12.oracle.com [148.87.113.124]) by core3.amsl.com (Postfix) with ESMTP id 73B1C3A6846; Thu, 18 Mar 2010 08:44:11 -0700 (PDT)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2IFiKgY010309 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Mar 2010 15:44:21 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2HKLrrN032224; Thu, 18 Mar 2010 15:44:18 GMT
Received: from abhmt015.oracle.com by acsmt355.oracle.com with ESMTP id 97118451268926970; Thu, 18 Mar 2010 08:42:50 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 18 Mar 2010 08:42:49 -0700
Date: Thu, 18 Mar 2010 10:42:45 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Message-ID: <20100318154244.GF18167@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <808FD6E27AD4884E94820BC333B2DB775848524D7A@NOK-EUMSG-01.mgdnok.nokia.com> <2462.1268919913.457533@puncture> <877hp98xjn.fsf@mocca.josefsson.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <877hp98xjn.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt353.oracle.com [141.146.40.153]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090203.4BA24A53.00FE,ss=1,fgs=0
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "Pasi.Eronen@nokia.com" <Pasi.Eronen@nokia.com>, "tls@ietf.org" <tls@ietf.org>, SASL Working Group <sasl@ietf.org>, Dave Cridland <dave@cridland.net>
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2010 15:44:12 -0000

Oh dear.  Larry?  Can you please chime in as to whether you can fix your
implementation to match the original spec?  Anybody else?

Nico
-- 

From larry.zhu@microsoft.com  Thu Mar 18 11:14:08 2010
Return-Path: <larry.zhu@microsoft.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E4EB33A681B; Thu, 18 Mar 2010 11:14:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.469
X-Spam-Level: 
X-Spam-Status: No, score=-9.469 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_HI=-8]
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 3GnWI+Gm6JHb; Thu, 18 Mar 2010 11:14:07 -0700 (PDT)
Received: from smtp.microsoft.com (maila.microsoft.com [131.107.115.212]) by core3.amsl.com (Postfix) with ESMTP id 85C203A6B8E; Thu, 18 Mar 2010 11:13:34 -0700 (PDT)
Received: from TK5EX14HUBC101.redmond.corp.microsoft.com (157.54.7.153) by TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with Microsoft SMTP Server (TLS) id 8.2.176.0; Thu, 18 Mar 2010 11:13:46 -0700
Received: from TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) by TK5EX14HUBC101.redmond.corp.microsoft.com (157.54.7.153) with Microsoft SMTP Server (TLS) id 14.0.639.21; Thu, 18 Mar 2010 11:13:45 -0700
Received: from TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com ([169.254.3.141]) by TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.68]) with mapi; Thu, 18 Mar 2010 11:13:44 -0700
From: Larry Zhu <larry.zhu@microsoft.com>
To: Simon Josefsson <simon@josefsson.org>, Dave Cridland <dave@cridland.net>
Thread-Topic: [sasl] [CHANNEL-BINDING] Updates to draft-altman-tls-channel-bindings (PLEASE REVIEW)
Thread-Index: AQHKxq7t/vXMiR7Kp0yDnzuPbplZNpH3/s+Q
Date: Thu, 18 Mar 2010 18:13:43 +0000
Message-ID: <4B17DE30119FF1429798D9F5D94BDE8C0EB4DBDF@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
References: <20100317231522.GA18167@Sun.COM> <808FD6E27AD4884E94820BC333B2DB775848524D7A@NOK-EUMSG-01.mgdnok.nokia.com> <2462.1268919913.457533@puncture> <877hp98xjn.fsf@mocca.josefsson.org>
In-Reply-To: <877hp98xjn.fsf@mocca.josefsson.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, SASL Working Group <sasl@ietf.org>
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to	draft-altman-tls-channel-bindings (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2010 18:14:09 -0000

It seems that we can leave tls-unique as is, and add a new registry, let's =
say, called "tls-dynamic" or similar, to use the updated definition. Unless=
 some one finds a case where interop can be an issue, it is probably a bett=
er way to go.

--Larry

-----Original Message-----
From: sasl-bounces@ietf.org [mailto:sasl-bounces@ietf.org] On Behalf Of Sim=
on Josefsson
Sent: Thursday, March 18, 2010 8:22 AM
To: Dave Cridland
Cc: channel-binding@ietf.org; SASL Working Group; tls@ietf.org
Subject: Re: [sasl] [CHANNEL-BINDING] Updates to draft-altman-tls-channel-b=
indings (PLEASE REVIEW)

Dave Cridland <dave@cridland.net> writes:

> On Thu Mar 18 11:49:11 2010, Pasi.Eronen@nokia.com wrote:
>>
>> A question for SASL: both GS2 and SCRAM are currently in
>> RFC Editor AUTH48, and they have a normative reference
>> to the IANA registration page for 'tls-unique'.
>>
>> Since it appears we're about to change that registration
>> quite radically, what's the impact on GS2/SCRAM? Have GS2
>> and/or SCRAM implementors implemented the 'tls-unique'
>> binding?
>>
>>
> This SCRAM implementor did, yes. And I followed the
> specification. Aren't I na=EFve?

I've done testing with the IANA registered tls-unique too.  GnuTLS added
APIs for this two major/stable release cycles ago (2008-10) which is now
widely deployed.  It may be that the APIs are flexible enough to be able
to implement the new semantics, although I suppose applications would
need to be modified.  I haven't analyzed the details yet...

What kind of software has Microsoft deployed already that use
tls-unique?  I thought GS2 and SCRAM were the most ready protocols that
used it, and they are still not final.

Changing the IANA specification for tls-unique long after it has been
registered and published seems bad to me.  Bad enough to make me think
that it is a mistake for GS2/SCRAM to reference the IANA specification
normatively -- if the IANA registry is not immutable, interop is not
possible.

There is always the option of making GS2/SCRAM reference 'tls-unique2'
and specify that clearly and stable once and for all.  Then we can let
'tls-unique' be the interop mess that it appears to be right now.

/Simon

>
>> And should we publish the RFCs at this time, if we know one
>> of the normative references is, well, unstable (likely to
>> change in non-backward-compatible way soon)?
>>
>> Best regards,
>> Pasi
>>
>> > -----Original Message-----
>> > From: sasl-bounces@ietf.org [mailto:sasl-bounces@ietf.org] On
>> Behalf Of
>> > ext Nicolas Williams
>> > Sent: 18 March, 2010 01:15
>> > To: channel-binding@ietf.org; sasl@ietf.org; tls@ietf.org
>> > Subject: [sasl] Updates to draft-altman-tls-channel-bindings
>> (PLEASE
>> > REVIEW)
>> >
>> > Now that TLS re-negotiation security (RFC5746) is done we need to
>> > finish
>> > draft-altman-tls-channel-bindings.
>> >
>> > It's become clear that MSFT implemented and deployed something
>> slightly
>> > different than the 'tls-unique' binding description that had been
>> > registered.  They seem to be the only implementors to date; their
>> > implementation is secure, therefore I propose that we simply
>> modify the
>> > description of 'tls-unique' and be done.
>> >
>> > The differences are:
>> >
>> >  - it's not always the client's Finished message, but the _first_
>> >    Finished message in the relevant handshake (in a session
>> resumption
>> >    handshake the server sends its Finished message first);
>> >
>
> This is quite annoying. It's harder for me (personally) to implement,
> given the APIs I'm working with. Moreover, since it changes with a
> (relatively) unusual feature of TLS, I suspect people will get this
> wrong - most uses of TLS in, for example, XMPP or IMAP do not appear
> to use session resumption much.
>
>
>> >  - the Finished message is taken from the latest/inner-most TLS
>> >    handshake, rather than the outer-most one
>> >
>
> This unnerves me. I'd prefer to use only the first negotiation from
> each side, since that effectively means that both ends know which one
> that was. Moreover, in principle a negotiation could occur during the
> SASL exchange, which would then invalidate the channel binding.
>
> Dave.
> --
> Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
>  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
>  - http://dave.cridland.net/
> Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade
> _______________________________________________
> CHANNEL-BINDING mailing list
> CHANNEL-BINDING@ietf.org
> https://www.ietf.org/mailman/listinfo/channel-binding
_______________________________________________
sasl mailing list
sasl@ietf.org
https://www.ietf.org/mailman/listinfo/sasl


From Nicolas.Williams@Sun.COM  Thu Mar 18 11:17:13 2010
Return-Path: <Nicolas.Williams@Sun.COM>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 16E213A68B0; Thu, 18 Mar 2010 11:17:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.26
X-Spam-Level: 
X-Spam-Status: No, score=-5.26 tagged_above=-999 required=5 tests=[AWL=0.208,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 GC4qD06qmtCb; Thu, 18 Mar 2010 11:17:12 -0700 (PDT)
Received: from rcsinet11.oracle.com (rcsinet11.oracle.com [148.87.113.123]) by core3.amsl.com (Postfix) with ESMTP id 40DA63A681B; Thu, 18 Mar 2010 11:17:11 -0700 (PDT)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2IIHHoT028094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Mar 2010 18:17:18 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2I7tsqF022435; Thu, 18 Mar 2010 18:17:16 GMT
Received: from abhmt014.oracle.com by acsmt355.oracle.com with ESMTP id 97601261268936230; Thu, 18 Mar 2010 11:17:10 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 18 Mar 2010 11:17:09 -0700
Date: Thu, 18 Mar 2010 13:17:05 -0500
From: Nicolas Williams <Nicolas.Williams@Sun.COM>
To: Larry Zhu <larry.zhu@microsoft.com>
Message-ID: <20100318181705.GJ18167@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <808FD6E27AD4884E94820BC333B2DB775848524D7A@NOK-EUMSG-01.mgdnok.nokia.com> <2462.1268919913.457533@puncture> <877hp98xjn.fsf@mocca.josefsson.org> <4B17DE30119FF1429798D9F5D94BDE8C0EB4DBDF@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4B17DE30119FF1429798D9F5D94BDE8C0EB4DBDF@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt355.oracle.com [141.146.40.155]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090201.4BA26E2D.000B,ss=1,fgs=0
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, SASL Working Group <sasl@ietf.org>, Dave Cridland <dave@cridland.net>
Subject: Re: [CHANNEL-BINDING] [sasl] Updates	to draft-altman-tls-channel-bindings (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2010 18:17:13 -0000

On Thu, Mar 18, 2010 at 06:13:43PM +0000, Larry Zhu wrote:
> It seems that we can leave tls-unique as is, and add a new registry,
> let's say, called "tls-dynamic" or similar, to use the updated
> definition. Unless some one finds a case where interop can be an
> issue, it is probably a better way to go.

We can do that, but it doesn't solve any problems because we don't have
a way to negotiate which channel binding type to use.  It would be best
to reach agreement on tls-unique and make sure that any implementors
that have to make changes do so while it's still early.

Nico
-- 

From lunohod.baikonur@googlemail.com  Thu Mar 18 12:16:06 2010
Return-Path: <lunohod.baikonur@googlemail.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 86B283A6974; Thu, 18 Mar 2010 12:16:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.847
X-Spam-Level: 
X-Spam-Status: No, score=-0.847 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, FM_FORGED_GMAIL=0.622]
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 5vkTDAk8xauD; Thu, 18 Mar 2010 12:16:05 -0700 (PDT)
Received: from mail-fx0-f213.google.com (mail-fx0-f213.google.com [209.85.220.213]) by core3.amsl.com (Postfix) with ESMTP id 804AA3A6AF0; Thu, 18 Mar 2010 12:16:01 -0700 (PDT)
Received: by fxm5 with SMTP id 5so49282fxm.29 for <multiple recipients>; Thu, 18 Mar 2010 12:16:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=wMlXHm8kOizxbDNS9rmVM1U8f3K+RE+7rCmi0n90BsY=; b=lX1Gy3/LarT1CG6dDhuNMrnirV0nX1zS4Eu/02fFUbqNYJvF6QTN0kmZgdFzyK5aQp AXyshnfHoq9nKop8ptIhmfl8oNNNJPHxZIvWDko2p03E7Wu9CvjGtvB+6Gt2P++xc3I7 za4iIRmkZWmlMBLbJNxrkvAqXoQMISWN99n8I=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=ispk4CsUed8tQ5V1Vj3FDtRA/7Z1yFX7z++S7A643lW4zG88/Vf7Se9fHWOQz7KO2j SFRrMYHtjwYfXjgSnWe7Ql8A03Y6oLTCyMTwweLAADOqskpddpwf/EpnCGjdAaRTDZWy aGdkGorgwbLtiHOV/VmHJGsAQa5uZkMkDIAKw=
MIME-Version: 1.0
Sender: lunohod.baikonur@googlemail.com
Received: by 10.103.48.21 with SMTP id a21mr2114727muk.98.1268939767376; Thu,  18 Mar 2010 12:16:07 -0700 (PDT)
In-Reply-To: <877hp98xjn.fsf@mocca.josefsson.org>
References: <20100317231522.GA18167@Sun.COM> <808FD6E27AD4884E94820BC333B2DB775848524D7A@NOK-EUMSG-01.mgdnok.nokia.com> <2462.1268919913.457533@puncture> <877hp98xjn.fsf@mocca.josefsson.org>
Date: Thu, 18 Mar 2010 19:16:07 +0000
X-Google-Sender-Auth: 9b2fb7bae7b97ab8
Message-ID: <29d3c4cb1003181216q7b4d28f5iaa27f650d8af574@mail.gmail.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
To: Simon Josefsson <simon@josefsson.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, SASL Working Group <sasl@ietf.org>, Dave Cridland <dave@cridland.net>
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2010 19:16:06 -0000

On Thu, Mar 18, 2010 at 3:22 PM, Simon Josefsson <simon@josefsson.org> wrot=
e:

 [...]

> Changing the IANA specification for tls-unique long after it has been
> registered and published seems bad to me. =A0Bad enough to make me think
> that it is a mistake for GS2/SCRAM to reference the IANA specification
> normatively -- if the IANA registry is not immutable, interop is not
> possible.
>
> There is always the option of making GS2/SCRAM reference 'tls-unique2'
> and specify that clearly and stable once and for all. =A0Then we can let
> 'tls-unique' be the interop mess that it appears to be right now.

+1.

From Nicolas.Williams@sun.com  Thu Mar 18 12:22:03 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A750F3A6AF0; Thu, 18 Mar 2010 12:21:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.281
X-Spam-Level: 
X-Spam-Status: No, score=-5.281 tagged_above=-999 required=5 tests=[AWL=0.187,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 fBMn54pv4Ke3; Thu, 18 Mar 2010 12:21:43 -0700 (PDT)
Received: from rcsinet12.oracle.com (rcsinet12.oracle.com [148.87.113.124]) by core3.amsl.com (Postfix) with ESMTP id 86F763A69B2; Thu, 18 Mar 2010 12:21:33 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2IJLfcQ003774 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Mar 2010 19:21:42 GMT
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2IBuO1A023347; Thu, 18 Mar 2010 19:21:39 GMT
Received: from abhmt010.oracle.com by acsmt353.oracle.com with ESMTP id 92937811268940016; Thu, 18 Mar 2010 12:20:16 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 18 Mar 2010 12:20:15 -0700
Date: Thu, 18 Mar 2010 14:20:11 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <20100318192011.GL18167@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <808FD6E27AD4884E94820BC333B2DB775848524D7A@NOK-EUMSG-01.mgdnok.nokia.com> <2462.1268919913.457533@puncture> <877hp98xjn.fsf@mocca.josefsson.org> <29d3c4cb1003181216q7b4d28f5iaa27f650d8af574@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <29d3c4cb1003181216q7b4d28f5iaa27f650d8af574@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt354.oracle.com [141.146.40.154]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090209.4BA27D44.019A,ss=1,fgs=0
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, SASL Working Group <sasl@ietf.org>, Dave Cridland <dave@cridland.net>
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2010 19:22:03 -0000

On Thu, Mar 18, 2010 at 07:16:07PM +0000, Alexey Melnikov wrote:
> On Thu, Mar 18, 2010 at 3:22 PM, Simon Josefsson <simon@josefsson.org> wrote:
> > Changing the IANA specification for tls-unique long after it has been
> > registered and published seems bad to me.  Bad enough to make me think
> > that it is a mistake for GS2/SCRAM to reference the IANA specification
> > normatively -- if the IANA registry is not immutable, interop is not
> > possible.
> >
> > There is always the option of making GS2/SCRAM reference 'tls-unique2'
> > and specify that clearly and stable once and for all.  Then we can let
> > 'tls-unique' be the interop mess that it appears to be right now.
> 
> +1.

I'd missed this.  Yes, this works.

Fair enough.  That will be what I'll do.  I'll add 'tls-unique2' that
will match what MSFT implements in (I think) HTTP/Negotiate, and I'll
add suitable applicability statements.

Larry, can you list the application protocols where you're using channel
binding now?

Nico
-- 

From lunohod.baikonur@googlemail.com  Thu Mar 18 12:26:04 2010
Return-Path: <lunohod.baikonur@googlemail.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 83CF23A6B74; Thu, 18 Mar 2010 12:26:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.847
X-Spam-Level: 
X-Spam-Status: No, score=-0.847 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, FM_FORGED_GMAIL=0.622]
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 1Qz552e2kLQP; Thu, 18 Mar 2010 12:26:03 -0700 (PDT)
Received: from mail-fx0-f213.google.com (mail-fx0-f213.google.com [209.85.220.213]) by core3.amsl.com (Postfix) with ESMTP id 20C013A686D; Thu, 18 Mar 2010 12:25:58 -0700 (PDT)
Received: by fxm5 with SMTP id 5so59075fxm.29 for <multiple recipients>; Thu, 18 Mar 2010 12:26:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=fXE/rok3gobHfl86csC/QC+Xc+ruLWkTPz3rHYszs5o=; b=Pix+cD4sCXROhpwGXvPSnmjzdGppipwKEjiSx1+Sre/CllVPCOvQak326UJSiY1yCe 1Ax/yfLuLM6/MsEcvFzW4jiJDS25YRBzUsCWdE0ds/P0AjuEZR/vrMyogAgudQBm3Y5I 37XVzzZNfrfMJPA5Lhj8kBmSS7MzNRQVcqLRU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=VEiZJC7ZR9RDx5BAWanoL0BuDLy2T7TE/06b6wWmXry39uM6WZi7nV+GtuKtGJa2Yr MrxUfXpPLqTlrut4RPNYsD8dlP8dVjxZnyBIuvOpGbl3CwI9R++3AbX03o9qiJbyG0+L 2OWF77mjZhNIgrjv4izKeIDqf/d1XEoFPBokw=
MIME-Version: 1.0
Sender: lunohod.baikonur@googlemail.com
Received: by 10.103.48.21 with SMTP id a21mr2124360muk.98.1268940367407; Thu,  18 Mar 2010 12:26:07 -0700 (PDT)
In-Reply-To: <20100318192011.GL18167@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <808FD6E27AD4884E94820BC333B2DB775848524D7A@NOK-EUMSG-01.mgdnok.nokia.com> <2462.1268919913.457533@puncture> <877hp98xjn.fsf@mocca.josefsson.org> <29d3c4cb1003181216q7b4d28f5iaa27f650d8af574@mail.gmail.com> <20100318192011.GL18167@Sun.COM>
Date: Thu, 18 Mar 2010 19:26:07 +0000
X-Google-Sender-Auth: 7fbec49d44ad3c9d
Message-ID: <29d3c4cb1003181226r58262dd8pb72df367e43edba5@mail.gmail.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, SASL Working Group <sasl@ietf.org>, Dave Cridland <dave@cridland.net>
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2010 19:26:04 -0000

On Thu, Mar 18, 2010 at 7:20 PM, Nicolas Williams
<Nicolas.Williams@sun.com> wrote:
> On Thu, Mar 18, 2010 at 07:16:07PM +0000, Alexey Melnikov wrote:
>> On Thu, Mar 18, 2010 at 3:22 PM, Simon Josefsson <simon@josefsson.org> w=
rote:
>> > Changing the IANA specification for tls-unique long after it has been
>> > registered and published seems bad to me. =A0Bad enough to make me thi=
nk
>> > that it is a mistake for GS2/SCRAM to reference the IANA specification
>> > normatively -- if the IANA registry is not immutable, interop is not
>> > possible.
>> >
>> > There is always the option of making GS2/SCRAM reference 'tls-unique2'
>> > and specify that clearly and stable once and for all. =A0Then we can l=
et
>> > 'tls-unique' be the interop mess that it appears to be right now.
>>
>> +1.
>
> I'd missed this. =A0Yes, this works.
>
> Fair enough. =A0That will be what I'll do. =A0I'll add 'tls-unique2' that
> will match what MSFT implements in (I think) HTTP/Negotiate, and I'll
> add suitable applicability statements.

Does Microsoft depend on the name of the channel binding?
If yes, we can update SCRAM/GS2 to reference tls-unique2, which would
be defined as we like.
I.e. tls-unique can be just left alone.

>
> Larry, can you list the application protocols where you're using channel
> binding now?
>
> Nico
> --
>

From Nicolas.Williams@Sun.COM  Thu Mar 18 12:43:07 2010
Return-Path: <Nicolas.Williams@Sun.COM>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4F2003A6972; Thu, 18 Mar 2010 12:43:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.298
X-Spam-Level: 
X-Spam-Status: No, score=-5.298 tagged_above=-999 required=5 tests=[AWL=0.170,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 e8ClGKqSyn2d; Thu, 18 Mar 2010 12:43:05 -0700 (PDT)
Received: from rcsinet11.oracle.com (rcsinet11.oracle.com [148.87.113.123]) by core3.amsl.com (Postfix) with ESMTP id BB96E3A67E5; Thu, 18 Mar 2010 12:43:05 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2IJhEA9022051 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Mar 2010 19:43:15 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2HNXkgQ017355; Thu, 18 Mar 2010 19:43:11 GMT
Received: from abhmt004.oracle.com by acsmt353.oracle.com with ESMTP id 97837141268941351; Thu, 18 Mar 2010 12:42:31 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 18 Mar 2010 12:42:31 -0700
Date: Thu, 18 Mar 2010 14:42:27 -0500
From: Nicolas Williams <Nicolas.Williams@Sun.COM>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <20100318194226.GN18167@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <808FD6E27AD4884E94820BC333B2DB775848524D7A@NOK-EUMSG-01.mgdnok.nokia.com> <2462.1268919913.457533@puncture> <877hp98xjn.fsf@mocca.josefsson.org> <29d3c4cb1003181216q7b4d28f5iaa27f650d8af574@mail.gmail.com> <20100318192011.GL18167@Sun.COM> <29d3c4cb1003181226r58262dd8pb72df367e43edba5@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <29d3c4cb1003181226r58262dd8pb72df367e43edba5@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt355.oracle.com [141.146.40.155]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090201.4BA28252.0027,ss=1,fgs=0
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, SASL Working Group <sasl@ietf.org>, Dave Cridland <dave@cridland.net>
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings	(PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Mar 2010 19:43:07 -0000

On Thu, Mar 18, 2010 at 07:26:07PM +0000, Alexey Melnikov wrote:
> Does Microsoft depend on the name of the channel binding?

I doubt it.  I've asked Larry off-line as well.

Nico
-- 

From simon@josefsson.org  Fri Mar 19 00:41:25 2010
Return-Path: <simon@josefsson.org>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 19D693A6983; Fri, 19 Mar 2010 00:41:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.938
X-Spam-Level: 
X-Spam-Status: No, score=-1.938 tagged_above=-999 required=5 tests=[AWL=-0.469, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
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 QVuW+VSxYcDD; Fri, 19 Mar 2010 00:41:24 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 808E23A68AD; Fri, 19 Mar 2010 00:41:23 -0700 (PDT)
Received: from mocca (c80-216-24-99.bredband.comhem.se [80.216.24.99]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o2J7fPVm017873 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 19 Mar 2010 08:41:27 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Nicolas Williams <Nicolas.Williams@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <808FD6E27AD4884E94820BC333B2DB775848524D7A@NOK-EUMSG-01.mgdnok.nokia.com> <2462.1268919913.457533@puncture> <877hp98xjn.fsf@mocca.josefsson.org> <29d3c4cb1003181216q7b4d28f5iaa27f650d8af574@mail.gmail.com> <20100318192011.GL18167@Sun.COM> <29d3c4cb1003181226r58262dd8pb72df367e43edba5@mail.gmail.com> <20100318194226.GN18167@Sun.COM>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:100319:tls@ietf.org::eT1fk6iQokYQIip5:1Li4
X-Hashcash: 1:22:100319:alexey.melnikov@isode.com::ZL4OLntXluJhaxbF:6cw+
X-Hashcash: 1:22:100319:dave@cridland.net::7WVm6xX0AuBhCvtO:Ho2/
X-Hashcash: 1:22:100319:sasl@ietf.org::wFBjVQ4fdDB0RTAe:IVhI
X-Hashcash: 1:22:100319:channel-binding@ietf.org::XxO9GadFjRVVezQ0:F+7m
X-Hashcash: 1:22:100319:nicolas.williams@sun.com::LDa6Z2SOvm0giIzf:HbOC
Date: Fri, 19 Mar 2010 08:41:26 +0100
In-Reply-To: <20100318194226.GN18167@Sun.COM> (Nicolas Williams's message of "Thu, 18 Mar 2010 14:42:27 -0500")
Message-ID: <87vdcs4v2x.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.3 at yxa-v
X-Virus-Status: Clean
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, SASL Working Group <sasl@ietf.org>, Dave Cridland <dave@cridland.net>
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings	(PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2010 07:41:25 -0000

Nicolas Williams <Nicolas.Williams@Sun.COM> writes:

> On Thu, Mar 18, 2010 at 07:26:07PM +0000, Alexey Melnikov wrote:
>> Does Microsoft depend on the name of the channel binding?
>
> I doubt it.  I've asked Larry off-line as well.

If they don't, we can keep the definition of tls-unique as it is, and
let Larry's application use a newly defined tls-unique-msft or similar.
I think this would cause the least amount of problems for GS2/SCRAM
implementers.

/Simon

From simon@josefsson.org  Fri Mar 19 01:57:34 2010
Return-Path: <simon@josefsson.org>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7FED43A686B; Fri, 19 Mar 2010 01:57:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.164
X-Spam-Level: 
X-Spam-Status: No, score=-1.164 tagged_above=-999 required=5 tests=[AWL=-1.184, BAYES_05=-1.11, DNS_FROM_OPENWHOIS=1.13]
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 x4LYI6CaPlcm; Fri, 19 Mar 2010 01:57:32 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id C96673A691A; Fri, 19 Mar 2010 01:57:26 -0700 (PDT)
Received: from mocca (c80-216-24-99.bredband.comhem.se [80.216.24.99]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o2J8vYg7020316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 19 Mar 2010 09:57:35 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Nicolas Williams <Nicolas.Williams@sun.com>
References: <20100317231522.GA18167@Sun.COM>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:100319:tls@ietf.org::rnm0pADBYXRcl0MC:fDc
X-Hashcash: 1:22:100319:nicolas.williams@sun.com::xl39c/pTcXNZy+4D:AvUV
X-Hashcash: 1:22:100319:channel-binding@ietf.org::BrFR3u3UeBqL39Qu:At1n
X-Hashcash: 1:22:100319:sasl@ietf.org::wvZnU1mTmTS7VqEh:il5K
Date: Fri, 19 Mar 2010 09:57:34 +0100
In-Reply-To: <20100317231522.GA18167@Sun.COM> (Nicolas Williams's message of "Wed, 17 Mar 2010 18:15:22 -0500")
Message-ID: <87zl243czl.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.3 at yxa-v
X-Virus-Status: Clean
Cc: channel-binding@ietf.org, tls@ietf.org, sasl@ietf.org
Subject: Re: [CHANNEL-BINDING] Updates to draft-altman-tls-channel-bindings (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2010 08:57:34 -0000

Nicolas Williams <Nicolas.Williams@sun.com> writes:

> +   Description: The first TLS Finished message sent (note: the Finished
> +   struct) in the most recent TLS handshake of the TLS connection being
> +   bound to (note: TLS connection, not session, so that the channel
> +   binding is specific to each connection regardless of whether session
> +   resumption is used).  If TLS re-negotiation takes place before the
> +   channel binding operation, then the first TLS Finished message sent
> +   of the latest/inner-most TLS connection is used.  Note that for full
> +   TLS handshakes the first Finished message is sent by the client,
> +   while for abbreviated TLS handshakes the first Finished message is
> +   sent by the server.

I don't follow this fully -- IF you use the latest TLS finished message,
the channel binding data WILL be specific the each TLS session, and it
will depend on whether the session is resumed or not, which is contrary
to this assertion:

> +   bound to (note: TLS connection, not session, so that the channel
> +   binding is specific to each connection regardless of whether session
> +   resumption is used).  If TLS re-negotiation takes place before the

I wonder what happens if a TLS re-negotiation happens after the client
started its authentication attempt (for GS2-KRB5: sent the AP-REQ) but
before the server has responded (for GS2-KRB5: sent the AP-REP)?  Then
authentication will fail, it seems, because the client and server will
have different ideas of what the channel binding data should be.

/Simon

From Nicolas.Williams@sun.com  Fri Mar 19 16:30:13 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 237FA3A6A91; Fri, 19 Mar 2010 16:30:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.313
X-Spam-Level: 
X-Spam-Status: No, score=-5.313 tagged_above=-999 required=5 tests=[AWL=0.155,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 rFmEAWiQCwjj; Fri, 19 Mar 2010 16:30:12 -0700 (PDT)
Received: from rcsinet11.oracle.com (rcsinet11.oracle.com [148.87.113.123]) by core3.amsl.com (Postfix) with ESMTP id 23FDB3A6A8C; Fri, 19 Mar 2010 16:30:12 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2JNUNNv009641 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 19 Mar 2010 23:30:24 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2JNULRX002101; Fri, 19 Mar 2010 23:30:21 GMT
Received: from abhmt018.oracle.com by acsmt354.oracle.com with ESMTP id 96659851269041413; Fri, 19 Mar 2010 16:30:13 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 19 Mar 2010 16:30:12 -0700
Date: Fri, 19 Mar 2010 18:30:05 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Message-ID: <20100319233005.GY18167@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <87zl243czl.fsf@mocca.josefsson.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87zl243czl.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt353.oracle.com [141.146.40.153]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090203.4BA4090E.0148,ss=1,fgs=0
Cc: channel-binding@ietf.org, tls@ietf.org, sasl@ietf.org
Subject: Re: [CHANNEL-BINDING] Updates to draft-altman-tls-channel-bindings (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2010 23:30:13 -0000

On Fri, Mar 19, 2010 at 09:57:34AM +0100, Simon Josefsson wrote:
> Nicolas Williams <Nicolas.Williams@sun.com> writes:
> 
> > +   Description: The first TLS Finished message sent (note: the Finished
> > +   struct) in the most recent TLS handshake of the TLS connection being
> > +   bound to (note: TLS connection, not session, so that the channel
> > +   binding is specific to each connection regardless of whether session
> > +   resumption is used).  If TLS re-negotiation takes place before the
> > +   channel binding operation, then the first TLS Finished message sent
> > +   of the latest/inner-most TLS connection is used.  Note that for full
> > +   TLS handshakes the first Finished message is sent by the client,
> > +   while for abbreviated TLS handshakes the first Finished message is
> > +   sent by the server.
> 
> I don't follow this fully -- IF you use the latest TLS finished message,
> the channel binding data WILL be specific the each TLS session, and it
> will depend on whether the session is resumed or not, which is contrary
> to this assertion:

No, the _first_ finished message of the _latest_ handshake.  That's what
Larry says MSFT implemented.  I still don't know if that's just for
HTTP/Negotiate or what.

> > +   bound to (note: TLS connection, not session, so that the channel
> > +   binding is specific to each connection regardless of whether session
> > +   resumption is used).  If TLS re-negotiation takes place before the
> 
> I wonder what happens if a TLS re-negotiation happens after the client
> started its authentication attempt (for GS2-KRB5: sent the AP-REQ) but
> before the server has responded (for GS2-KRB5: sent the AP-REP)?  Then
> authentication will fail, it seems, because the client and server will
> have different ideas of what the channel binding data should be.

Good question.  That's one reason to use the first handshake.

From mrex@sap.com  Fri Mar 19 17:13:01 2010
Return-Path: <mrex@sap.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9F0583A6A9E; Fri, 19 Mar 2010 17:13:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.874
X-Spam-Level: 
X-Spam-Status: No, score=-8.874 tagged_above=-999 required=5 tests=[AWL=0.245,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 db2nBTqj0FFi; Fri, 19 Mar 2010 17:12:59 -0700 (PDT)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 4D6353A6954; Fri, 19 Mar 2010 17:12:58 -0700 (PDT)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o2K0D9Hh004640 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 20 Mar 2010 01:13:09 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201003200013.o2K0D8d5002042@fs4113.wdf.sap.corp>
To: Nicolas.Williams@sun.com (Nicolas Williams)
Date: Sat, 20 Mar 2010 01:13:08 +0100 (MET)
In-Reply-To: <20100319233005.GY18167@Sun.COM> from "Nicolas Williams" at Mar 19, 10 06:30:05 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal05
X-SAP: out
X-Mailman-Approved-At: Sun, 21 Mar 2010 12:46:34 -0700
Cc: channel-binding@ietf.org, tls@ietf.org, sasl@ietf.org
Subject: Re: [CHANNEL-BINDING] [TLS]  Updates to
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Mar 2010 00:13:01 -0000

Nicolas Williams wrote:
> 
> No, the _first_ finished message of the _latest_ handshake.  That's what
> Larry says MSFT implemented.  I still don't know if that's just for
> HTTP/Negotiate or what.

Is that a successor to rfc-4559?  Is there a draft available?

Personally, I think that channel binding should be done to the
communication channel, not to a particular TLS session.

I think the original definition of tls-unique is _much_ better,
even though it will require the TLS stack to memorize an additional
connection parameter from the first handshake on a connection.

-Martin

From Nicolas.Williams@sun.com  Mon Mar 22 16:22:38 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CD2B028C236; Mon, 22 Mar 2010 16:22:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.289
X-Spam-Level: 
X-Spam-Status: No, score=-5.289 tagged_above=-999 required=5 tests=[AWL=0.179,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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-y1cEEa8tPl; Mon, 22 Mar 2010 16:22:35 -0700 (PDT)
Received: from acsinet11.oracle.com (acsinet11.oracle.com [141.146.126.233]) by core3.amsl.com (Postfix) with ESMTP id 8259D28C178; Mon, 22 Mar 2010 16:22:29 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2MNMiB5023428 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 22 Mar 2010 23:22:46 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2MLa9h5014469; Mon, 22 Mar 2010 23:22:42 GMT
Received: from abhmt007.oracle.com by acsmt354.oracle.com with ESMTP id 101857161269300115; Mon, 22 Mar 2010 16:21:55 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 22 Mar 2010 16:21:55 -0700
Date: Mon, 22 Mar 2010 18:21:50 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: channel-binding@ietf.org, sasl@ietf.org, tls@ietf.org
Message-ID: <20100322232150.GB21244@Sun.COM>
References: <20100317231522.GA18167@Sun.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20100317231522.GA18167@Sun.COM>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt353.oracle.com [141.146.40.153]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090206.4BA7FBC3.014D,ss=1,fgs=0
Cc: Pasi Eronen <pasi.eronen@nokia.com>
Subject: [CHANNEL-BINDING] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Mar 2010 23:22:38 -0000

I've posted -08 of draft-altman-tls-channel-bindings:

http://www.ietf.org/id/draft-altman-tls-channel-bindings-08.txt

This version adopts the form of tls-unique that MSFT has implemented and
deployed, which is backwards-incompatible with the original.  I expect
this will be a controversial change.  A new IETF Last Call will be
necessary, and publication of GS2 and SCRAM will have to be held up
until the IANA registration of tls-unique is updated.

Pasi,

Please review this change and begin a new IETF Last Call at your
earliest convenience.  Thanks,

Nico
-- 

From lunohod.baikonur@googlemail.com  Mon Mar 22 16:48:13 2010
Return-Path: <lunohod.baikonur@googlemail.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 003C53A6AFD; Mon, 22 Mar 2010 16:48:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.644
X-Spam-Level: 
X-Spam-Status: No, score=-0.644 tagged_above=-999 required=5 tests=[AWL=0.203,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, FM_FORGED_GMAIL=0.622]
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 33DgwWGrIFCA; Mon, 22 Mar 2010 16:48:12 -0700 (PDT)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id F1D7028C167; Mon, 22 Mar 2010 16:48:09 -0700 (PDT)
Received: by wyb29 with SMTP id 29so2787431wyb.31 for <multiple recipients>; Mon, 22 Mar 2010 16:48:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=okvpAElw07yZlAbIrh0acy5goXMbu4rIWdw5tHVFxsQ=; b=HXePLsd/Ln/UXHU36b2+XeDEdAwQsd/6VX71+OqxeJpVLuccOVX2hllMyNT7Tv4tH2 1jlLM5RChVDpdpLtpBD1EQf7CxRa1pd6gZdbtzQVgD88zJHCp5ieBV0GlcXwP0z9L94L skJYkKGOr6jet0HuqZXphE+k9jJ0SZAq55QnI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=krCuhvWAtXeH+Cud5AZ3uHYqNpqqfFHSCmVXQDDYpXv7wMRRQt6EuEYrSOc4ILx6mx lTcksTpfCvIw9mMVz9UNiUS8VqbCIJd1zW64U6Wb3A/PAxyH4u5X85VSW7DKf3pdvUm6 gKulMJZHlw112nZ3Y+w5hVaM+braOdhXj7GD0=
MIME-Version: 1.0
Sender: lunohod.baikonur@googlemail.com
Received: by 10.216.160.144 with SMTP id u16mr1939328wek.98.1269301702805;  Mon, 22 Mar 2010 16:48:22 -0700 (PDT)
In-Reply-To: <20100322232150.GB21244@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM>
Date: Mon, 22 Mar 2010 16:48:22 -0700
X-Google-Sender-Auth: 6de3aa2ebe334e70
Message-ID: <29d3c4cb1003221648x424bb946i2b043542926396b6@mail.gmail.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: channel-binding@ietf.org, Pasi Eronen <pasi.eronen@nokia.com>, tls@ietf.org, sasl@ietf.org
Subject: Re: [CHANNEL-BINDING] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Mar 2010 23:48:13 -0000

On Mon, Mar 22, 2010 at 4:21 PM, Nicolas Williams
<Nicolas.Williams@sun.com> wrote:
> I've posted -08 of draft-altman-tls-channel-bindings:
>
> http://www.ietf.org/id/draft-altman-tls-channel-bindings-08.txt
>
> This version adopts the form of tls-unique that MSFT has implemented and
> deployed, which is backwards-incompatible with the original. =A0I expect
> this will be a controversial change. =A0A new IETF Last Call will be
> necessary, and publication of GS2 and SCRAM will have to be held up
> until the IANA registration of tls-unique is updated.
>
> Pasi,
>
> Please review this change and begin a new IETF Last Call at your
> earliest convenience. =A0Thanks,

After talking to Pasi/Tim/Sean, I will be taking over AD sponsoring of
this document.
So I will be starting IETF LC.
But of course I would encourage Pasi to review this.

From Nicolas.Williams@sun.com  Mon Mar 22 23:53:23 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 60ED13A69CB; Mon, 22 Mar 2010 23:53:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.568
X-Spam-Level: 
X-Spam-Status: No, score=-1.568 tagged_above=-999 required=5 tests=[DNS_FROM_OPENWHOIS=2.431, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
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 HofuxvRY0j3S; Mon, 22 Mar 2010 23:53:22 -0700 (PDT)
Received: from acsinet11.oracle.com (acsinet11.oracle.com [141.146.126.233]) by core3.amsl.com (Postfix) with ESMTP id 37B463A69DD; Mon, 22 Mar 2010 23:53:21 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2N6rbJM023306 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Mar 2010 06:53:38 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2N4RVrt003368; Tue, 23 Mar 2010 06:53:35 GMT
Received: from abhmt012.oracle.com by acsmt353.oracle.com with ESMTP id 107541261269327186; Mon, 22 Mar 2010 23:53:06 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 22 Mar 2010 23:53:05 -0700
Date: Tue, 23 Mar 2010 01:53:01 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: channel-binding@ietf.org, sasl@ietf.org, tls@ietf.org
Message-ID: <20100323065301.GE21244@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20100322232150.GB21244@Sun.COM>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt355.oracle.com [141.146.40.155]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090207.4BA86571.0024,ss=1,fgs=0
Cc: Pasi Eronen <pasi.eronen@nokia.com>
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 06:53:23 -0000

On Mon, Mar 22, 2010 at 06:21:50PM -0500, Nicolas Williams wrote:
> I've posted -08 of draft-altman-tls-channel-bindings:
> 
> http://www.ietf.org/id/draft-altman-tls-channel-bindings-08.txt

I forgot to describe the synchronization problem that Simon pointed out,
as well as the solution.

I'll file -09 tomorrow.

Nico
-- 

From Nicolas.Williams@sun.com  Tue Mar 23 12:07:20 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EF4463A6B42; Tue, 23 Mar 2010 12:07:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.774
X-Spam-Level: 
X-Spam-Status: No, score=-2.774 tagged_above=-999 required=5 tests=[AWL=1.206,  BAYES_05=-1.11, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 PAayT8l1oW4T; Tue, 23 Mar 2010 12:07:19 -0700 (PDT)
Received: from rcsinet11.oracle.com (rcsinet11.oracle.com [148.87.113.123]) by core3.amsl.com (Postfix) with ESMTP id E5CE93A69B5; Tue, 23 Mar 2010 12:07:18 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2NJ7Qkx014868 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Mar 2010 19:07:36 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2NJ7OE0029620; Tue, 23 Mar 2010 19:07:24 GMT
Received: from abhmt008.oracle.com by acsmt354.oracle.com with ESMTP id 104532511269371194; Tue, 23 Mar 2010 12:06:34 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 23 Mar 2010 12:06:34 -0700
Date: Tue, 23 Mar 2010 14:06:29 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: channel-binding@ietf.org, sasl@ietf.org, tls@ietf.org, Mark Novak <Mark.Novak@microsoft.com>, Larry Zhu <lzhu@wollive.windowsmedia.com.akadns.net>
Message-ID: <20100323190629.GR21244@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM> <20100323065301.GE21244@Sun.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20100323065301.GE21244@Sun.COM>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt353.oracle.com [141.146.40.153]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090204.4BA9116D.02AE,ss=1,fgs=0
Cc: Pasi Eronen <pasi.eronen@nokia.com>
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 19:07:20 -0000

On Tue, Mar 23, 2010 at 01:53:01AM -0500, Nicolas Williams wrote:
> On Mon, Mar 22, 2010 at 06:21:50PM -0500, Nicolas Williams wrote:
> > I've posted -08 of draft-altman-tls-channel-bindings:
> 
> I forgot to describe the synchronization problem that Simon pointed out,
> as well as the solution.
> 
> I'll file -09 tomorrow.

Submitted:

http://www.ietf.org/id/draft-altman-tls-channel-bindings-09.txt

Larry, Mark,

It occurs to me that it must be very unlikely that any apps using the
MSFT variant of tls-unique are doing authentication after TLS
re-negotiation.  We already have confirmation that in the HTTP/Negotiate
case that never happens.  If so, might you be willing to fix your
implementation to always use the initial handshake?  That would help
remove two pieces of complexity from -09: a) security considerations with
regard to the TLS re-negotiation bug, b) interoperability considerations
with regard to the channel binding synchronization problem.

Nico
-- 

From larry.zhu@microsoft.com  Tue Mar 23 12:56:09 2010
Return-Path: <larry.zhu@microsoft.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EC98D3A6853; Tue, 23 Mar 2010 12:56:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.98
X-Spam-Level: 
X-Spam-Status: No, score=-7.98 tagged_above=-999 required=5 tests=[BAYES_05=-1.11, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_HI=-8]
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 o+QUwj986+Rb; Tue, 23 Mar 2010 12:56:09 -0700 (PDT)
Received: from smtp.microsoft.com (mail1.microsoft.com [131.107.115.212]) by core3.amsl.com (Postfix) with ESMTP id 0A7D43A659A; Tue, 23 Mar 2010 12:56:08 -0700 (PDT)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (157.54.79.180) by TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with Microsoft SMTP Server (TLS) id 8.2.176.0; Tue, 23 Mar 2010 12:56:28 -0700
Received: from TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) by TK5EX14MLTC102.redmond.corp.microsoft.com (157.54.79.180) with Microsoft SMTP Server (TLS) id 14.0.639.21; Tue, 23 Mar 2010 12:56:28 -0700
Received: from TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com ([169.254.3.141]) by TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.68]) with mapi; Tue, 23 Mar 2010 12:56:28 -0700
From: Larry Zhu <larry.zhu@microsoft.com>
To: Nicolas Williams <Nicolas.Williams@sun.com>, "channel-binding@ietf.org" <channel-binding@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>, "tls@ietf.org" <tls@ietf.org>, Mark Novak <Mark.Novak@microsoft.com>
Thread-Topic: [TLS] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
Thread-Index: AQHKyrwozTsKPfN6R0WDz8B3bqX8vpH/7JGA
Date: Tue, 23 Mar 2010 19:56:19 +0000
Message-ID: <4B17DE30119FF1429798D9F5D94BDE8C0EB563F1@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM>	<20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM>
In-Reply-To: <20100323190629.GR21244@Sun.COM>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Pasi Eronen <pasi.eronen@nokia.com>
Subject: Re: [CHANNEL-BINDING] [TLS] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 19:56:10 -0000

> It occurs to me that it must be very unlikely that any apps using the
> MSFT variant of tls-unique are doing authentication after TLS
> re-negotiation.

Should we instead say that the receiver/verifier of the tls-unique binding =
is encouraged to remember the previous finished structure before re-negotia=
tion. If the synchronization is more than 2 finished messages apart, the au=
th request is expected to fail.

This way we have a solution when the actual need arises, without complicati=
ng either the interface or the protocol. Hopefully the burden to implementa=
tion is minimal as well. Is that reasonable?

-----Original Message-----
From: tls-bounces@ietf.org [mailto:tls-bounces@ietf.org] On Behalf Of Nicol=
as Williams
Sent: Tuesday, March 23, 2010 12:06 PM
To: channel-binding@ietf.org; sasl@ietf.org; tls@ietf.org; Mark Novak; Larr=
y Zhu
Cc: Pasi Eronen
Subject: Re: [TLS] [sasl] Updates to draft-altman-tls-channel-bindings, tak=
e two (PLEASE REVIEW)

On Tue, Mar 23, 2010 at 01:53:01AM -0500, Nicolas Williams wrote:
> On Mon, Mar 22, 2010 at 06:21:50PM -0500, Nicolas Williams wrote:
> > I've posted -08 of draft-altman-tls-channel-bindings:
>=20
> I forgot to describe the synchronization problem that Simon pointed out,
> as well as the solution.
>=20
> I'll file -09 tomorrow.

Submitted:

http://www.ietf.org/id/draft-altman-tls-channel-bindings-09.txt

Larry, Mark,

It occurs to me that it must be very unlikely that any apps using the
MSFT variant of tls-unique are doing authentication after TLS
re-negotiation.  We already have confirmation that in the HTTP/Negotiate
case that never happens.  If so, might you be willing to fix your
implementation to always use the initial handshake?  That would help
remove two pieces of complexity from -09: a) security considerations with
regard to the TLS re-negotiation bug, b) interoperability considerations
with regard to the channel binding synchronization problem.

Nico
--=20
_______________________________________________
TLS mailing list
TLS@ietf.org
https://www.ietf.org/mailman/listinfo/tls


From Nicolas.Williams@sun.com  Tue Mar 23 13:01:46 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5DEAF3A688F; Tue, 23 Mar 2010 13:01:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.175
X-Spam-Level: 
X-Spam-Status: No, score=-3.175 tagged_above=-999 required=5 tests=[AWL=0.804,  BAYES_05=-1.11, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 EzK93HL3ZQej; Tue, 23 Mar 2010 13:01:45 -0700 (PDT)
Received: from rcsinet11.oracle.com (rcsinet11.oracle.com [148.87.113.123]) by core3.amsl.com (Postfix) with ESMTP id 5AD2D3A659A; Tue, 23 Mar 2010 13:01:39 -0700 (PDT)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2NK1ppX011433 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Mar 2010 20:01:57 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2NF0YTk011274; Tue, 23 Mar 2010 20:01:50 GMT
Received: from abhmt013.oracle.com by acsmt355.oracle.com with ESMTP id 104646151269374401; Tue, 23 Mar 2010 13:00:01 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 23 Mar 2010 13:00:00 -0700
Date: Tue, 23 Mar 2010 14:59:56 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Larry Zhu <larry.zhu@microsoft.com>
Message-ID: <20100323195956.GY21244@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM> <20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB563F1@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4B17DE30119FF1429798D9F5D94BDE8C0EB563F1@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt353.oracle.com [141.146.40.153]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090208.4BA91E2F.0117,ss=1,fgs=0
Cc: Mark Novak <Mark.Novak@microsoft.com>, "channel-binding@ietf.org" <channel-binding@ietf.org>, Pasi Eronen <pasi.eronen@nokia.com>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: Re: [CHANNEL-BINDING] [TLS] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 20:01:46 -0000

On Tue, Mar 23, 2010 at 07:56:19PM +0000, Larry Zhu wrote:
> > It occurs to me that it must be very unlikely that any apps using the
> > MSFT variant of tls-unique are doing authentication after TLS
> > re-negotiation.
> 
> Should we instead say that the receiver/verifier of the tls-unique
> binding is encouraged to remember the previous finished structure
> before re-negotiation. If the synchronization is more than 2 finished
> messages apart, the auth request is expected to fail.

What's the motivation?  Is it really that hard to keep the initial CB
around?  It is tiny...

> This way we have a solution when the actual need arises, without
> complicating either the interface or the protocol. Hopefully the
> burden to implementation is minimal as well. Is that reasonable?

Ah, I think I understand.  In your API it's the application's burden to
remember the CB from the initial handshake.  But even so, that does not
seem like such a tough burden.

Your proposal is more reasonable than the earlier one for the simple
reason that we'll never see three handshakes prior to authentication,
and accepting the possibility of spurious authentication failures in
such cases, if they happened, would be OK with me.

Nico
-- 

From Nicolas.Williams@Sun.COM  Tue Mar 23 13:06:03 2010
Return-Path: <Nicolas.Williams@Sun.COM>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CF1E43A69F2; Tue, 23 Mar 2010 13:06:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.121
X-Spam-Level: 
X-Spam-Status: No, score=-4.121 tagged_above=-999 required=5 tests=[AWL=1.347,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 3zMX+t+Xwpar; Tue, 23 Mar 2010 13:06:03 -0700 (PDT)
Received: from rcsinet12.oracle.com (rcsinet12.oracle.com [148.87.113.124]) by core3.amsl.com (Postfix) with ESMTP id E6A743A659A; Tue, 23 Mar 2010 13:06:00 -0700 (PDT)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2NK6Ihr010265 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Mar 2010 20:06:19 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2N9vxbJ028227; Tue, 23 Mar 2010 20:06:15 GMT
Received: from abhmt020.oracle.com by acsmt354.oracle.com with ESMTP id 104660431269374700; Tue, 23 Mar 2010 13:05:00 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 23 Mar 2010 13:04:59 -0700
Date: Tue, 23 Mar 2010 15:04:55 -0500
From: Nicolas Williams <Nicolas.Williams@Sun.COM>
To: Larry Zhu <larry.zhu@microsoft.com>
Message-ID: <20100323200455.GA21244@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM> <20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB563F1@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4B17DE30119FF1429798D9F5D94BDE8C0EB563F1@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt353.oracle.com [141.146.40.153]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090204.4BA91F3A.0048,ss=1,fgs=0
Cc: Mark Novak <Mark.Novak@microsoft.com>, "channel-binding@ietf.org" <channel-binding@ietf.org>, Pasi Eronen <pasi.eronen@nokia.com>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: Re: [CHANNEL-BINDING] [TLS] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 20:06:04 -0000

Also, what applications are you using 'tls-unique' in besides
HTTP/Negotiate?

From larry.zhu@microsoft.com  Tue Mar 23 13:48:45 2010
Return-Path: <larry.zhu@microsoft.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8FE553A690F; Tue, 23 Mar 2010 13:48:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.725
X-Spam-Level: 
X-Spam-Status: No, score=-8.725 tagged_above=-999 required=5 tests=[AWL=0.744,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_HI=-8]
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 64yMFxnuA7mN; Tue, 23 Mar 2010 13:48:44 -0700 (PDT)
Received: from smtp.microsoft.com (maila.microsoft.com [131.107.115.212]) by core3.amsl.com (Postfix) with ESMTP id A006C3A68DC; Tue, 23 Mar 2010 13:48:44 -0700 (PDT)
Received: from TK5EX14MLTC104.redmond.corp.microsoft.com (157.54.79.159) by TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with Microsoft SMTP Server (TLS) id 8.2.176.0; Tue, 23 Mar 2010 13:49:04 -0700
Received: from TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) by TK5EX14MLTC104.redmond.corp.microsoft.com (157.54.79.159) with Microsoft SMTP Server (TLS) id 14.0.639.21; Tue, 23 Mar 2010 13:49:03 -0700
Received: from TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com ([169.254.3.141]) by TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.68]) with mapi; Tue, 23 Mar 2010 13:48:57 -0700
From: Larry Zhu <larry.zhu@microsoft.com>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Thread-Topic: [CHANNEL-BINDING] [TLS] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
Thread-Index: AQHKysPEBfd6t/asyEy5KpzyaD91gZH//Krw
Date: Tue, 23 Mar 2010 20:48:41 +0000
Message-ID: <4B17DE30119FF1429798D9F5D94BDE8C0EB5667A@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM> <20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB563F1@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <20100323195956.GY21244@Sun.COM>
In-Reply-To: <20100323195956.GY21244@Sun.COM>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Mark Novak <Mark.Novak@microsoft.com>, "channel-binding@ietf.org" <channel-binding@ietf.org>, Pasi Eronen <pasi.eronen@nokia.com>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: Re: [CHANNEL-BINDING] [TLS] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 20:48:45 -0000

I briefly chatted with Sam who was in the tls-unique design/discussion meet=
ing last Sunday. It turns out that the community as represented by key stak=
e holders in that meeting believed that:

1) TLS renegotiation is driven by TLS apps.
2) as the result, the apps can figure out, based on the app specific contex=
t, which TLS side will start renegotiation and when, e.g. in a locked-step =
fashion.
2) therefore it is acceptable to leave the behavior in the case of the desc=
ribed synchronization undefined.

If this does not capture the spirit of that discussion, please let me know.=
=20

Shall we proceed with that and capture the discussion in the ID (that means=
 another update to the ID). Personally I am not aware of any new data point=
s that would invalidate the above recommendation.

Thanks,

--Larry


-----Original Message-----
From: Nicolas Williams [mailto:Nicolas.Williams@sun.com]=20
Sent: Tuesday, March 23, 2010 1:00 PM
To: Larry Zhu
Cc: channel-binding@ietf.org; sasl@ietf.org; tls@ietf.org; Mark Novak; Pasi=
 Eronen
Subject: Re: [CHANNEL-BINDING] [TLS] [sasl] Updates to draft-altman-tls-cha=
nnel-bindings, take two (PLEASE REVIEW)

On Tue, Mar 23, 2010 at 07:56:19PM +0000, Larry Zhu wrote:
> > It occurs to me that it must be very unlikely that any apps using the
> > MSFT variant of tls-unique are doing authentication after TLS
> > re-negotiation.
>=20
> Should we instead say that the receiver/verifier of the tls-unique
> binding is encouraged to remember the previous finished structure
> before re-negotiation. If the synchronization is more than 2 finished
> messages apart, the auth request is expected to fail.

What's the motivation?  Is it really that hard to keep the initial CB
around?  It is tiny...

> This way we have a solution when the actual need arises, without
> complicating either the interface or the protocol. Hopefully the
> burden to implementation is minimal as well. Is that reasonable?

Ah, I think I understand.  In your API it's the application's burden to
remember the CB from the initial handshake.  But even so, that does not
seem like such a tough burden.

Your proposal is more reasonable than the earlier one for the simple
reason that we'll never see three handshakes prior to authentication,
and accepting the possibility of spurious authentication failures in
such cases, if they happened, would be OK with me.

Nico
--=20


From simon@josefsson.org  Tue Mar 23 13:55:59 2010
Return-Path: <simon@josefsson.org>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EA2413A6B0C; Tue, 23 Mar 2010 13:55:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.39
X-Spam-Level: 
X-Spam-Status: No, score=0.39 tagged_above=-999 required=5 tests=[BAYES_20=-0.74, DNS_FROM_OPENWHOIS=1.13]
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 eT+VoNuqaV-P; Tue, 23 Mar 2010 13:55:59 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 6F7BA3A6C17; Tue, 23 Mar 2010 13:55:58 -0700 (PDT)
Received: from mocca (c80-216-24-99.bredband.comhem.se [80.216.24.99]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o2NKuCKI028492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 23 Mar 2010 21:56:14 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Larry Zhu <larry.zhu@microsoft.com>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM> <20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB563F1@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <20100323195956.GY21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB5667A@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:100323:pasi.eronen@nokia.com::EaU0EPSz3yMhigJE:+jD
X-Hashcash: 1:22:100323:larry.zhu@microsoft.com::ZVEV0fDXcLOtZ+4N:2IYZ
X-Hashcash: 1:22:100323:tls@ietf.org::xOK62HCsm5pLnEHP:GG2F
X-Hashcash: 1:22:100323:nicolas.williams@sun.com::1KZ6TEccych/TX3R:6XgO
X-Hashcash: 1:22:100323:sasl@ietf.org::kED2xVqIGkWKv1+4:a1Xs
X-Hashcash: 1:22:100323:mark.novak@microsoft.com::kbhf9pHtuotuvtBb:Ng3l
X-Hashcash: 1:22:100323:channel-binding@ietf.org::IVuOqot0C31Y2lCT:tDDF
Date: Tue, 23 Mar 2010 21:56:12 +0100
In-Reply-To: <4B17DE30119FF1429798D9F5D94BDE8C0EB5667A@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> (Larry Zhu's message of "Tue, 23 Mar 2010 20:48:41 +0000")
Message-ID: <87r5napxjn.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.3 at yxa-v
X-Virus-Status: Clean
Cc: Mark Novak <Mark.Novak@microsoft.com>, "channel-binding@ietf.org" <channel-binding@ietf.org>, Nicolas Williams <Nicolas.Williams@sun.com>, Pasi Eronen <pasi.eronen@nokia.com>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: Re: [CHANNEL-BINDING] [TLS] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 20:56:00 -0000

Larry Zhu <larry.zhu@microsoft.com> writes:

> I briefly chatted with Sam who was in the tls-unique design/discussion meeting last Sunday. It turns out that the community as represented by key stake holders in that meeting believed that:
>
> 1) TLS renegotiation is driven by TLS apps.

I recall that both OpenSSL and NSS drive TLS renegotiation internally
(i.e., TLS apps are not required to do the handshake).  For GnuTLS, it
is the apps that drives TLS renegotiation.  Can someone confirm/deny my
recollection?  As far as I recall, the reason the TLS renegotiation
issue was problematic for OpenSSL/NSS (and not for GnuTLS) was that the
former libraries drives renegotiation internally in the library.

/Simon

From Nicolas.Williams@sun.com  Tue Mar 23 13:56:46 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D4C093A6C4C; Tue, 23 Mar 2010 13:56:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.39
X-Spam-Level: 
X-Spam-Status: No, score=-4.39 tagged_above=-999 required=5 tests=[AWL=1.078,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 0P9jZbafdzFI; Tue, 23 Mar 2010 13:56:46 -0700 (PDT)
Received: from rcsinet12.oracle.com (rcsinet12.oracle.com [148.87.113.124]) by core3.amsl.com (Postfix) with ESMTP id 018063A6C2E; Tue, 23 Mar 2010 13:56:45 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2NKux3f017159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Mar 2010 20:57:04 GMT
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2NKunpr010361; Tue, 23 Mar 2010 20:56:49 GMT
Received: from abhmt005.oracle.com by acsmt354.oracle.com with ESMTP id 104784801269377760; Tue, 23 Mar 2010 13:56:00 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 23 Mar 2010 13:56:00 -0700
Date: Tue, 23 Mar 2010 15:55:55 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Larry Zhu <larry.zhu@microsoft.com>
Message-ID: <20100323205554.GC21244@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM> <20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB563F1@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <20100323195956.GY21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB5667A@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4B17DE30119FF1429798D9F5D94BDE8C0EB5667A@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt354.oracle.com [141.146.40.154]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090206.4BA92B1A.013D,ss=1,fgs=0
Cc: Mark Novak <Mark.Novak@microsoft.com>, "channel-binding@ietf.org" <channel-binding@ietf.org>, Pasi Eronen <pasi.eronen@nokia.com>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: Re: [CHANNEL-BINDING] [TLS] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 20:56:46 -0000

On Tue, Mar 23, 2010 at 08:48:41PM +0000, Larry Zhu wrote:
> I briefly chatted with Sam who was in the tls-unique design/discussion
> meeting last Sunday. It turns out that the community as represented by
> key stake holders in that meeting believed that:
> 
> 1) TLS renegotiation is driven by TLS apps.
> 2) as the result, the apps can figure out, based on the app specific
> context, which TLS side will start renegotiation and when, e.g. in a
> locked-step fashion.
> 2) therefore it is acceptable to leave the behavior in the case of the
> described synchronization undefined.
> 
> If this does not capture the spirit of that discussion, please let me
> know. 

It does.  However, it does also mean that I had to write a bunch of
normative text in draft-altman-... to say that apps must do this.  That
strikes me as ugly complexity.

If you never have re-negotiation happening before authentication then
why do we need to worry about this?  -- that's my question.

> Shall we proceed with that and capture the discussion in the ID (that
> means another update to the ID).

I wrote -09 so as to capture that discussion.

>                                  Personally I am not aware of any new
> data points that would invalidate the above recommendation.

I'm asking questions about your implementation.  The answers to those
questions might actually bring new data points to light that, while they
wouldn't invalidate our earlier decision, might lead us to re-consider
that decision.

Nico
-- 

From Nicolas.Williams@sun.com  Tue Mar 23 13:58:49 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D27E43A6937; Tue, 23 Mar 2010 13:58:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.57
X-Spam-Level: 
X-Spam-Status: No, score=-4.57 tagged_above=-999 required=5 tests=[AWL=0.898,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 XAgZd2OAFNRv; Tue, 23 Mar 2010 13:58:49 -0700 (PDT)
Received: from rcsinet12.oracle.com (rcsinet12.oracle.com [148.87.113.124]) by core3.amsl.com (Postfix) with ESMTP id 89EEA3A6891; Tue, 23 Mar 2010 13:58:45 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2NKwv2R021959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Mar 2010 20:59:04 GMT
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2NCLkEf019162; Tue, 23 Mar 2010 20:58:56 GMT
Received: from abhmt007.oracle.com by acsmt355.oracle.com with ESMTP id 109833081269377893; Tue, 23 Mar 2010 13:58:13 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 23 Mar 2010 13:58:12 -0700
Date: Tue, 23 Mar 2010 15:58:08 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Message-ID: <20100323205807.GD21244@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM> <20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB563F1@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <20100323195956.GY21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB5667A@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <87r5napxjn.fsf@mocca.josefsson.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87r5napxjn.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt354.oracle.com [141.146.40.154]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090202.4BA92B91.006D,ss=1,fgs=0
Cc: Mark Novak <Mark.Novak@microsoft.com>, "channel-binding@ietf.org" <channel-binding@ietf.org>, Pasi Eronen <pasi.eronen@nokia.com>, Larry Zhu <larry.zhu@microsoft.com>, "sasl@ietf.org" <sasl@ietf.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [CHANNEL-BINDING] [TLS] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 20:58:49 -0000

On Tue, Mar 23, 2010 at 09:56:12PM +0100, Simon Josefsson wrote:
> I recall that both OpenSSL and NSS drive TLS renegotiation internally
> (i.e., TLS apps are not required to do the handshake).  For GnuTLS, it
> is the apps that drives TLS renegotiation.  Can someone confirm/deny my
> recollection?  As far as I recall, the reason the TLS renegotiation
> issue was problematic for OpenSSL/NSS (and not for GnuTLS) was that the
> former libraries drives renegotiation internally in the library.

But what is the trigger?  Key aging?

Nico
-- 

From simon@josefsson.org  Tue Mar 23 14:02:52 2010
Return-Path: <simon@josefsson.org>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 62BFD3A6891; Tue, 23 Mar 2010 14:02:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.54
X-Spam-Level: 
X-Spam-Status: No, score=-0.54 tagged_above=-999 required=5 tests=[AWL=0.929,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
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 5jeXe2nVVBHd; Tue, 23 Mar 2010 14:02:51 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 13BBF3A67F9; Tue, 23 Mar 2010 14:02:50 -0700 (PDT)
Received: from mocca (c80-216-24-99.bredband.comhem.se [80.216.24.99]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o2NL36Vf028655 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 23 Mar 2010 22:03:08 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Nicolas Williams <Nicolas.Williams@sun.com>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM> <20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB563F1@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <20100323195956.GY21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB5667A@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <87r5napxjn.fsf@mocca.josefsson.org> <20100323205807.GD21244@Sun.COM>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:100323:nicolas.williams@sun.com::dIXqEiFfJvi2V4RP:0ziM
X-Hashcash: 1:22:100323:tls@ietf.org::ygNu1ISy1sqEV5QW:3clH
X-Hashcash: 1:22:100323:sasl@ietf.org::t+yT7a2aNuBxNU1y:C/b6
X-Hashcash: 1:22:100323:mark.novak@microsoft.com::SYpoDOxwD0FQI0xM:AxWo
X-Hashcash: 1:22:100323:larry.zhu@microsoft.com::egfHgf8o+T8Ya/DU:Bbyq
X-Hashcash: 1:22:100323:pasi.eronen@nokia.com::eG2nhrOQcqmLWGKV:tno0
X-Hashcash: 1:22:100323:channel-binding@ietf.org::p1g23/BhPyCyNhx9:0B6qs
Date: Tue, 23 Mar 2010 22:03:06 +0100
In-Reply-To: <20100323205807.GD21244@Sun.COM> (Nicolas Williams's message of "Tue, 23 Mar 2010 15:58:08 -0500")
Message-ID: <87hbo6px85.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.3 at yxa-v
X-Virus-Status: Clean
Cc: Mark Novak <Mark.Novak@microsoft.com>, "channel-binding@ietf.org" <channel-binding@ietf.org>, Pasi Eronen <pasi.eronen@nokia.com>, Larry Zhu <larry.zhu@microsoft.com>, "sasl@ietf.org" <sasl@ietf.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [CHANNEL-BINDING] [TLS] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 21:02:52 -0000

Nicolas Williams <Nicolas.Williams@sun.com> writes:

> On Tue, Mar 23, 2010 at 09:56:12PM +0100, Simon Josefsson wrote:
>> I recall that both OpenSSL and NSS drive TLS renegotiation internally
>> (i.e., TLS apps are not required to do the handshake).  For GnuTLS, it
>> is the apps that drives TLS renegotiation.  Can someone confirm/deny my
>> recollection?  As far as I recall, the reason the TLS renegotiation
>> issue was problematic for OpenSSL/NSS (and not for GnuTLS) was that the
>> former libraries drives renegotiation internally in the library.
>
> But what is the trigger?  Key aging?

A renegotiation request from the peer, as I understood it.

/Simon

From larry.zhu@microsoft.com  Tue Mar 23 14:07:03 2010
Return-Path: <larry.zhu@microsoft.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EDE313A6855; Tue, 23 Mar 2010 14:07:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.097
X-Spam-Level: 
X-Spam-Status: No, score=-9.097 tagged_above=-999 required=5 tests=[AWL=0.372,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_HI=-8]
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 BOT2mI2+CbFC; Tue, 23 Mar 2010 14:07:02 -0700 (PDT)
Received: from smtp.microsoft.com (mail1.microsoft.com [131.107.115.212]) by core3.amsl.com (Postfix) with ESMTP id 6092D3A67F9; Tue, 23 Mar 2010 14:07:00 -0700 (PDT)
Received: from TK5EX14MLTC104.redmond.corp.microsoft.com (157.54.79.159) by TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with Microsoft SMTP Server (TLS) id 8.2.176.0; Tue, 23 Mar 2010 14:07:19 -0700
Received: from TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) by TK5EX14MLTC104.redmond.corp.microsoft.com (157.54.79.159) with Microsoft SMTP Server (TLS) id 14.0.639.21; Tue, 23 Mar 2010 14:07:19 -0700
Received: from TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com ([169.254.3.141]) by TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.68]) with mapi; Tue, 23 Mar 2010 14:07:20 -0700
From: Larry Zhu <larry.zhu@microsoft.com>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Thread-Topic: [TLS] [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
Thread-Index: AQHKyst4cHoPCX6ioEukU/ZiwyF8DJIAA2KQ
Date: Tue, 23 Mar 2010 21:07:12 +0000
Message-ID: <4B17DE30119FF1429798D9F5D94BDE8C0EB567FF@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM>	<20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB563F1@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <20100323195956.GY21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB5667A@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <20100323205554.GC21244@Sun.COM>
In-Reply-To: <20100323205554.GC21244@Sun.COM>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Mark Novak <Mark.Novak@microsoft.com>, "channel-binding@ietf.org" <channel-binding@ietf.org>, Pasi Eronen <pasi.eronen@nokia.com>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: Re: [CHANNEL-BINDING] [TLS] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 21:07:04 -0000

Nicolas Williams wrote:
> It does.  However, it does also mean that I had to write a bunch of norma=
tive text in draft-altman-... to say that apps must do this.  That strikes =
me as ugly complexity.
> If you never have re-negotiation happening before authentication then why=
 do we need to worry about this?  -- that's my question.

It is amusing that if you actually suggest that it is more complex to leave=
 the behavior as undefined.

-----Original Message-----
From: tls-bounces@ietf.org [mailto:tls-bounces@ietf.org] On Behalf Of Nicol=
as Williams
Sent: Tuesday, March 23, 2010 1:56 PM
To: Larry Zhu
Cc: Mark Novak; channel-binding@ietf.org; Pasi Eronen; tls@ietf.org; sasl@i=
etf.org
Subject: Re: [TLS] [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-cha=
nnel-bindings, take two (PLEASE REVIEW)

On Tue, Mar 23, 2010 at 08:48:41PM +0000, Larry Zhu wrote:
> I briefly chatted with Sam who was in the tls-unique design/discussion
> meeting last Sunday. It turns out that the community as represented by
> key stake holders in that meeting believed that:
>=20
> 1) TLS renegotiation is driven by TLS apps.
> 2) as the result, the apps can figure out, based on the app specific
> context, which TLS side will start renegotiation and when, e.g. in a
> locked-step fashion.
> 2) therefore it is acceptable to leave the behavior in the case of the
> described synchronization undefined.
>=20
> If this does not capture the spirit of that discussion, please let me
> know.=20

It does.  However, it does also mean that I had to write a bunch of
normative text in draft-altman-... to say that apps must do this.  That
strikes me as ugly complexity.

If you never have re-negotiation happening before authentication then
why do we need to worry about this?  -- that's my question.

> Shall we proceed with that and capture the discussion in the ID (that
> means another update to the ID).

I wrote -09 so as to capture that discussion.

>                                  Personally I am not aware of any new
> data points that would invalidate the above recommendation.

I'm asking questions about your implementation.  The answers to those
questions might actually bring new data points to light that, while they
wouldn't invalidate our earlier decision, might lead us to re-consider
that decision.

Nico
--=20
_______________________________________________
TLS mailing list
TLS@ietf.org
https://www.ietf.org/mailman/listinfo/tls


From Nicolas.Williams@sun.com  Tue Mar 23 14:15:40 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7D39A3A6CBB; Tue, 23 Mar 2010 14:15:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.698
X-Spam-Level: 
X-Spam-Status: No, score=-4.698 tagged_above=-999 required=5 tests=[AWL=0.770,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 SgJ6HjZm6xyw; Tue, 23 Mar 2010 14:15:36 -0700 (PDT)
Received: from acsinet12.oracle.com (acsinet12.oracle.com [141.146.126.234]) by core3.amsl.com (Postfix) with ESMTP id 204FA3A6BA1; Tue, 23 Mar 2010 14:15:24 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2NLFfkk002572 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Mar 2010 21:15:43 GMT
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2N2MLqB028527; Tue, 23 Mar 2010 21:15:39 GMT
Received: from abhmt020.oracle.com by acsmt353.oracle.com with ESMTP id 109872701269378847; Tue, 23 Mar 2010 14:14:07 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 23 Mar 2010 14:14:06 -0700
Date: Tue, 23 Mar 2010 16:14:01 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Larry Zhu <larry.zhu@microsoft.com>
Message-ID: <20100323211401.GE21244@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM> <20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB563F1@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <20100323195956.GY21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB5667A@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <20100323205554.GC21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB567FF@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4B17DE30119FF1429798D9F5D94BDE8C0EB567FF@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt354.oracle.com [141.146.40.154]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090201.4BA92F7C.00CB,ss=1,fgs=0
Cc: Mark Novak <Mark.Novak@microsoft.com>, "channel-binding@ietf.org" <channel-binding@ietf.org>, Pasi Eronen <pasi.eronen@nokia.com>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: Re: [CHANNEL-BINDING] [TLS] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 21:15:40 -0000

On Tue, Mar 23, 2010 at 09:07:12PM +0000, Larry Zhu wrote:
> Nicolas Williams wrote:
> > It does.  However, it does also mean that I had to write a bunch of
> > normative text in draft-altman-... to say that apps must do this.
> > That strikes me as ugly complexity.  If you never have
> > re-negotiation happening before authentication then why do we need
> > to worry about this?  -- that's my question.
> 
> It is amusing that if you actually suggest that it is more complex to
> leave the behavior as undefined.

I _never_ said that.

Nico
-- 

From mrex@sap.com  Tue Mar 23 14:15:51 2010
Return-Path: <mrex@sap.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 941B03A6CAC; Tue, 23 Mar 2010 14:15:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.119
X-Spam-Level: 
X-Spam-Status: No, score=-9.119 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 p9UgBZ2dvwuQ; Tue, 23 Mar 2010 14:15:50 -0700 (PDT)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id 0D3483A6BA1; Tue, 23 Mar 2010 14:15:40 -0700 (PDT)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o2NLFvHk019852 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Mar 2010 22:15:57 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201003232115.o2NLFuOS025546@fs4113.wdf.sap.corp>
To: simon@josefsson.org (Simon Josefsson)
Date: Tue, 23 Mar 2010 22:15:56 +0100 (MET)
In-Reply-To: <87hbo6px85.fsf@mocca.josefsson.org> from "Simon Josefsson" at Mar 23, 10 10:03:06 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal06
X-SAP: out
Cc: Mark.Novak@microsoft.com, channel-binding@ietf.org, Nicolas.Williams@sun.com, pasi.eronen@nokia.com, tls@ietf.org, sasl@ietf.org
Subject: Re: [CHANNEL-BINDING] [TLS]  [sasl] Updates to
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 21:15:51 -0000

Simon Josefsson wrote:
> 
> Nicolas Williams <Nicolas.Williams@sun.com> writes:
> 
> > On Tue, Mar 23, 2010 at 09:56:12PM +0100, Simon Josefsson wrote:
> >> I recall that both OpenSSL and NSS drive TLS renegotiation internally
> >> (i.e., TLS apps are not required to do the handshake).  For GnuTLS, it
> >> is the apps that drives TLS renegotiation.  Can someone confirm/deny my
> >> recollection?  As far as I recall, the reason the TLS renegotiation
> >> issue was problematic for OpenSSL/NSS (and not for GnuTLS) was that the
> >> former libraries drives renegotiation internally in the library.
> >
> > But what is the trigger?  Key aging?
> 
> A renegotiation request from the peer, as I understood it.


That was my understanding as well.

Whether the server tries to request a client certificate on the
initial handshake or whether it tries to request it after having
seen the request (and before sending a 401 Unauthorized reply)
is a configurable behaviour of some servers.


Client apps on OpenSSL style APIs usually do not know, and should
not have to care, whether the server is configured in that
originally very dangerous fashion and that the clients local
TLS implementation performs the TLS renegotiation transparently.


When it is the client app that retrieves the ChannelBindings information
from the TLS implementation and feeds it into gss_init_sec_context(),
then the channel binding information should be sticky to the
TLS connection handle (which represents the communication channel
as seen by the application).


I believe we agreed and documented in the Security Considerations
section of the TLS renegotiation RFC that a change in the servers
identity during a server-triggered TLS renegotiation, which is not
necessarily visible at the API used by the client app, may come as
a surprise to that client app and should _NOT_ be the default.


-Martin






From simon@josefsson.org  Tue Mar 23 14:23:06 2010
Return-Path: <simon@josefsson.org>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B09803A688F; Tue, 23 Mar 2010 14:23:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.004
X-Spam-Level: 
X-Spam-Status: No, score=-1.004 tagged_above=-999 required=5 tests=[AWL=0.465,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
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 1mI0iLULZCTu; Tue, 23 Mar 2010 14:23:04 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id D8DB73A6C82; Tue, 23 Mar 2010 14:22:32 -0700 (PDT)
Received: from mocca (c80-216-24-99.bredband.comhem.se [80.216.24.99]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o2NLMmYS029041 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 23 Mar 2010 22:22:49 +0100
From: Simon Josefsson <simon@josefsson.org>
To: mrex@sap.com
References: <201003232115.o2NLFuOS025546@fs4113.wdf.sap.corp>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:100323:sasl@ietf.org::q3hLuYtbnEiOkGyN:0XIc
X-Hashcash: 1:22:100323:mark.novak@microsoft.com::FKNbJ8VWUoBSOcXf:0R2p
X-Hashcash: 1:22:100323:mrex@sap.com::v8WriY35/ekHmmJR:3vEE
X-Hashcash: 1:22:100323:tls@ietf.org::ga7SBYIhlUKe8795:82jM
X-Hashcash: 1:22:100323:pasi.eronen@nokia.com::DgSMwaGj6oY7jcnj:49qw
X-Hashcash: 1:22:100323:channel-binding@ietf.org::YpNJMeHGxcZnrYy4:DVw8
X-Hashcash: 1:22:100323:nicolas.williams@sun.com::dvqHkJJ/4o+K7vop:HoUM
Date: Tue, 23 Mar 2010 22:22:48 +0100
In-Reply-To: <201003232115.o2NLFuOS025546@fs4113.wdf.sap.corp> (Martin Rex's message of "Tue, 23 Mar 2010 22:15:56 +0100 (MET)")
Message-ID: <871vfapwbb.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.3 at yxa-v
X-Virus-Status: Clean
Cc: Mark.Novak@microsoft.com, channel-binding@ietf.org, Nicolas.Williams@sun.com, pasi.eronen@nokia.com, tls@ietf.org, sasl@ietf.org
Subject: Re: [CHANNEL-BINDING] [TLS]  [sasl] Updates to
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 21:23:06 -0000

Martin Rex <mrex@sap.com> writes:

> When it is the client app that retrieves the ChannelBindings information
> from the TLS implementation and feeds it into gss_init_sec_context(),
> then the channel binding information should be sticky to the
> TLS connection handle (which represents the communication channel
> as seen by the application).

I believe the Microsoft implementation of the 'tls-unique' channel
binding leads to different cb after each TLS handshake.  So the cb is
not sticky.  I guess the question is if there is any problem (*) in
making the Microsoft approach the official definition.

/Simon

(*) Aside changing an already published definition.

From Nicolas.Williams@sun.com  Tue Mar 23 14:26:14 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 072C43A6C5A; Tue, 23 Mar 2010 14:26:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.794
X-Spam-Level: 
X-Spam-Status: No, score=-4.794 tagged_above=-999 required=5 tests=[AWL=0.674,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 47Jx12wpCyiw; Tue, 23 Mar 2010 14:26:13 -0700 (PDT)
Received: from acsinet11.oracle.com (acsinet11.oracle.com [141.146.126.233]) by core3.amsl.com (Postfix) with ESMTP id 1A4183A6C45; Tue, 23 Mar 2010 14:26:13 -0700 (PDT)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by acsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2NLQN7C010375 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Mar 2010 21:26:30 GMT
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2NLQMqx016415; Tue, 23 Mar 2010 21:26:22 GMT
Received: from abhmt004.oracle.com by acsmt354.oracle.com with ESMTP id 104863271269379494; Tue, 23 Mar 2010 14:24:54 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 23 Mar 2010 14:24:53 -0700
Date: Tue, 23 Mar 2010 16:24:48 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: channel-binding@ietf.org, sasl@ietf.org, tls@ietf.org, Mark Novak <Mark.Novak@microsoft.com>, Larry Zhu <lzhu@wollive.windowsmedia.com.akadns.net>
Message-ID: <20100323212448.GF21244@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM> <20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20100323190629.GR21244@Sun.COM>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt354.oracle.com [141.146.40.154]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090208.4BA931FF.011A,ss=1,fgs=0
Cc: Pasi Eronen <pasi.eronen@nokia.com>
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 21:26:14 -0000

On Tue, Mar 23, 2010 at 02:06:29PM -0500, Nicolas Williams wrote:
> It occurs to me that it must be very unlikely that any apps using the
> MSFT variant of tls-unique are doing authentication after TLS
> re-negotiation.  We already have confirmation that in the HTTP/Negotiate
> case that never happens.  If so, might you be willing to fix your
> implementation to always use the initial handshake?  That would help
> remove two pieces of complexity from -09: a) security considerations with
> regard to the TLS re-negotiation bug, b) interoperability considerations
> with regard to the channel binding synchronization problem.

I need to re-word my question to clarify that I'm not interested in
knowing what MSFT proprietary apps you're using CB in.  Does TLS
re-negotiation ever occur prior to authentication in any of your
applications?  I'm NOT interested in knowing anything else about
proprietary MSFT applications, just that one detail about Internet as
well as proprietary apps.

The point of the question is to establish whether we really have to pick
the first Finished message of the latest/inner-most handshake or if
there's still time for you to fix your implementation so that we can use
the first Finished message of the first/outer-most handshake.

Nico
-- 

From mrex@sap.com  Tue Mar 23 16:14:18 2010
Return-Path: <mrex@sap.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 543323A6D20; Tue, 23 Mar 2010 16:14:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.119
X-Spam-Level: 
X-Spam-Status: No, score=-9.119 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 ViXlouGHFsuM; Tue, 23 Mar 2010 16:14:17 -0700 (PDT)
Received: from smtpde03.sap-ag.de (smtpde03.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 4D7F13A6D1E; Tue, 23 Mar 2010 16:14:17 -0700 (PDT)
Received: from mail.sap.corp by smtpde03.sap-ag.de (26) with ESMTP id o2NNEZto000117 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Mar 2010 00:14:35 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201003232314.o2NNEX6n002849@fs4113.wdf.sap.corp>
To: larry.zhu@microsoft.com (Larry Zhu)
Date: Wed, 24 Mar 2010 00:14:33 +0100 (MET)
In-Reply-To: <4B17DE30119FF1429798D9F5D94BDE8C0EB567FF@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> from "Larry Zhu" at Mar 23, 10 09:07:12 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: Mark.Novak@microsoft.com, channel-binding@ietf.org, Nicolas.Williams@sun.com, pasi.eronen@nokia.com, tls@ietf.org, sasl@ietf.org
Subject: Re: [CHANNEL-BINDING] [TLS]  [sasl] Updates to
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 23:14:18 -0000

Larry Zhu wrote:
> 
> It is amusing that if you actually suggest that it is more complex
> to leave the behavior as undefined.

The part that is a little funny (or weird) is something else.

When we realized that the original TLS renegotiation resulted,
in fact, in a completely different and unrelated channel than
its predecessor, and that all apps that blindly assumed it
would be still the same channel, we decided to fix TLS and
provide that assurance to the app.

_After_ fixing TLS renegotiation, it sounds strange to
define TLS channel bindings that clearly indicate that the
channel before TLS renegotiation and after TLS renegotiation
is _NOT_ the same channel (because it uses different channel
bindings and will make authentications fail that mix them up).

That is IMHO a little weird.


-Martin


From larry.zhu@microsoft.com  Tue Mar 23 16:41:54 2010
Return-Path: <larry.zhu@microsoft.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DB97C3A6938; Tue, 23 Mar 2010 16:41:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.221
X-Spam-Level: 
X-Spam-Status: No, score=-9.221 tagged_above=-999 required=5 tests=[AWL=0.248,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_HI=-8]
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 8sCPUXZi1TZa; Tue, 23 Mar 2010 16:41:53 -0700 (PDT)
Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.212]) by core3.amsl.com (Postfix) with ESMTP id ED07E3A68AF; Tue, 23 Mar 2010 16:41:52 -0700 (PDT)
Received: from TK5EX14HUBC101.redmond.corp.microsoft.com (157.54.7.153) by TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with Microsoft SMTP Server (TLS) id 8.2.176.0; Tue, 23 Mar 2010 16:42:12 -0700
Received: from TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com (157.54.71.39) by TK5EX14HUBC101.redmond.corp.microsoft.com (157.54.7.153) with Microsoft SMTP Server (TLS) id 14.0.639.21; Tue, 23 Mar 2010 16:42:12 -0700
Received: from TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com ([169.254.3.141]) by TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.39]) with mapi; Tue, 23 Mar 2010 16:42:11 -0700
From: Larry Zhu <larry.zhu@microsoft.com>
To: "<mrex@sap.com>" <mrex@sap.com>
Thread-Topic: [TLS] [CHANNEL-BINDING] [sasl] Updates to
Thread-Index: AQHKyt6YVbfsrek0G0SgZPtlzjfE8pIApHsA
Date: Tue, 23 Mar 2010 23:42:02 +0000
Message-ID: <390DE3D1-279D-4E90-BFDF-43C9D73954A3@microsoft.com>
References: <201003232314.o2NNEX6n002849@fs4113.wdf.sap.corp>
In-Reply-To: <201003232314.o2NNEX6n002849@fs4113.wdf.sap.corp>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="us-ascii"
Content-ID: <5b2e89c7-bdbb-4d64-9779-5852ff169478>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Mark Novak <Mark.Novak@microsoft.com>, "channel-binding@ietf.org" <channel-binding@ietf.org>, "Nicolas.Williams@sun.com" <Nicolas.Williams@sun.com>, "pasi.eronen@nokia.com" <pasi.eronen@nokia.com>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: Re: [CHANNEL-BINDING] [TLS]  [sasl] Updates to
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 23:41:55 -0000

More precisely we allow you treat the renegotiated channel the same in =20
tls- endpiont, or differentally in tls-unique. Thus the flexiblity =20
remains yours.

Sent from my phone

On Mar 23, 2010, at 4:16 PM, "Martin Rex" <mrex@sap.com> wrote:

> Larry Zhu wrote:
>>
>> It is amusing that if you actually suggest that it is more complex
>> to leave the behavior as undefined.
>
> The part that is a little funny (or weird) is something else.
>
> When we realized that the original TLS renegotiation resulted,
> in fact, in a completely different and unrelated channel than
> its predecessor, and that all apps that blindly assumed it
> would be still the same channel, we decided to fix TLS and
> provide that assurance to the app.
>
> _After_ fixing TLS renegotiation, it sounds strange to
> define TLS channel bindings that clearly indicate that the
> channel before TLS renegotiation and after TLS renegotiation
> is _NOT_ the same channel (because it uses different channel
> bindings and will make authentications fail that mix them up).
>
> That is IMHO a little weird.
>
>
> -Martin
>
>

From Nicolas.Williams@Sun.COM  Wed Mar 24 14:29:15 2010
Return-Path: <Nicolas.Williams@Sun.COM>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 120853A6A3A; Wed, 24 Mar 2010 14:29:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.929
X-Spam-Level: 
X-Spam-Status: No, score=-4.929 tagged_above=-999 required=5 tests=[AWL=0.539,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 J0zp1Tioqg-Q; Wed, 24 Mar 2010 14:29:14 -0700 (PDT)
Received: from acsinet11.oracle.com (acsinet11.oracle.com [141.146.126.233]) by core3.amsl.com (Postfix) with ESMTP id AFBA93A69ED; Wed, 24 Mar 2010 14:29:13 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2OLTWAC004429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 24 Mar 2010 21:29:33 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2OJCTCp005211; Wed, 24 Mar 2010 21:29:29 GMT
Received: from abhmt018.oracle.com by acsmt354.oracle.com with ESMTP id 108169001269466114; Wed, 24 Mar 2010 14:28:34 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 24 Mar 2010 14:28:34 -0700
Date: Wed, 24 Mar 2010 16:28:30 -0500
From: Nicolas Williams <Nicolas.Williams@Sun.COM>
To: Simon Josefsson <simon@josefsson.org>
Message-ID: <20100324212829.GA21244@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM> <20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB563F1@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <20100323195956.GY21244@Sun.COM> <4B17DE30119FF1429798D9F5D94BDE8C0EB5667A@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <87r5napxjn.fsf@mocca.josefsson.org> <20100323205807.GD21244@Sun.COM> <87hbo6px85.fsf@mocca.josefsson.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87hbo6px85.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt355.oracle.com [141.146.40.155]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090203.4BAA843C.003F,ss=1,fgs=0
Cc: Mark Novak <Mark.Novak@microsoft.com>, "channel-binding@ietf.org" <channel-binding@ietf.org>, Pasi Eronen <pasi.eronen@nokia.com>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: [CHANNEL-BINDING] Avoiding CB sync problem via server-side solution (was Re: Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW))
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2010 21:29:15 -0000

On Tue, Mar 23, 2010 at 10:03:06PM +0100, Simon Josefsson wrote:
> Nicolas Williams <Nicolas.Williams@sun.com> writes:
> > But what is the trigger?  Key aging?
> 
> A renegotiation request from the peer, as I understood it.

The peer being the TLS server.  What's the trigger on the server side?

In most apps authentication happens soon after establishing the channel,
so re-keying as a trigger is out of the question.  That leaves TLS
authentication using a user cert, which is a form of authentication in
itself, and which the server application ought not request
asynchronously from application-layer authentication.

It's possible that in practice we never authenticate before
re-negotiation because the server doesn't ever need to request
re-negotiation before authentication.  The spec would still need
significant amounts of verbiage about this situation, but at least
avoiding the situation would be much easier because avoidance could be
done using existing APIs on the server-side instead of requiring new
APIs on the client side.

(Of course, if it never happens, then it seems much less necessary to
change the spec for tls-unique to say that re-negotiation changes the
channel's CB.  But it might turn out to always happen for future app
protocols, in which case a discrepancy amongst implementors would be
bad.  Also, there exist SASL apps allow for re-authentication at any
time, so we must agree on one approach.)

I'm much more comfortable with avoiding the CB synchronization problem
by using existing APIs on the server side.  Do we agree that this is
possible and desirable?  If so I'll make the change.

Nico
-- 

From Nicolas.Williams@sun.com  Tue Mar 30 10:53:43 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C04F03A6A18; Tue, 30 Mar 2010 10:53:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.889
X-Spam-Level: 
X-Spam-Status: No, score=-4.889 tagged_above=-999 required=5 tests=[AWL=0.579,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 0aBlIjoJVbdW; Tue, 30 Mar 2010 10:53:43 -0700 (PDT)
Received: from rcsinet12.oracle.com (rcsinet12.oracle.com [148.87.113.124]) by core3.amsl.com (Postfix) with ESMTP id DF0EE3A6836; Tue, 30 Mar 2010 10:53:42 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2UHs6kR001656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 30 Mar 2010 17:54:08 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2U9uDbl010861; Tue, 30 Mar 2010 17:54:05 GMT
Received: from abhmt012.oracle.com by acsmt354.oracle.com with ESMTP id 124320711269971582; Tue, 30 Mar 2010 10:53:02 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 30 Mar 2010 10:53:02 -0700
Date: Tue, 30 Mar 2010 12:52:57 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: "channel-binding@ietf.org" <channel-binding@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20100330175257.GN21318@Sun.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt353.oracle.com [141.146.40.153]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A0B020A.4BB23ABE.011A,ss=1,fgs=0
Cc: Pasi Eronen <pasi.eronen@nokia.com>, Larry Zhu <larry.zhu@microsoft.com>, Mark Novak <Mark.Novak@microsoft.com>
Subject: [CHANNEL-BINDING] draft-altman-tls-channel-bindings-10 -- better text on sync problem
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2010 17:53:43 -0000

I've just posted draft-altman-tls-channel-bindings-10:

http://www.ietf.org/internet-drafts/draft-altman-tls-channel-bindings-10.txt

I realized that the best way to avoid the synchronization problem is to
simply not request re-negotiation on the server side during application-
layer authentication.  I made that a MUST because there's typically an
API by which server-side apps can request re-negotiation.  I made the
client-side avoidance technique a SHOULD because the necessary APIs
might be missing.

With this change I'm happy to adopt the MSFT variant of tls-unique
unchanged.

Alexey,

I believe that draft-altman-tls-channel-bindings-10.txt is ready for an
IETF Last Call.

Nico
-- 

From lear@cisco.com  Wed Mar 31 06:44:50 2010
Return-Path: <lear@cisco.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7A1FF3A679C; Wed, 31 Mar 2010 06:44:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.469
X-Spam-Level: 
X-Spam-Status: No, score=-5.469 tagged_above=-999 required=5 tests=[AWL=-4.000, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
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 b8tqT+X1P+Zk; Wed, 31 Mar 2010 06:44:49 -0700 (PDT)
Received: from ams-iport-2.cisco.com (ams-iport-2.cisco.com [144.254.224.141]) by core3.amsl.com (Postfix) with ESMTP id 74F823A698B; Wed, 31 Mar 2010 06:44:38 -0700 (PDT)
Authentication-Results: ams-iport-2.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArsBAH7uskuQ/uCWe2dsb2JhbACDEpgjFQEBCwsiBhynbYhDkFWBK4JragQ
X-IronPort-AV: E=Sophos;i="4.51,341,1267401600";  d="scan'208";a="5026595"
Received: from ams-core-1.cisco.com ([144.254.224.150]) by ams-iport-2.cisco.com with ESMTP; 31 Mar 2010 13:10:21 +0000
Received: from dhcp-10-61-100-34.cisco.com (dhcp-10-61-100-34.cisco.com [10.61.100.34]) by ams-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id o2VDj7pw025962; Wed, 31 Mar 2010 13:45:08 GMT
Message-ID: <4BB351E3.6000905@cisco.com>
Date: Wed, 31 Mar 2010 15:45:07 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.2pre) Gecko/20100302 Lanikai/3.1b1
MIME-Version: 1.0
To: Nicolas Williams <Nicolas.Williams@sun.com>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM>	<20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM>
In-Reply-To: <20100323190629.GR21244@Sun.COM>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Wed, 31 Mar 2010 09:37:13 -0700
Cc: Mark Novak <Mark.Novak@microsoft.com>, channel-binding@ietf.org, Pasi Eronen <pasi.eronen@nokia.com>, Larry Zhu <lzhu@wollive.windowsmedia.com.akadns.net>, tls@ietf.org, sasl@ietf.org
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Mar 2010 13:44:50 -0000

  Nico:

On 3/23/10 8:06 PM, Nicolas Williams wrote:
> Submitted:
>
> http://www.ietf.org/id/draft-altman-tls-channel-bindings-09.txt

That URL doesn't work for me.  For those actually trying to find it via 
a link it is here:

http://tools.ietf.org/id/draft-altman-tls-channel-bindings-09.txt

Eliot

From Nicolas.Williams@sun.com  Wed Mar 31 09:47:42 2010
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A916D3A69D7; Wed, 31 Mar 2010 09:47:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.168
X-Spam-Level: 
X-Spam-Status: No, score=-5.168 tagged_above=-999 required=5 tests=[AWL=0.300,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4,  UNPARSEABLE_RELAY=0.001]
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 6pcYPtypy-i7; Wed, 31 Mar 2010 09:47:42 -0700 (PDT)
Received: from acsinet11.oracle.com (acsinet11.oracle.com [141.146.126.233]) by core3.amsl.com (Postfix) with ESMTP id B375D3A6BCF; Wed, 31 Mar 2010 09:39:20 -0700 (PDT)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2VGdm0t011440 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 31 Mar 2010 16:39:50 GMT
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2V8GuaB006040; Wed, 31 Mar 2010 16:39:48 GMT
Received: from abhmt021.oracle.com by acsmt354.oracle.com with ESMTP id 127503971270053587; Wed, 31 Mar 2010 09:39:47 -0700
Received: from Sun.COM (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 31 Mar 2010 09:39:45 -0700
Date: Wed, 31 Mar 2010 11:39:40 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Eliot Lear <lear@cisco.com>
Message-ID: <20100331163940.GL4225@Sun.COM>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM> <20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM> <4BB351E3.6000905@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4BB351E3.6000905@cisco.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt354.oracle.com [141.146.40.154]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090209.4BB37AD4.017C,ss=1,fgs=0
Cc: Mark Novak <Mark.Novak@microsoft.com>, channel-binding@ietf.org, Pasi Eronen <pasi.eronen@nokia.com>, Larry Zhu <lzhu@wollive.windowsmedia.com.akadns.net>, tls@ietf.org, sasl@ietf.org
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Mar 2010 16:47:42 -0000

On Wed, Mar 31, 2010 at 03:45:07PM +0200, Eliot Lear wrote:
> On 3/23/10 8:06 PM, Nicolas Williams wrote:
> >Submitted:
> >
> >http://www.ietf.org/id/draft-altman-tls-channel-bindings-09.txt
> 
> That URL doesn't work for me.  For those actually trying to find it
> via a link it is here:

Strange.  Maybe because I submitted -10?

> http://tools.ietf.org/id/draft-altman-tls-channel-bindings-09.txt

Review -10.  The changes from -09: I added text on avoiding the sync
problem using client-side and server-side techniques.

From turners@ieca.com  Wed Mar 31 12:31:45 2010
Return-Path: <turners@ieca.com>
X-Original-To: channel-binding@core3.amsl.com
Delivered-To: channel-binding@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 38AA73A6A29 for <channel-binding@core3.amsl.com>; Wed, 31 Mar 2010 12:31:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.841
X-Spam-Level: 
X-Spam-Status: No, score=-0.841 tagged_above=-999 required=5 tests=[AWL=0.627,  BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, UNPARSEABLE_RELAY=0.001]
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 N4N5ZuGEUYu2 for <channel-binding@core3.amsl.com>; Wed, 31 Mar 2010 12:31:45 -0700 (PDT)
Received: from smtp111.biz.mail.re2.yahoo.com (smtp111.biz.mail.re2.yahoo.com [66.196.116.96]) by core3.amsl.com (Postfix) with SMTP id EBA5A3A6847 for <channel-binding@ietf.org>; Wed, 31 Mar 2010 12:31:44 -0700 (PDT)
Received: (qmail 40019 invoked from network); 31 Mar 2010 19:25:36 -0000
Received: from thunderfish.local (turners@96.231.120.117 with plain) by smtp111.biz.mail.re2.yahoo.com with SMTP; 31 Mar 2010 12:25:35 -0700 PDT
X-Yahoo-SMTP: ZrP3VLSswBDL75pF8ymZHDSu9B.vcMfDPgLJ
X-YMail-OSG: 1rwiCG0VM1nhCXoDzh5ZnVGZA3qkZ2DbruKrp1m0uACTgE9cBnievPL40Al8I6ZH0KONOnHdJc6NdwwdNaklYd7OszmjVDYBUVulxpOqf5La5s94OFs7qXPsvze3mwO5mqv0js1Zkx1.tX.FC2AHKVZKCW0HVcCy3THnkuJMPtd3qZdoawRtgJvyjA_LIdEcCx6.mDnWS7KZ14ULzQTJ0EX9xSphcuF.6Zo.OFeExmNpWaiyjXrPaXgz1RXyTmJAujgi7nGJMx929zYiAnddkCWF4RVmUrrYnMhVfWf.L3JKBZwNQ.b8YeLmLupo9PfAWqzKlyYszTXePNAasrjjcSs.CJ76ryLzwzvIfhj0m51UwWVy8LasS0gxFNb5PsBI6FcWJVXe8wKVRa.MKyD.UIvvpBcjcKlTTYPhbNMMeZQHsqboE15JBzUy4xTRSzXn1vu0tGbYJltNJLZdEfc-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4BB3A1AF.5050605@ieca.com>
Date: Wed, 31 Mar 2010 15:25:35 -0400
From: Sean Turner <turners@ieca.com>
User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228)
MIME-Version: 1.0
To: Nicolas Williams <Nicolas.Williams@sun.com>
References: <20100317231522.GA18167@Sun.COM> <20100322232150.GB21244@Sun.COM>	<20100323065301.GE21244@Sun.COM> <20100323190629.GR21244@Sun.COM>	<4BB351E3.6000905@cisco.com> <20100331163940.GL4225@Sun.COM>
In-Reply-To: <20100331163940.GL4225@Sun.COM>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Wed, 31 Mar 2010 12:34:19 -0700
Cc: Mark Novak <Mark.Novak@microsoft.com>, channel-binding@ietf.org, Eliot Lear <lear@cisco.com>, Pasi Eronen <pasi.eronen@nokia.com>, Larry Zhu <lzhu@wollive.windowsmedia.com.akadns.net>, tls@ietf.org, sasl@ietf.org
Subject: Re: [CHANNEL-BINDING] [sasl] Updates to draft-altman-tls-channel-bindings, take two (PLEASE REVIEW)
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Mar 2010 19:31:45 -0000

If you don't mind the html version:
http://tools.ietf.org/html/draft-altman-tls-channel-bindings

It automagically takes you to the latest version.

spt

Nicolas Williams wrote:
> On Wed, Mar 31, 2010 at 03:45:07PM +0200, Eliot Lear wrote:
>> On 3/23/10 8:06 PM, Nicolas Williams wrote:
>>> Submitted:
>>>
>>> http://www.ietf.org/id/draft-altman-tls-channel-bindings-09.txt
>> That URL doesn't work for me.  For those actually trying to find it
>> via a link it is here:
> 
> Strange.  Maybe because I submitted -10?
> 
>> http://tools.ietf.org/id/draft-altman-tls-channel-bindings-09.txt
> 
> Review -10.  The changes from -09: I added text on avoiding the sync
> problem using client-side and server-side techniques.
> _______________________________________________
> sasl mailing list
> sasl@ietf.org
> https://www.ietf.org/mailman/listinfo/sasl
> 
