From tls-bounces@lists.ietf.org Thu Sep 06 15:49:38 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1ITNKD-0003EE-4E; Thu, 06 Sep 2007 15:47:37 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1ITNKB-00037q-9s
	for tls@ietf.org; Thu, 06 Sep 2007 15:47:35 -0400
Received: from brmea-mail-2.sun.com ([192.18.98.43])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1ITNK9-0000Z2-Uf
	for tls@ietf.org; Thu, 06 Sep 2007 15:47:35 -0400
Received: from fe-amer-05.sun.com ([192.18.108.179])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id
	l86JlWXW000468 for <tls@ietf.org>; Thu, 6 Sep 2007 19:47:32 GMT
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
	(Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
	id <0JNY00001OL0RZ00@mail-amer.sun.com>
	(original mail from Chris.Newman@Sun.COM) for tls@ietf.org; Thu,
	06 Sep 2007 13:47:32 -0600 (MDT)
Received: from [10.1.110.5]
	(24-205-138-209.dhcp.psdn.ca.charter.com [24.205.138.209])
	by mail-amer.sun.com
	(Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
	with ESMTPSA id <0JNY00HT8PMQGL20@mail-amer.sun.com> for tls@ietf.org;
	Thu, 06 Sep 2007 13:47:17 -0600 (MDT)
Date: Thu, 06 Sep 2007 12:48:09 -0700
From: Chris Newman <Chris.Newman@Sun.COM>
To: tls@ietf.org
Message-id: <46531FFA79FDBFFC04403B38@[10.0.1.3]>
MIME-version: 1.0
X-Mailer: Mulberry/3.1.6 (Mac OS X)
Content-type: text/plain; format=flowed; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-Spam-Score: -1.0 (-)
X-Scan-Signature: 8abaac9e10c826e8252866cbe6766464
Cc: 
Subject: [TLS] Application state binding with TLS session state
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

During IESG review of draft-salowey-tls-rfc4507bis, I raised this issue:

---
If an application performs user-level authentication subsequent to
initiation of the TLS tunnel (e.g. via GSSAPI or SASL), it would be
possible for the application to trigger a TLS-level renegotiation that
includes a NewSessionTicket embedding information about the app-level
authentication.  Alternatively, the application could have a mechanism
to bind the user-level authentication to a given session ticket
(although this would involve server state).  Then on re-connection,
the application could use app-level mechanisms to automatically resume
the user session (e.g. IMAP PREAUTH or SASL EXTERNAL).  It's not clear
to me if this is a good/bad idea, what the security risks would be, or
if TLS stacks should be advised to include APIs to facilitate such use
of the mechanism.  This document is silent on such interaction with
applications.  Were this a first version, I'd ask for this issue to be
considered and addressed if there was consensus.  But I don't want to
delay an obvious bugfix to an already published RFC.
---

We felt this issue would require significant WG discussion to address and it 
was more important to get the 4507 bugfix out promptly.

However, I do want the working group to consider this and decide what to do 
about it.  As there's a general issue of binding application state to a TLS 
session, some text in the TLS 1.2 specification addressing this might be 
appropriate.

What do others think about this topic?

                - Chris


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 07 05:38:59 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1ITaGn-0008BB-GF; Fri, 07 Sep 2007 05:36:57 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1ITaGl-00081y-MT
	for tls@ietf.org; Fri, 07 Sep 2007 05:36:55 -0400
Received: from smtp.nokia.com ([131.228.20.172] helo=mgw-ext13.nokia.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1ITaGk-0003r1-7T
	for tls@ietf.org; Fri, 07 Sep 2007 05:36:55 -0400
Received: from esebh107.NOE.Nokia.com (esebh107.ntc.nokia.com [172.21.143.143])
	by mgw-ext13.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id
	l879amYK001278; Fri, 7 Sep 2007 12:36:49 +0300
Received: from esebh103.NOE.Nokia.com ([172.21.143.33]) by
	esebh107.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 7 Sep 2007 12:36:24 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh103.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 7 Sep 2007 12:36:24 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] Application state binding with TLS session state
Date: Fri, 7 Sep 2007 12:36:24 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24048B0E06@esebe105.NOE.Nokia.com>
In-Reply-To: <46531FFA79FDBFFC04403B38@[10.0.1.3]>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Application state binding with TLS session state
Thread-Index: AcfwvtTNlyvO/yB6RMeu+JYXClm4kgAcSa9Q
References: <46531FFA79FDBFFC04403B38@[10.0.1.3]>
From: <Pasi.Eronen@nokia.com>
To: <Chris.Newman@Sun.COM>, <tls@ietf.org>
X-OriginalArrivalTime: 07 Sep 2007 09:36:24.0469 (UTC)
	FILETIME=[8E7EEC50:01C7F132]
X-Nokia-AV: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f607d15ccc2bc4eaf3ade8ffa8af02a0
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Binding of application state to TLS session applies not only=20
to 4507bis, but ordinary TLS session resumption as well.

Current TLS implementations usually have some kind of APIs that=20
allow applications to store application-specific data in the TLS=20
session cache entry (e.g., SSL_SESSION_set_ex_data() in OpenSSL=20
and SSLSession.putValue() in Java JSSE), but this is not really
mentioned anywhere in the TLS RFCs.

As long as this is purely a local implementation detail, maybe=20
it even doesn't need to be mentioned in protocol standards...
But if some application protocols would start assuming that
this feature exists (in a way that has to be implemented in TLS
layer, and can't be implemented by the application calling TLS),
then things become more complicated...

Best regards,
Pasi

> -----Original Message-----
> From: ext Chris Newman [mailto:Chris.Newman@Sun.COM]=20
> Sent: 06 September, 2007 22:48
> To: tls@ietf.org
> Subject: [TLS] Application state binding with TLS session state
>=20
> During IESG review of draft-salowey-tls-rfc4507bis, I raised=20
> this issue:
>=20
> ---
> If an application performs user-level authentication subsequent to
> initiation of the TLS tunnel (e.g. via GSSAPI or SASL), it would be
> possible for the application to trigger a TLS-level renegotiation
> that includes a NewSessionTicket embedding information about the
> app-level authentication.  Alternatively, the application could have
> a mechanism to bind the user-level authentication to a given session
> ticket (although this would involve server state).  Then on
> re-connection, the application could use app-level mechanisms to
> automatically resume the user session (e.g. IMAP PREAUTH or SASL
> EXTERNAL).  It's not clear to me if this is a good/bad idea, what
> the security risks would be, or if TLS stacks should be advised to
> include APIs to facilitate such use of the mechanism.  This document
> is silent on such interaction with applications.  Were this a first
> version, I'd ask for this issue to be considered and addressed if
> there was consensus.  But I don't want to delay an obvious bugfix to
> an already published RFC.
> ---
>=20
> We felt this issue would require significant WG discussion to
> address and it was more important to get the 4507 bugfix out
> promptly.
>=20
> However, I do want the working group to consider this and decide
> what to do about it.  As there's a general issue of binding
> application state to a TLS session, some text in the TLS 1.2
> specification addressing this might be appropriate.

>=20
> What do others think about this topic?
>=20
>                 - Chris

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 07 12:57:22 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1ITh7G-00074W-Vy; Fri, 07 Sep 2007 12:55:34 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1ITh7G-00072r-Jp
	for tls@ietf.org; Fri, 07 Sep 2007 12:55:34 -0400
Received: from [209.213.211.195] (helo=delta.rtfm.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1ITh7F-0005zn-Au
	for tls@ietf.org; Fri, 07 Sep 2007 12:55:34 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 2256833C21;
	Fri,  7 Sep 2007 09:52:13 -0700 (PDT)
Date: Fri, 07 Sep 2007 09:52:13 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: <Pasi.Eronen@nokia.com>
Subject: Re: [TLS] TLS 1.2 hash agility
In-Reply-To: <B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070907165213.2256833C21@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: bb8f917bb6b8da28fc948aeffb74aa17
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Thu, 9 Aug 2007 12:34:07 +0300,
<Pasi.Eronen@nokia.com> wrote:
> 
> Mike (mike-list@pobox.com) wrote:
> 
> > I think the solution we need is to specifically list each supported
> > signature algorithm, e.g.
> > 
> >      enum {
> >        rsa_with_md5(0),    rsa_with_sha1(1),
> >        rsa_with_sha256(2), rsa_with_sha384(3),
> >        rsa_with_sha512(4), dsa_with_sha1(5),
> >        (65535)
> >      };
> > 
> > These may not be specific enough, as I've seen suggestions for,
> > e.g. rsa_pkcs1v1_5_with_sha1, and I've heard that some algorithms
> > need parameters, but I think I've made my point.
> 
> I think your suggestion looks good; it seems to handle the DSA and
> ECDSA cases better than just a list of hashes, and it's more
> in TLS style than sending DER-encoded AlgorithmIdentifiers. 
> And then we could change Signature structure to
> 
>    struct {
>       SignatureAlgorithm signature_algorithm;
>       opaque signature_value<0..2^16-1>;
>    } Signature;  
> 
> Eric, what's your opinion?

This seems superficially reasonable. I'll try to cram it into
the new version and see if it causes trouble.

-Ekr

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 07 15:51:47 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1ITjq0-0002Xa-Ju; Fri, 07 Sep 2007 15:49:56 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1ITjpz-0002Wc-Q2
	for tls@ietf.org; Fri, 07 Sep 2007 15:49:55 -0400
Received: from [209.213.211.195] (helo=delta.rtfm.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1ITjpz-0006ac-DO
	for tls@ietf.org; Fri, 07 Sep 2007 15:49:55 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id D9B6C33C21;
	Fri,  7 Sep 2007 12:46:34 -0700 (PDT)
Date: Fri, 07 Sep 2007 12:46:34 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: <Pasi.Eronen@nokia.com>
Subject: Re: [TLS] Application state binding with TLS session state
In-Reply-To: <B356D8F434D20B40A8CEDAEC305A1F24048B0E06@esebe105.NOE.Nokia.com>
References: <46531FFA79FDBFFC04403B38@[10.0.1.3]>
	<B356D8F434D20B40A8CEDAEC305A1F24048B0E06@esebe105.NOE.Nokia.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070907194634.D9B6C33C21@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: bb8f917bb6b8da28fc948aeffb74aa17
Cc: Chris.Newman@Sun.COM, tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Fri, 7 Sep 2007 12:36:24 +0300,
<Pasi.Eronen@nokia.com> wrote:
> 
> Binding of application state to TLS session applies not only 
> to 4507bis, but ordinary TLS session resumption as well.
> 
> Current TLS implementations usually have some kind of APIs that 
> allow applications to store application-specific data in the TLS 
> session cache entry (e.g., SSL_SESSION_set_ex_data() in OpenSSL 
> and SSLSession.putValue() in Java JSSE), but this is not really
> mentioned anywhere in the TLS RFCs.
> 
> As long as this is purely a local implementation detail, maybe 
> it even doesn't need to be mentioned in protocol standards...
> But if some application protocols would start assuming that
> this feature exists (in a way that has to be implemented in TLS
> layer, and can't be implemented by the application calling TLS),
> then things become more complicated...

Pasi's assessment looks right to me as well.

- This can only be used for soft state, because neither client or
  server is required to offer/accept resumption.
- This doesn't affect the wire protocol at all for ordinary resumption.
- RFC 4507 resumption does affect the wire protocol in the sense
  that the tickets change, but since they're opaque the client
  does not need to understand the ticket, so it should be 
  interoperable in either case.
- No stack support is actually required with ordinary resumption 
  because the app can simply store its own data keyed by the
  session ID.
- Stack support is required with 4507-style resumption, because
  the data has to be stored in the ticket.

-Ekr

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Tue Sep 11 04:25:21 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IV11p-0000ZC-VW; Tue, 11 Sep 2007 04:23:25 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IV11o-0000Z2-CF
	for tls@lists.ietf.org; Tue, 11 Sep 2007 04:23:24 -0400
Received: from yxa.extundo.com ([83.241.177.38])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IV11m-0002mk-49
	for tls@lists.ietf.org; Tue, 11 Sep 2007 04:23:24 -0400
Received: from mocca.josefsson.org (yxa.extundo.com [83.241.177.38])
	(authenticated bits=0)
	by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id
	l8B8LTrt020496
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <tls@lists.ietf.org>; Tue, 11 Sep 2007 10:21:52 +0200
X-Hashcash: 1:22:070911:tls@lists.ietf.org::0IEIn65OLGTYBFSQ:eynC
From: Simon Josefsson <simon@josefsson.org>
To: tls@lists.ietf.org
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
Date: Tue, 11 Sep 2007 10:21:29 +0200
Message-ID: <87bqc9k3xy.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00,
	FORGED_RCVD_HELO,SPF_PASS autolearn=unavailable version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on yxa-iv
X-Virus-Scanned: ClamAV version 0.88.2,
	clamav-milter version 0.88.2 on yxa.extundo.com
X-Virus-Status: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9a2be21919e71dc6faef12b370c4ecf5
Subject: [TLS] Review of draft-santesson-tls-gssapi-03
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Hi.  We'd like to support GSS-API user authentication in GnuTLS.  I
don't care strongly about which approach to use to achieve that goal.
I've seen several drafts that could work, and believe it is important
that we reach consensus on one approach or we'll have different
approaches deployed soon.  I reviewed this draft since it appears to be
the most recent one still being worked on.  Generally I believe the
document looks good.

1) One major concern I have is that section 6 specifies a new GSS-API
mechanism that appear to be mostly unrelated the specification of the
gss_api TLS extension.  I believe it would simplify things considerably
if this section was moved to a separate document.  The GSS-API mechanism
is unlikely to be implemented by a TLS library, and is thus not within
the scope of the TLS WG.  Frankly, I'm not convinced it is useful to
have that GSS-API mechanism on the standards track in the IETF.  The
document says:

   It is possible to design a GSS-API mechanism that can be used with
   FKA-TLS in order to, for example, provide client authentication, and
   is so weak that its GSS- API token MUST NOT be in clear text over the
   open network.  A good example is a GSS-API mechanism that implements
   basic authentication.  Although such mechanisms are unlikely to be
   standardized and will be encouraged in no circumstance, they exist
   for practical reasons.

If that is indeed the only motivation for section 6, I strongly believe
it doesn't belong in this document.

Further, section 6 seems to be underspecified and needs more work.  For
example, there is no discussion how the inner TLS channel is terminated.
I didn't write down all my concerns with the mechanism.  If it brought
back as a separate draft, I may review that.

2) Section 5 disallows use of client X.509 authentication when the
gss_api extension is used.  I see no reason to actively disallow X.509
client authentication.  There may be situations where it is desirable to
use both X.509 authentication and some GSS-API mechanism, e.g., for
two-factor authentication.

3) Section 3 contains:

   Initially the client computes the gss_api TLS extension data by
   calling GSS_Init_sec_context() [RFC2743] to establish a security
   context.  The TLS client MUST set the mutual_req_flag and identify
   the server by targ_name so that mutual authentication is performed in
   the course of context establishment.  The extension_data from the
   client contains the output token of GSS_Init_sec_context().

   If a GSS-API context cannot be established, the gss_api TLS extension
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   MUST NOT be included in the client hello message and it is a matter
   of local policy on the client whether to continue or reject the TLS
   authentication as if the gss_api TLS extension is not supported.

   If the mutual authentication is not available on the established GSS-
                                                        ^^^^^^^^^^^^^^^^
   API context, the PSK key exchange described in Section 2 of [RFC4279]
   ^^^^^^^^^^^
   MUST NOT be selected, and the DHE_PSK or RSA_PSK key exchange MUST be
   negotiated instead in order to authenticate the server.

Here it is unclear to me what is meant by "established GSS-API context".
The first call to gss_init_sec_context does generally not lead to an
established context, several invocations to that function may be
necessary to get an established context.  Similarly, the mutual
authentication output flag from GSS_Init_sec_context cannot be relied on
until the context has been established.

What is intended here?  Does the middle paragraph refer to the situation
where the initial call to GSS_Init_sec_context fails completely?  And
the final paragraph refer to the situation where the call to
GSS_Init_sec_context succeeds and a security context is established, but
the mutual authentication flag not asserted?  If my understanding is
correct, I can suggest better wordings here.

Section 3 also says:

   o  If the server key exchange message is present, the PSK identity
      hint as defined in Section 5.2 of [RFC4279] MUST be empty, and it
      MUST be ignored by the client.

I see no reason for the client to ignore this?  If the server MUST send
an empty PSK identity, the client should reject anything else.
Alternatively, change the MUST to SHOULD if there are situations where
the PSK identity will not be empty.

4) The definition of the data structure for the gss_api extension data
appear to be missing from the document.  I assume it is identical to the
TokenTransfer structure?  I suggest adding a note describing this where
the gss_api ExtensionType is described.

5) Does the wire protocol differentiate between GSS_S_CONTINUE_NEEDED
and GSS_S_COMPLETE?  I'm thinking if the initial GSS_Init_sec_context
call returns GSS_S_COMPLETE.  The server will call
GSS_Accept_sec_context which shouldn't return any data.  The server
sends back a 0b string.  How can the client differentiate this from when
GSS_Accept_sec_context returned GSS_S_CONTINUE_NEEDED?  Perhaps the
answer is that the client simply disconnect in this situation, but maybe
that has to be noted.

6) What purpose does the TokenTransferType serve?  It is never discussed
in the text.  It appears to be designed to allow non-GSS-API tokens in
the future.  I don't think that would be a good idea.  I would prefer
that the TokenTransferType was dropped from the document.

/Simon

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Tue Sep 11 20:26:09 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IVG1Y-0002IR-Rh; Tue, 11 Sep 2007 20:24:08 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IVG1X-0002IM-MS
	for tls@lists.ietf.org; Tue, 11 Sep 2007 20:24:07 -0400
Received: from smtp.microsoft.com ([131.107.115.214])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IVG1W-0002lE-8I
	for tls@lists.ietf.org; Tue, 11 Sep 2007 20:24:07 -0400
Received: from tk1-exhub-c101.redmond.corp.microsoft.com (157.56.116.111) by
	TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with
	Microsoft
	SMTP Server (TLS) id 8.1.177.2; Tue, 11 Sep 2007 17:24:05 -0700
Received: from tk5-exmlt-w601.wingroup.windeploy.ntdev.microsoft.com
	(157.54.70.16) by tk1-exhub-c101.redmond.corp.microsoft.com
	(157.56.116.111)
	with Microsoft SMTP Server id 8.1.177.1; Tue, 11 Sep 2007 17:24:05 -0700
Received: from NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com
	([fe80::5efe:10.255.255.2]) by
	tk5-exmlt-w601.wingroup.windeploy.ntdev.microsoft.com
	([fe80::200:5efe:157.54.70.16%15]) with mapi;
	Tue, 11 Sep 2007 17:24:04 -0700
From: Larry Zhu <lzhu@windows.microsoft.com>
To: Simon Josefsson <simon@josefsson.org>, "tls@lists.ietf.org"
	<tls@lists.ietf.org>
Date: Tue, 11 Sep 2007 17:24:03 -0700
Subject: RE: [TLS] Review of draft-santesson-tls-gssapi-03
Thread-Topic: [TLS] Review of draft-santesson-tls-gssapi-03
Thread-Index: Acf0TRQyYL2+3cPPQUalX153R1CERQAgaB+Q
Message-ID: <B78121AEC3DFC949BF5080E7BCDD79F49BB7915A39@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
References: <87bqc9k3xy.fsf@mocca.josefsson.org>
In-Reply-To: <87bqc9k3xy.fsf@mocca.josefsson.org>
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-Spam-Score: -108.0 (---------------------------------------------------)
X-Scan-Signature: 27ec2ff0f5c3b18b49c722f4f1748838
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Simon Josefsson wrote:
> We'd like to support GSS-API user authentication in GnuTLS.

This is great to hear. Thanks for posting the message to the list.

>  Generally I believe the
> document looks good.

Thanks for the positive feedback.

> 1) One major concern I have is that section 6 specifies a new GSS-API
> mechanism that appear to be mostly unrelated the specification of the
> gss_api TLS extension.

This was added to address Martin's comments. I had offline email with Marti=
n, Sam, and Pasi, in which I proposed
to use TLS-renegotiation to replace section 6. In other words, section 6 is=
 completely removed in -04, with the following new text added in the sectio=
n related to how to choose a GSS mechanism.


   It is generally beneficial to provide privacy protection for
   mechanisms that send client identifiers in the clear.  Furthermore,
   encrypting the GSS-API data can improve the strength of the overall
   systems, and when applicable complicate offline dictionary attacks
   against users' secrets based on which the keying materials are
   derived.  Therefore unless otherwise specified, TLS-renegotiation as
   defined in section 7.4.1.1 of [RFC4346] MUST be used to encrypt the
   GSS data in FXA-TLS gss_api extension.  This implies that the client
   and server negotiate FKA-TLS after completing a certificate-based
   TLS-handshake, typically to facilitate client authentication.

> What is intended here?  Does the middle paragraph refer to the situation
> where the initial call to GSS_Init_sec_context fails completely?  And
> the final paragraph refer to the situation where the call to
> GSS_Init_sec_context succeeds and a security context is established, but
> the mutual authentication flag not asserted?  If my understanding is
> correct, I can suggest better wordings here.

I can see the confusion in the original text. What do you think of the upda=
ted text for this here?


   Initially the client computes the gss_api TLS extension data by
   calling GSS_Init_sec_context() [RFC2743] to establish a security
   context.  The TLS client MUST set the mutual_req_flag and identify
   the server by targ_name so that mutual authentication is performed in
   the course of context establishment.  The extension_data from the
   client contains the output token of GSS_Init_sec_context().

   If a GSS-API context cannot be established, the gss_api TLS extension
   MUST NOT be included in the client hello message and it is a matter
   of local policy on the client whether to continue or reject the TLS
   authentication.

   Unless otherwise specified, the PSK key exchange described in Section
   2 of [RFC4279] MUST NOT be selected if the mutual authentication MAY
   NOT be available on the established GSS-API context, and the DHE_PSK
   or RSA_PSK key exchange MUST be negotiated instead in order to
   authenticate the server.  Because mutual authentication (if
   requested) cannot be guaranteed until GSS_S_COMPLETE is returned,
   typically through multiple invocations of GSS_Init_sec_context()
   calls, the PSK key exchange is allowed only through additional
   specifications unless the server authentication is provided a-priori
   and outside of the GSS-API exchange.  For example, when FKA-TLS
   is negotiated via TLS-renegotiation per Section 5, the server
   authentication may be provided before the initial GSS-API context
   establishment token.

the motivation of this text is to allow PSK key exchange to be used when Ke=
rberos is selected.
We are trying to build a mechanism that does not use certifications, and GS=
S-API does not guarantee mutual auth in the first init call as you noted, h=
ence we had the awkward text. Now do you think you understand the intention=
 of this text?

> Section 3 also says:

>   o  If the server key exchange message is present, the PSK identity
>      hint as defined in Section 5.2 of [RFC4279] MUST be empty, and it
>      MUST be ignored by the client.

> I see no reason for the client to ignore this?  If the server MUST send
> an empty PSK identity, the client should reject anything else.
> Alternatively, change the MUST to SHOULD if there are situations where
> the PSK identity will not be empty.

It is fine to change the MUST to SHOULD. That is in-line with the IETF tene=
t that the original text intends to describe.

> 4) The definition of the data structure for the gss_api extension data
> appear to be missing from the document.  I assume it is identical to the
> TokenTransfer structure?  I suggest adding a note describing this where
> the gss_api ExtensionType is described.

I suspect that the confusion here is related to the use of the TLS type opa=
que. I would rephrase the original text as follows:

   The gss_api TLS extension is defined according to [RFC3546].  The
   extension data for the gss_api extension type contains a GSS-API context=
 establishment token.
  GSS-API tokens are thus carried within the TLS hello messages.


     enum {
         gss_api(54321), (65535)
     } ExtensionType;

   The payload of the gss_api extension is an GSS-API token.  In other
   words, the length of the byte vector (the TLS type opaque) for the exten=
sion data is the
   length of the GSS-API token and the content of the byte vector
   contains exactly the content of the GSS-API token.

do you think this is better? Thanks.

> 5) Does the wire protocol differentiate between GSS_S_CONTINUE_NEEDED
> and GSS_S_COMPLETE?  I'm thinking if the initial GSS_Init_sec_context
> call returns GSS_S_COMPLETE.  The server will call
> GSS_Accept_sec_context which shouldn't return any data.  The server
> sends back a 0b string.  How can the client differentiate this from when
> GSS_Accept_sec_context returned GSS_S_CONTINUE_NEEDED?  Perhaps the
> answer is that the client simply disconnect in this situation, but maybe
> that has to be noted.

A note is added as follows:

   As implied by GSS-API, a GSS-API token SHOULD NOT be received after
   the context is established (GSS_S_COMPLETE is returned), the receiver
   MUST tear down the connection in this case.

> 6) What purpose does the TokenTransferType serve?  It is never discussed
> in the text.  It appears to be designed to allow non-GSS-API tokens in
> the future.  I don't think that would be a good idea.  I would prefer
> that the TokenTransferType was dropped from the document.

The following text is added:

   The TokenTransferType field allows future extensions of the
   TokenTransfer handshake message.  The gss_api_token type is the only
   value defiend in this document.

The motivation is that the # of handshake messages is perceived as limited.=
 Here by adding the
TokenTransferType field, we effectively add 254 new handshake messages to t=
he TLS protocol. One should be frugal when the resources are plenty, should=
n't she?

--larry


-----Original Message-----
From: Simon Josefsson [mailto:simon@josefsson.org]
Sent: Tuesday, September 11, 2007 1:21 AM
To: tls@lists.ietf.org
Subject: [TLS] Review of draft-santesson-tls-gssapi-03

Hi.  We'd like to support GSS-API user authentication in GnuTLS.  I
don't care strongly about which approach to use to achieve that goal.
I've seen several drafts that could work, and believe it is important
that we reach consensus on one approach or we'll have different
approaches deployed soon.  I reviewed this draft since it appears to be
the most recent one still being worked on.  Generally I believe the
document looks good.

1) One major concern I have is that section 6 specifies a new GSS-API
mechanism that appear to be mostly unrelated the specification of the
gss_api TLS extension.  I believe it would simplify things considerably
if this section was moved to a separate document.  The GSS-API mechanism
is unlikely to be implemented by a TLS library, and is thus not within
the scope of the TLS WG.  Frankly, I'm not convinced it is useful to
have that GSS-API mechanism on the standards track in the IETF.  The
document says:

   It is possible to design a GSS-API mechanism that can be used with
   FKA-TLS in order to, for example, provide client authentication, and
   is so weak that its GSS- API token MUST NOT be in clear text over the
   open network.  A good example is a GSS-API mechanism that implements
   basic authentication.  Although such mechanisms are unlikely to be
   standardized and will be encouraged in no circumstance, they exist
   for practical reasons.

If that is indeed the only motivation for section 6, I strongly believe
it doesn't belong in this document.

Further, section 6 seems to be underspecified and needs more work.  For
example, there is no discussion how the inner TLS channel is terminated.
I didn't write down all my concerns with the mechanism.  If it brought
back as a separate draft, I may review that.

2) Section 5 disallows use of client X.509 authentication when the
gss_api extension is used.  I see no reason to actively disallow X.509
client authentication.  There may be situations where it is desirable to
use both X.509 authentication and some GSS-API mechanism, e.g., for
two-factor authentication.

3) Section 3 contains:

   Initially the client computes the gss_api TLS extension data by
   calling GSS_Init_sec_context() [RFC2743] to establish a security
   context.  The TLS client MUST set the mutual_req_flag and identify
   the server by targ_name so that mutual authentication is performed in
   the course of context establishment.  The extension_data from the
   client contains the output token of GSS_Init_sec_context().

   If a GSS-API context cannot be established, the gss_api TLS extension
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   MUST NOT be included in the client hello message and it is a matter
   of local policy on the client whether to continue or reject the TLS
   authentication as if the gss_api TLS extension is not supported.

   If the mutual authentication is not available on the established GSS-
                                                        ^^^^^^^^^^^^^^^^
   API context, the PSK key exchange described in Section 2 of [RFC4279]
   ^^^^^^^^^^^
   MUST NOT be selected, and the DHE_PSK or RSA_PSK key exchange MUST be
   negotiated instead in order to authenticate the server.

Here it is unclear to me what is meant by "established GSS-API context".
The first call to gss_init_sec_context does generally not lead to an
established context, several invocations to that function may be
necessary to get an established context.  Similarly, the mutual
authentication output flag from GSS_Init_sec_context cannot be relied on
until the context has been established.

What is intended here?  Does the middle paragraph refer to the situation
where the initial call to GSS_Init_sec_context fails completely?  And
the final paragraph refer to the situation where the call to
GSS_Init_sec_context succeeds and a security context is established, but
the mutual authentication flag not asserted?  If my understanding is
correct, I can suggest better wordings here.

Section 3 also says:

   o  If the server key exchange message is present, the PSK identity
      hint as defined in Section 5.2 of [RFC4279] MUST be empty, and it
      MUST be ignored by the client.

I see no reason for the client to ignore this?  If the server MUST send
an empty PSK identity, the client should reject anything else.
Alternatively, change the MUST to SHOULD if there are situations where
the PSK identity will not be empty.

4) The definition of the data structure for the gss_api extension data
appear to be missing from the document.  I assume it is identical to the
TokenTransfer structure?  I suggest adding a note describing this where
the gss_api ExtensionType is described.

5) Does the wire protocol differentiate between GSS_S_CONTINUE_NEEDED
and GSS_S_COMPLETE?  I'm thinking if the initial GSS_Init_sec_context
call returns GSS_S_COMPLETE.  The server will call
GSS_Accept_sec_context which shouldn't return any data.  The server
sends back a 0b string.  How can the client differentiate this from when
GSS_Accept_sec_context returned GSS_S_CONTINUE_NEEDED?  Perhaps the
answer is that the client simply disconnect in this situation, but maybe
that has to be noted.

6) What purpose does the TokenTransferType serve?  It is never discussed
in the text.  It appears to be designed to allow non-GSS-API tokens in
the future.  I don't think that would be a good idea.  I would prefer
that the TokenTransferType was dropped from the document.

/Simon

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Tue Sep 11 22:58:12 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IVIOq-0005RN-Dv; Tue, 11 Sep 2007 22:56:20 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IVIOo-0005RI-TB
	for tls@lists.ietf.org; Tue, 11 Sep 2007 22:56:18 -0400
Received: from mail3.microsoft.com ([131.107.115.214] helo=smtp.microsoft.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IVIOn-0004pG-Ft
	for tls@lists.ietf.org; Tue, 11 Sep 2007 22:56:18 -0400
Received: from tk1-exhub-c104.redmond.corp.microsoft.com (157.56.116.117) by
	TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with
	Microsoft
	SMTP Server (TLS) id 8.1.177.2; Tue, 11 Sep 2007 19:56:16 -0700
Received: from tk5-exmlt-w602.wingroup.windeploy.ntdev.microsoft.com
	(157.54.70.14) by tk1-exhub-c104.redmond.corp.microsoft.com
	(157.56.116.117)
	with Microsoft SMTP Server id 8.1.177.1; Tue, 11 Sep 2007 19:56:16 -0700
Received: from NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com
	([fe80::5efe:10.255.255.2]) by
	tk5-exmlt-w602.wingroup.windeploy.ntdev.microsoft.com ([::1]) with mapi;
	Tue, 11 Sep 2007 19:56:16 -0700
From: Larry Zhu <lzhu@windows.microsoft.com>
To: Simon Josefsson <simon@josefsson.org>, "tls@lists.ietf.org"
	<tls@lists.ietf.org>
Date: Tue, 11 Sep 2007 19:56:16 -0700
Subject: RE: [TLS] Review of draft-santesson-tls-gssapi-03
Thread-Topic: [TLS] Review of draft-santesson-tls-gssapi-03
Thread-Index: Acf0TRQyYL2+3cPPQUalX153R1CERQAgaB+QAAZrsjA=
Message-ID: <B78121AEC3DFC949BF5080E7BCDD79F49BB7915B66@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
References: <87bqc9k3xy.fsf@mocca.josefsson.org>
	<B78121AEC3DFC949BF5080E7BCDD79F49BB7915A39@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
In-Reply-To: <B78121AEC3DFC949BF5080E7BCDD79F49BB7915A39@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.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-Spam-Score: -108.0 (---------------------------------------------------)
X-Scan-Signature: 7c1a129dc3801d79d40c5ca8dee767eb
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Note that -04 is available here: http://www.secure-endpoints.com/tls-gss/dr=
aft-santesson-tls-gssapi-04.txt.

Thanks,

--larry

-----Original Message-----
From: Larry Zhu
Sent: Tuesday, September 11, 2007 5:24 PM
To: Simon Josefsson; tls@lists.ietf.org
Subject: RE: [TLS] Review of draft-santesson-tls-gssapi-03

Simon Josefsson wrote:
> We'd like to support GSS-API user authentication in GnuTLS.

This is great to hear. Thanks for posting the message to the list.

>  Generally I believe the
> document looks good.

Thanks for the positive feedback.

> 1) One major concern I have is that section 6 specifies a new GSS-API
> mechanism that appear to be mostly unrelated the specification of the
> gss_api TLS extension.

This was added to address Martin's comments. I had offline email with Marti=
n, Sam, and Pasi, in which I proposed
to use TLS-renegotiation to replace section 6. In other words, section 6 is=
 completely removed in -04, with the following new text added in the sectio=
n related to how to choose a GSS mechanism.


   It is generally beneficial to provide privacy protection for
   mechanisms that send client identifiers in the clear.  Furthermore,
   encrypting the GSS-API data can improve the strength of the overall
   systems, and when applicable complicate offline dictionary attacks
   against users' secrets based on which the keying materials are
   derived.  Therefore unless otherwise specified, TLS-renegotiation as
   defined in section 7.4.1.1 of [RFC4346] MUST be used to encrypt the
   GSS data in FXA-TLS gss_api extension.  This implies that the client
   and server negotiate FKA-TLS after completing a certificate-based
   TLS-handshake, typically to facilitate client authentication.

> What is intended here?  Does the middle paragraph refer to the situation
> where the initial call to GSS_Init_sec_context fails completely?  And
> the final paragraph refer to the situation where the call to
> GSS_Init_sec_context succeeds and a security context is established, but
> the mutual authentication flag not asserted?  If my understanding is
> correct, I can suggest better wordings here.

I can see the confusion in the original text. What do you think of the upda=
ted text for this here?


   Initially the client computes the gss_api TLS extension data by
   calling GSS_Init_sec_context() [RFC2743] to establish a security
   context.  The TLS client MUST set the mutual_req_flag and identify
   the server by targ_name so that mutual authentication is performed in
   the course of context establishment.  The extension_data from the
   client contains the output token of GSS_Init_sec_context().

   If a GSS-API context cannot be established, the gss_api TLS extension
   MUST NOT be included in the client hello message and it is a matter
   of local policy on the client whether to continue or reject the TLS
   authentication.

   Unless otherwise specified, the PSK key exchange described in Section
   2 of [RFC4279] MUST NOT be selected if the mutual authentication MAY
   NOT be available on the established GSS-API context, and the DHE_PSK
   or RSA_PSK key exchange MUST be negotiated instead in order to
   authenticate the server.  Because mutual authentication (if
   requested) cannot be guaranteed until GSS_S_COMPLETE is returned,
   typically through multiple invocations of GSS_Init_sec_context()
   calls, the PSK key exchange is allowed only through additional
   specifications unless the server authentication is provided a-priori
   and outside of the GSS-API exchange.  For example, when FKA-TLS
   is negotiated via TLS-renegotiation per Section 5, the server
   authentication may be provided before the initial GSS-API context
   establishment token.

the motivation of this text is to allow PSK key exchange to be used when Ke=
rberos is selected.
We are trying to build a mechanism that does not use certifications, and GS=
S-API does not guarantee mutual auth in the first init call as you noted, h=
ence we had the awkward text. Now do you think you understand the intention=
 of this text?

> Section 3 also says:

>   o  If the server key exchange message is present, the PSK identity
>      hint as defined in Section 5.2 of [RFC4279] MUST be empty, and it
>      MUST be ignored by the client.

> I see no reason for the client to ignore this?  If the server MUST send
> an empty PSK identity, the client should reject anything else.
> Alternatively, change the MUST to SHOULD if there are situations where
> the PSK identity will not be empty.

It is fine to change the MUST to SHOULD. That is in-line with the IETF tene=
t that the original text intends to describe.

> 4) The definition of the data structure for the gss_api extension data
> appear to be missing from the document.  I assume it is identical to the
> TokenTransfer structure?  I suggest adding a note describing this where
> the gss_api ExtensionType is described.

I suspect that the confusion here is related to the use of the TLS type opa=
que. I would rephrase the original text as follows:

   The gss_api TLS extension is defined according to [RFC3546].  The
   extension data for the gss_api extension type contains a GSS-API context=
 establishment token.
  GSS-API tokens are thus carried within the TLS hello messages.


     enum {
         gss_api(54321), (65535)
     } ExtensionType;

   The payload of the gss_api extension is an GSS-API token.  In other
   words, the length of the byte vector (the TLS type opaque) for the exten=
sion data is the
   length of the GSS-API token and the content of the byte vector
   contains exactly the content of the GSS-API token.

do you think this is better? Thanks.

> 5) Does the wire protocol differentiate between GSS_S_CONTINUE_NEEDED
> and GSS_S_COMPLETE?  I'm thinking if the initial GSS_Init_sec_context
> call returns GSS_S_COMPLETE.  The server will call
> GSS_Accept_sec_context which shouldn't return any data.  The server
> sends back a 0b string.  How can the client differentiate this from when
> GSS_Accept_sec_context returned GSS_S_CONTINUE_NEEDED?  Perhaps the
> answer is that the client simply disconnect in this situation, but maybe
> that has to be noted.

A note is added as follows:

   As implied by GSS-API, a GSS-API token SHOULD NOT be received after
   the context is established (GSS_S_COMPLETE is returned), the receiver
   MUST tear down the connection in this case.

> 6) What purpose does the TokenTransferType serve?  It is never discussed
> in the text.  It appears to be designed to allow non-GSS-API tokens in
> the future.  I don't think that would be a good idea.  I would prefer
> that the TokenTransferType was dropped from the document.

The following text is added:

   The TokenTransferType field allows future extensions of the
   TokenTransfer handshake message.  The gss_api_token type is the only
   value defiend in this document.

The motivation is that the # of handshake messages is perceived as limited.=
 Here by adding the
TokenTransferType field, we effectively add 254 new handshake messages to t=
he TLS protocol. One should be frugal when the resources are plenty, should=
n't she?

--larry


-----Original Message-----
From: Simon Josefsson [mailto:simon@josefsson.org]
Sent: Tuesday, September 11, 2007 1:21 AM
To: tls@lists.ietf.org
Subject: [TLS] Review of draft-santesson-tls-gssapi-03

Hi.  We'd like to support GSS-API user authentication in GnuTLS.  I
don't care strongly about which approach to use to achieve that goal.
I've seen several drafts that could work, and believe it is important
that we reach consensus on one approach or we'll have different
approaches deployed soon.  I reviewed this draft since it appears to be
the most recent one still being worked on.  Generally I believe the
document looks good.

1) One major concern I have is that section 6 specifies a new GSS-API
mechanism that appear to be mostly unrelated the specification of the
gss_api TLS extension.  I believe it would simplify things considerably
if this section was moved to a separate document.  The GSS-API mechanism
is unlikely to be implemented by a TLS library, and is thus not within
the scope of the TLS WG.  Frankly, I'm not convinced it is useful to
have that GSS-API mechanism on the standards track in the IETF.  The
document says:

   It is possible to design a GSS-API mechanism that can be used with
   FKA-TLS in order to, for example, provide client authentication, and
   is so weak that its GSS- API token MUST NOT be in clear text over the
   open network.  A good example is a GSS-API mechanism that implements
   basic authentication.  Although such mechanisms are unlikely to be
   standardized and will be encouraged in no circumstance, they exist
   for practical reasons.

If that is indeed the only motivation for section 6, I strongly believe
it doesn't belong in this document.

Further, section 6 seems to be underspecified and needs more work.  For
example, there is no discussion how the inner TLS channel is terminated.
I didn't write down all my concerns with the mechanism.  If it brought
back as a separate draft, I may review that.

2) Section 5 disallows use of client X.509 authentication when the
gss_api extension is used.  I see no reason to actively disallow X.509
client authentication.  There may be situations where it is desirable to
use both X.509 authentication and some GSS-API mechanism, e.g., for
two-factor authentication.

3) Section 3 contains:

   Initially the client computes the gss_api TLS extension data by
   calling GSS_Init_sec_context() [RFC2743] to establish a security
   context.  The TLS client MUST set the mutual_req_flag and identify
   the server by targ_name so that mutual authentication is performed in
   the course of context establishment.  The extension_data from the
   client contains the output token of GSS_Init_sec_context().

   If a GSS-API context cannot be established, the gss_api TLS extension
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   MUST NOT be included in the client hello message and it is a matter
   of local policy on the client whether to continue or reject the TLS
   authentication as if the gss_api TLS extension is not supported.

   If the mutual authentication is not available on the established GSS-
                                                        ^^^^^^^^^^^^^^^^
   API context, the PSK key exchange described in Section 2 of [RFC4279]
   ^^^^^^^^^^^
   MUST NOT be selected, and the DHE_PSK or RSA_PSK key exchange MUST be
   negotiated instead in order to authenticate the server.

Here it is unclear to me what is meant by "established GSS-API context".
The first call to gss_init_sec_context does generally not lead to an
established context, several invocations to that function may be
necessary to get an established context.  Similarly, the mutual
authentication output flag from GSS_Init_sec_context cannot be relied on
until the context has been established.

What is intended here?  Does the middle paragraph refer to the situation
where the initial call to GSS_Init_sec_context fails completely?  And
the final paragraph refer to the situation where the call to
GSS_Init_sec_context succeeds and a security context is established, but
the mutual authentication flag not asserted?  If my understanding is
correct, I can suggest better wordings here.

Section 3 also says:

   o  If the server key exchange message is present, the PSK identity
      hint as defined in Section 5.2 of [RFC4279] MUST be empty, and it
      MUST be ignored by the client.

I see no reason for the client to ignore this?  If the server MUST send
an empty PSK identity, the client should reject anything else.
Alternatively, change the MUST to SHOULD if there are situations where
the PSK identity will not be empty.

4) The definition of the data structure for the gss_api extension data
appear to be missing from the document.  I assume it is identical to the
TokenTransfer structure?  I suggest adding a note describing this where
the gss_api ExtensionType is described.

5) Does the wire protocol differentiate between GSS_S_CONTINUE_NEEDED
and GSS_S_COMPLETE?  I'm thinking if the initial GSS_Init_sec_context
call returns GSS_S_COMPLETE.  The server will call
GSS_Accept_sec_context which shouldn't return any data.  The server
sends back a 0b string.  How can the client differentiate this from when
GSS_Accept_sec_context returned GSS_S_CONTINUE_NEEDED?  Perhaps the
answer is that the client simply disconnect in this situation, but maybe
that has to be noted.

6) What purpose does the TokenTransferType serve?  It is never discussed
in the text.  It appears to be designed to allow non-GSS-API tokens in
the future.  I don't think that would be a good idea.  I would prefer
that the TokenTransferType was dropped from the document.

/Simon

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Wed Sep 12 02:27:51 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IVLfd-0002wK-Hk; Wed, 12 Sep 2007 02:25:53 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IVLfa-0002wF-K0
	for tls@lists.ietf.org; Wed, 12 Sep 2007 02:25:50 -0400
Received: from yxa.extundo.com ([83.241.177.38])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IVLfY-0007N6-R0
	for tls@lists.ietf.org; Wed, 12 Sep 2007 02:25:50 -0400
Received: from mocca.josefsson.org (yxa.extundo.com [83.241.177.38])
	(authenticated bits=0)
	by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id
	l8C6PIF7006487
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Wed, 12 Sep 2007 08:25:24 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Larry Zhu <lzhu@windows.microsoft.com>
References: <87bqc9k3xy.fsf@mocca.josefsson.org>
	<B78121AEC3DFC949BF5080E7BCDD79F49BB7915A39@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:070912:tls@lists.ietf.org::7DFyVA1z/CZdvqoP:0BwI
X-Hashcash: 1:22:070912:lzhu@windows.microsoft.com::vjA0wdXZfdSVpbXZ:3yZf
Date: Wed, 12 Sep 2007 08:25:18 +0200
In-Reply-To: <B78121AEC3DFC949BF5080E7BCDD79F49BB7915A39@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
	(Larry Zhu's message of "Tue, 11 Sep 2007 17:24:03 -0700")
Message-ID: <87abrse6y9.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00,
	FORGED_RCVD_HELO,SPF_PASS autolearn=unavailable version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on yxa-iv
X-Virus-Scanned: ClamAV version 0.88.2,
	clamav-milter version 0.88.2 on yxa.extundo.com
X-Virus-Status: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a3f7094ccc62748c06b21fcf44c073ee
Cc: "tls@lists.ietf.org" <tls@lists.ietf.org>
Subject: [TLS] Re: Review of draft-santesson-tls-gssapi-03
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Larry Zhu <lzhu@windows.microsoft.com> writes:

>> 1) One major concern I have is that section 6 specifies a new GSS-API
>> mechanism that appear to be mostly unrelated the specification of the
>> gss_api TLS extension.
>
> This was added to address Martin's comments. I had offline email with Martin, Sam, and Pasi, in which I proposed
> to use TLS-renegotiation to replace section 6. In other words, section 6 is completely removed in -04, with the following new text added in the section related to how to choose a GSS mechanism.
>
>    It is generally beneficial to provide privacy protection for
>    mechanisms that send client identifiers in the clear.  Furthermore,
>    encrypting the GSS-API data can improve the strength of the overall
>    systems, and when applicable complicate offline dictionary attacks
>    against users' secrets based on which the keying materials are
>    derived.  Therefore unless otherwise specified, TLS-renegotiation as
>    defined in section 7.4.1.1 of [RFC4346] MUST be used to encrypt the
>    GSS data in FXA-TLS gss_api extension.  This implies that the client
>    and server negotiate FKA-TLS after completing a certificate-based
>    TLS-handshake, typically to facilitate client authentication.

I like this.

This text leads to an even stronger argument for permitting X.509 client
authentication in the first authentication step.  Otherwise you are
vulnerable to tunneling attacks of the GSS-API authentication step since
there appear to be no channel binding used.

Btw, I forgot to bring up channel bindings.  Have you considered
supporting it?  It is not critical to me, I consider X.509 or OpenPGP
authentication sufficient to solve the tunnel problem.

> I can see the confusion in the original text. What do you think of the updated text for this here?
>
>
>    Initially the client computes the gss_api TLS extension data by
>    calling GSS_Init_sec_context() [RFC2743] to establish a security
>    context.  The TLS client MUST set the mutual_req_flag and identify
>    the server by targ_name so that mutual authentication is performed in
>    the course of context establishment.  The extension_data from the
>    client contains the output token of GSS_Init_sec_context().
>
>    If a GSS-API context cannot be established, the gss_api TLS extension
>    MUST NOT be included in the client hello message and it is a matter
>    of local policy on the client whether to continue or reject the TLS
>    authentication.

I like this.

>    Unless otherwise specified, the PSK key exchange described in Section
>    2 of [RFC4279] MUST NOT be selected if the mutual authentication MAY
>    NOT be available on the established GSS-API context, and the DHE_PSK
>    or RSA_PSK key exchange MUST be negotiated instead in order to
>    authenticate the server.

What does this imply in practice?  If GSS_Init_sec_context clears the
mutual_state flag after the first invocation (but before GSS_S_COMPLETE
or PROT_READY), is the client required ("MUST NOT") to not use PSK?  The
GSS-API specification says the mutual_state value is undefined in this
case, section 2.2.1 of RFC 2743:

   Not all of the optionally-requestable features will be available in
   all underlying mech_types. The corresponding return state values
   deleg_state, mutual_state, replay_det_state, and sequence_state
   indicate, as a function of mech_type processing capabilities and
   initiator-provided input flags, the set of features which will be
   active on the context.  ... These state indicators' values are
   undefined unless either the routine's major_status indicates
   GSS_S_COMPLETE, or TRUE prot_ready_state is returned along with
   GSS_S_CONTINUE_NEEDED major_status

This would lead to false positives rejecting PSK.

One solution is for implementation to only enable PSK for GSS-API
mechanisms which it knows out of band will lead to mutual
authentication, and to reject the session if the mechanism eventuelly
didn't lead to mutual authentication.

>    Because mutual authentication (if requested) cannot be guaranteed
>    until GSS_S_COMPLETE is returned, typically through multiple
>    invocations of GSS_Init_sec_context() calls, the PSK key exchange
>    is allowed only through additional specifications unless the server
>    authentication is provided a-priori and outside of the GSS-API
>    exchange.  For example, when FKA-TLS is negotiated via
>    TLS-renegotiation per Section 5, the server authentication may be
>    provided before the initial GSS-API context establishment token.

After re-reading this a few times, I think it may be saying what I
concluded in my last paragraph.  I'm not sure of this though.

> the motivation of this text is to allow PSK key exchange to be used
> when Kerberos is selected.  We are trying to build a mechanism that
> does not use certifications, and GSS-API does not guarantee mutual
> auth in the first init call as you noted, hence we had the awkward
> text. Now do you think you understand the intention of this text?

Yes I think so.

>> Section 3 also says:
>
>>   o  If the server key exchange message is present, the PSK identity
>>      hint as defined in Section 5.2 of [RFC4279] MUST be empty, and it
>>      MUST be ignored by the client.
>
>> I see no reason for the client to ignore this?  If the server MUST send
>> an empty PSK identity, the client should reject anything else.
>> Alternatively, change the MUST to SHOULD if there are situations where
>> the PSK identity will not be empty.
>
> It is fine to change the MUST to SHOULD. That is in-line with the IETF
> tenet that the original text intends to describe.

Ok.  Are there any examples of when it would ever be useful to use a PSK
identity?  Anonymous GSS-API mechanism?  If you know of any example
where this could be useful, adding it would help the understanding.

>> 4) The definition of the data structure for the gss_api extension data
>> appear to be missing from the document.  I assume it is identical to the
>> TokenTransfer structure?  I suggest adding a note describing this where
>> the gss_api ExtensionType is described.
>
> I suspect that the confusion here is related to the use of the TLS type opaque. I would rephrase the original text as follows:
>
>    The gss_api TLS extension is defined according to [RFC3546].  The
>    extension data for the gss_api extension type contains a GSS-API context establishment token.
>   GSS-API tokens are thus carried within the TLS hello messages.
>
>
>      enum {
>          gss_api(54321), (65535)
>      } ExtensionType;
>
>    The payload of the gss_api extension is an GSS-API token.  In other
>    words, the length of the byte vector (the TLS type opaque) for the extension data is the
>    length of the GSS-API token and the content of the byte vector
>    contains exactly the content of the GSS-API token.
>
> do you think this is better? Thanks.

Ah, I see.  You fail to specify the size of the length field though.  I
would prefer to make the token explicit though, by adding e.g.:

        struct {
            opaque gss_api_data<0..2^32-1>;
        } GSSAPIExtensionData;

>> 5) Does the wire protocol differentiate between GSS_S_CONTINUE_NEEDED
>> and GSS_S_COMPLETE?  I'm thinking if the initial GSS_Init_sec_context
>> call returns GSS_S_COMPLETE.  The server will call
>> GSS_Accept_sec_context which shouldn't return any data.  The server
>> sends back a 0b string.  How can the client differentiate this from when
>> GSS_Accept_sec_context returned GSS_S_CONTINUE_NEEDED?  Perhaps the
>> answer is that the client simply disconnect in this situation, but maybe
>> that has to be noted.
>
> A note is added as follows:
>
>    As implied by GSS-API, a GSS-API token SHOULD NOT be received after
>    the context is established (GSS_S_COMPLETE is returned), the receiver
>    MUST tear down the connection in this case.

Hm.  How would this work in the following situation?

  Client Hello   ------>
  GSS_Init_sec_context returns
  GSS_S_COMPLETE and a data buffer

                             <---------    Server Hello
                                           GSS_Accept_sec_context
                                           returns GSS_S_COMPLETE
                                           What to include in gss_api?

If the server doesn't send a gss_api extension token, the client doesn't
know that the server supported the GSS-API extension.

If the server sends a 0b token, the client will tear down the connection
because it cannot differentiate this from when the
GSS_Accept_sec_context did not return an additional token.

The gss_api data in the ServerHello may need to include a boolean saying
whether there actually was data returned or not:

        struct {
            opaque gss_api_data<0..2^32-1>;
            boolean finished;
        } GSSAPIExtensionData;

A similar problem may exist in the TokenTransfer handshake messages --
what if the client is waiting for the server to send something but the
server believes it is finished?  The session will eventually time out,
but that is poor error handling.  This would be avoided if the
gss_api_token tokens in TokenTransfer structure contained the
GSSAPIExtensionData structure above with a boolean 'finished'.

There may be simpler solutions to this problem though.

>> 6) What purpose does the TokenTransferType serve?  It is never discussed
>> in the text.  It appears to be designed to allow non-GSS-API tokens in
>> the future.  I don't think that would be a good idea.  I would prefer
>> that the TokenTransferType was dropped from the document.
>
> The following text is added:
>
>    The TokenTransferType field allows future extensions of the
>    TokenTransfer handshake message.  The gss_api_token type is the only
>    value defiend in this document.
>
> The motivation is that the # of handshake messages is perceived as limited. Here by adding the
> TokenTransferType field, we effectively add 254 new handshake messages to the TLS protocol. One should be frugal when the resources are plenty, shouldn't she?

I believe this is the wrong place to solve that problem.  I also
disagree that it actually is a problem.  The HandShakeType namespace is
not close to running out.  Less than 10% of the values have been
allocated today (0-23 allocated, 24-255 unallocated according to IANA).

If you want to have this field, you need to specify how implementations
should behave if multiple TokenTransfer tokens are received during the
handshake and when only some of them contain supported token_type's.
Otherwise this structure can never be used in any future extension in a
reliable way.

/Simon

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Wed Sep 12 12:14:46 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IVUpk-0002NF-4n; Wed, 12 Sep 2007 12:12:56 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IVUpi-0002N9-J9
	for tls@lists.ietf.org; Wed, 12 Sep 2007 12:12:54 -0400
Received: from smtpde03.sap-ag.de ([155.56.68.140])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IVUpg-0002r2-Vv
	for tls@lists.ietf.org; Wed, 12 Sep 2007 12:12:54 -0400
Received: from sap.corp
	by smtpde03.sap-ag.de (26) with ESMTP id l8CGCOIc007641;
	Wed, 12 Sep 2007 18:12:24 +0200 (MEST)
From: Martin Rex <Martin.Rex@sap.com>
Message-Id: <200709121612.l8CGC1OT007127@fs4113.wdf.sap.corp>
Subject: Re: [TLS] Review of draft-santesson-tls-gssapi-03
To: lzhu@windows.microsoft.com (Larry Zhu)
Date: Wed, 12 Sep 2007 18:12:00 +0200 (MEST)
In-Reply-To: <B78121AEC3DFC949BF5080E7BCDD79F49BB7915B66@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
	from "Larry Zhu" at Sep 11, 7 07:56:16 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-SAP: out
X-Spam-Score: -4.0 (----)
X-Scan-Signature: 8b431ad66d60be2d47c7bfeb879db82c
Cc: simon@josefsson.org, tls@lists.ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: martin.rex@sap.com
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Larry Zhu wrote:
> 
> > 5) Does the wire protocol differentiate between GSS_S_CONTINUE_NEEDED
> > and GSS_S_COMPLETE?  I'm thinking if the initial GSS_Init_sec_context
> > call returns GSS_S_COMPLETE.  The server will call
> > GSS_Accept_sec_context which shouldn't return any data.  The server
> > sends back a 0b string.  How can the client differentiate this from when
> > GSS_Accept_sec_context returned GSS_S_CONTINUE_NEEDED?  Perhaps the
> > answer is that the client simply disconnect in this situation, but maybe
> > that has to be noted.
> 
> A note is added as follows:
> 
>    As implied by GSS-API, a GSS-API token SHOULD NOT be received after
>    the context is established (GSS_S_COMPLETE is returned), the receiver
>    MUST tear down the connection in this case.

Only nitpicking: In the GSS-API original design, it is possible to
receive a context-level token after having seen GSS_S_COMPLETE from
the local context establishment function.

The obvious and non-controversial case has been deprecated
(the context deletion token).  The specified behaviour was too
pass this token to gss_process_context_token().

Whether or not an peer is allowed to create an context-level error
token (not a delete token) that the peer does not expect is fairly
unclear, however.  Implementations of the Kerberos 5 gssapi
mechanisms send such error tokens (containing a KRB_ERROR message)
in some situations.  I don't know whether these implementations refrain
from sending the error token if the peer does not expect it
(e.g. when the client does not request mutual authentication
 and uses an incorrect target name on a Microsoft Windows platform).


I don't know what other GSS-API mechanisms (e.g. based on SPKM)
have been doing in this area.


The one thing that is clear from the GSS-API spec is that an application
caller MUST NOT call a context establishment call (init_sec_context,
accept_sec_context) on a context for which a previous call to
the context establishment functions returned GSS_S_COMPLETE.
If at all, such a token must be consumed through gss_process_context_token().
and in the two scenarios described in the GSS-API standard, the
context deletion token and the context error token, this will result
in the security context to become invalid/unusable...



-Martin

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Wed Sep 12 13:18:37 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IVVpb-00029p-Sy; Wed, 12 Sep 2007 13:16:51 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IVVpa-00025W-Ja
	for tls@lists.ietf.org; Wed, 12 Sep 2007 13:16:50 -0400
Received: from smtpde03.sap-ag.de ([155.56.68.140])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IVVpY-0004jc-UL
	for tls@lists.ietf.org; Wed, 12 Sep 2007 13:16:50 -0400
Received: from sap.corp
	by smtpde03.sap-ag.de (26) with ESMTP id l8CHGQKK011266;
	Wed, 12 Sep 2007 19:16:26 +0200 (MEST)
From: Martin Rex <Martin.Rex@sap.com>
Message-Id: <200709121716.l8CHGQrS015174@fs4113.wdf.sap.corp>
Subject: Re: [TLS] Re: Review of draft-santesson-tls-gssapi-03
To: simon@josefsson.org (Simon Josefsson)
Date: Wed, 12 Sep 2007 19:16:26 +0200 (MEST)
In-Reply-To: <87abrse6y9.fsf@mocca.josefsson.org> from "Simon Josefsson" at
	Sep 12, 7 08:25:18 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-SAP: out
X-Spam-Score: -4.0 (----)
X-Scan-Signature: 9ed51c9d1356100bce94f1ae4ec616a9
Cc: tls@lists.ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: martin.rex@sap.com
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Simon Josefsson wrote:
> 
> >    It is generally beneficial to provide privacy protection for
> >    mechanisms that send client identifiers in the clear.  Furthermore,
> >    encrypting the GSS-API data can improve the strength of the overall
> >    systems, and when applicable complicate offline dictionary attacks
> >    against users' secrets based on which the keying materials are
> >    derived.  Therefore unless otherwise specified, TLS-renegotiation as
> >    defined in section 7.4.1.1 of [RFC4346] MUST be used to encrypt the
> >    GSS data in FXA-TLS gss_api extension.  This implies that the client
> >    and server negotiate FKA-TLS after completing a certificate-based
> >    TLS-handshake, typically to facilitate client authentication.
> 
> I like this.

I also like this text better (however I still don't like the entire
proposal and want to come up with an alternative proposal--unfortunately
personal and health issues are severely draining my time at the moment).
It adds round-trips, though.

> 
> This text leads to an even stronger argument for permitting X.509 client
> authentication in the first authentication step.  Otherwise you are
> vulnerable to tunneling attacks of the GSS-API authentication step since
> there appear to be no channel binding used.

I fully agree.  I mentioned a couple of times that I consider it
important to make it as easy as possible for consumers to enable
cert-based server authentication along with GSS-API client authentication.
(this doesn't help the "simple" (unidirectional) gssapi mechanisms,
 however, since this proposal precludes their use entirely).

> 
> Btw, I forgot to bring up channel bindings.  Have you considered
> supporting it?  It is not critical to me, I consider X.509 or OpenPGP
> authentication sufficient to solve the tunnel problem.

AFAIK, the architecture of this proposal does provide secure channel
bindings, in that it uses gss_prf output for the creation of the
master secret using the PSK ciphersuites.


-Martin

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Wed Sep 12 19:17:14 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IVbQT-0005nc-Mu; Wed, 12 Sep 2007 19:15:17 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IVbQS-0005nX-8n
	for tls@ietf.org; Wed, 12 Sep 2007 19:15:16 -0400
Received: from [209.213.211.195] (helo=delta.rtfm.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IVbQS-0001oK-0V
	for tls@ietf.org; Wed, 12 Sep 2007 19:15:16 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id ED1D533C21
	for <tls@ietf.org>; Wed, 12 Sep 2007 16:11:50 -0700 (PDT)
Date: Wed, 12 Sep 2007 16:11:50 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: tls@ietf.org
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070912231150.ED1D533C21@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 2870a44b67ee17965ce5ad0177e150f4
Cc: 
Subject: [TLS] Issue 56: AES as MTI
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Pasi suggests making AES the mandatory to implement encryption
algorithm in TLS 1.2. Thoughts?

-Ekr

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Wed Sep 12 19:31:47 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IVbek-0004E8-B0; Wed, 12 Sep 2007 19:30:02 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IVbej-0004Dz-CU
	for tls@ietf.org; Wed, 12 Sep 2007 19:30:01 -0400
Received: from [209.213.211.195] (helo=delta.rtfm.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IVbej-000249-38
	for tls@ietf.org; Wed, 12 Sep 2007 19:30:01 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 2B5FE33C21;
	Wed, 12 Sep 2007 16:26:36 -0700 (PDT)
Date: Wed, 12 Sep 2007 16:26:33 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: "Yee, Peter" <pyee@rsasecurity.com>
Subject: Re: [TLS] Issue 56: AES as MTI
In-Reply-To: <65C7072814858342AD0524674BCA2CDB0D2E6E3E@rsana-ex-hq2.NA.RSA.NET>
References: <20070912231150.ED1D533C21@delta.rtfm.com>
	<65C7072814858342AD0524674BCA2CDB0D2E6E3E@rsana-ex-hq2.NA.RSA.NET>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070912232636.2B5FE33C21@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 1ac7cc0a4cd376402b85bc1961a86ac2
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Wed, 12 Sep 2007 19:27:17 -0400,
Yee, Peter wrote:
> 
> Just AES in general or a specific key size and mode?  I'd generally
> favor the move, although I recognize that AES will probably be slower
> than RC4 so there will be those who would resist the move.  Despite
> that, I'd be in favor of AES-GCM as MTI as it's a whole lot better
> than 3DES_EDE_CBC.

The current algorithm is 3DES_EDE_CBC. I would imagine we would use
AES_128_CBC. It's a much easier substitution than GCM and most
TLS stacks already support AES-CBC.

-Ekr

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Wed Sep 12 19:45:46 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IVbsH-0000gI-SA; Wed, 12 Sep 2007 19:44:01 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IVbsG-0000gD-VP
	for tls@ietf.org; Wed, 12 Sep 2007 19:44:00 -0400
Received: from sj-iport-6.cisco.com ([171.71.176.117])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IVbsF-0004PS-NY
	for tls@ietf.org; Wed, 12 Sep 2007 19:44:00 -0400
X-IronPort-AV: E=Sophos;i="4.20,246,1186383600"; d="scan'208";a="217082432"
Received: from sj-dkim-3.cisco.com ([171.71.179.195])
	by sj-iport-6.cisco.com with ESMTP; 12 Sep 2007 16:43:59 -0700
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254])
	by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id l8CNhxnB004597; 
	Wed, 12 Sep 2007 16:43:59 -0700
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com
	[171.70.151.144])
	by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id l8CNhwat027798;
	Wed, 12 Sep 2007 23:43:58 GMT
Received: from xmb-sjc-225.amer.cisco.com ([128.107.191.38]) by
	xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 12 Sep 2007 16:43:51 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] Issue 56: AES as MTI
Date: Wed, 12 Sep 2007 16:43:57 -0700
Message-ID: <AC1CFD94F59A264488DC2BEC3E890DE5047D92E0@xmb-sjc-225.amer.cisco.com>
In-Reply-To: <20070912232636.2B5FE33C21@delta.rtfm.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Issue 56: AES as MTI
Thread-Index: Acf1lOMWkVBCdIqQRV+HNq83v1u3KgAAXqdg
From: "Joseph Salowey \(jsalowey\)" <jsalowey@cisco.com>
To: "Eric Rescorla" <ekr@networkresonance.com>,
	"Yee, Peter" <pyee@rsasecurity.com>
X-OriginalArrivalTime: 12 Sep 2007 23:43:51.0866 (UTC)
	FILETIME=[C5F8B9A0:01C7F596]
DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=1204; t=1189640639;
	x=1190504639; c=relaxed/simple; s=sjdkim3002;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=jsalowey@cisco.com;
	z=From:=20=22Joseph=20Salowey=20\(jsalowey\)=22=20<jsalowey@cisco.com>
	|Subject:=20RE=3A=20[TLS]=20Issue=2056=3A=20AES=20as=20MTI
	|Sender:=20; bh=L4cbrm2uvosPVZvkOAKfqw8VNNXt1pu3HRmCUogUvhA=;
	b=sOpWv674V9W9V17GdlNIPQv2PjGxwBnm3KTC+x9tvUnHKpnae2VRhdOfaTVicrkuaTzbVSCk
	09AXQO6j+kUNQTwC8FlG2IOoWmAnprKJ+YVnb4Yt2lv5k2S/bqCvWt3+;
Authentication-Results: sj-dkim-3; header.From=jsalowey@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim3002 verified; ); 
X-Spam-Score: -4.0 (----)
X-Scan-Signature: bb8f917bb6b8da28fc948aeffb74aa17
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

I'm in favor of having AES as the MTI.  I'd have to think a bit more
about whether CBC or GCM is appropriate, but either should be fine.
Initially, I was thinking AES-CBC, because of the reason Eric mentioned.


Joe

> -----Original Message-----
> From: Eric Rescorla [mailto:ekr@networkresonance.com]=20
> Sent: Wednesday, September 12, 2007 4:27 PM
> To: Yee, Peter
> Cc: tls@ietf.org
> Subject: Re: [TLS] Issue 56: AES as MTI
>=20
> At Wed, 12 Sep 2007 19:27:17 -0400,
> Yee, Peter wrote:
> >=20
> > Just AES in general or a specific key size and mode?  I'd generally=20
> > favor the move, although I recognize that AES will probably=20
> be slower=20
> > than RC4 so there will be those who would resist the move.  Despite=20
> > that, I'd be in favor of AES-GCM as MTI as it's a whole lot better=20
> > than 3DES_EDE_CBC.
>=20
> The current algorithm is 3DES_EDE_CBC. I would imagine we=20
> would use AES_128_CBC. It's a much easier substitution than=20
> GCM and most TLS stacks already support AES-CBC.
>=20
> -Ekr
>=20
> _______________________________________________
> TLS mailing list
> TLS@lists.ietf.org
> https://www1.ietf.org/mailman/listinfo/tls
>=20

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Wed Sep 12 20:28:29 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IVcXW-0000cw-Tz; Wed, 12 Sep 2007 20:26:38 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IVcXU-0000bE-Ph
	for tls@ietf.org; Wed, 12 Sep 2007 20:26:37 -0400
Received: from sceptre.pobox.com ([207.106.133.20])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IVcXS-0003pW-Ev
	for tls@ietf.org; Wed, 12 Sep 2007 20:26:34 -0400
Received: from sceptre (localhost.localdomain [127.0.0.1])
	by sceptre.pobox.com (Postfix) with ESMTP id 731E22EF
	for <tls@ietf.org>; Wed, 12 Sep 2007 20:26:53 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by sceptre.sasl.smtp.pobox.com (Postfix) with ESMTP id 4559C7E326
	for <tls@ietf.org>; Wed, 12 Sep 2007 20:26:53 -0400 (EDT)
Message-ID: <46E883B4.4000907@pobox.com>
Date: Wed, 12 Sep 2007 17:26:28 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] Issue 56: AES as MTI
References: <20070912231150.ED1D533C21@delta.rtfm.com>
	<65C7072814858342AD0524674BCA2CDB0D2E6E3E@rsana-ex-hq2.NA.RSA.NET>
	<20070912232636.2B5FE33C21@delta.rtfm.com>
In-Reply-To: <20070912232636.2B5FE33C21@delta.rtfm.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7bac9cb154eb5790ae3b2913587a40de
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

> The current algorithm is 3DES_EDE_CBC. I would imagine we would use
> AES_128_CBC. It's a much easier substitution than GCM and most
> TLS stacks already support AES-CBC.

I support AES-CBC in my implementation, but don't yet support GCM,
just as one more data point for your decision.

However, is 128-bit AES as strong as 192-bit 3DES?

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 13 04:31:50 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IVk6u-0002Nu-NT; Thu, 13 Sep 2007 04:31:40 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IVk6t-0002No-Sh
	for tls@lists.ietf.org; Thu, 13 Sep 2007 04:31:39 -0400
Received: from yxa.extundo.com ([83.241.177.38])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IVk6s-00074I-Ay
	for tls@lists.ietf.org; Thu, 13 Sep 2007 04:31:39 -0400
Received: from mocca.josefsson.org (yxa.extundo.com [83.241.177.38])
	(authenticated bits=0)
	by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id
	l8D8VL6x002371
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 13 Sep 2007 10:31:22 +0200
From: Simon Josefsson <simon@josefsson.org>
To: martin.rex@sap.com
References: <87abrse6y9.fsf@mocca.josefsson.org>
	<200709121716.l8CHGQrS015174@fs4113.wdf.sap.corp>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:070913:martin.rex@sap.com::BqUY6TJKa0ov6raX:21Yh
X-Hashcash: 1:22:070913:tls@lists.ietf.org::V/igS5hlOtSy2mBu:NejI
Date: Thu, 13 Sep 2007 10:31:21 +0200
In-Reply-To: <200709121716.l8CHGQrS015174@fs4113.wdf.sap.corp> (Martin Rex's
	message of "Wed, 12 Sep 2007 19:16:26 +0200 (MEST)")
Message-ID: <87abrrarvq.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00,
	FORGED_RCVD_HELO,SPF_PASS autolearn=unavailable version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on yxa-iv
X-Virus-Scanned: ClamAV version 0.88.2,
	clamav-milter version 0.88.2 on yxa.extundo.com
X-Virus-Status: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 1ac7cc0a4cd376402b85bc1961a86ac2
Cc: tls@lists.ietf.org
Subject: [TLS] Re: Review of draft-santesson-tls-gssapi-03
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Martin Rex <Martin.Rex@sap.com> writes:

>> Btw, I forgot to bring up channel bindings.  Have you considered
>> supporting it?  It is not critical to me, I consider X.509 or OpenPGP
>> authentication sufficient to solve the tunnel problem.
>
> AFAIK, the architecture of this proposal does provide secure channel
> bindings, in that it uses gss_prf output for the creation of the
> master secret using the PSK ciphersuites.

I missed that.  Right, it seems to be solved.

Thanks,
Simon

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 13 04:36:20 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IVkBP-0000uV-WB; Thu, 13 Sep 2007 04:36:20 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IVkBO-0000uP-Bn
	for tls@ietf.org; Thu, 13 Sep 2007 04:36:18 -0400
Received: from yxa.extundo.com ([83.241.177.38])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IVkBN-000734-Sy
	for tls@ietf.org; Thu, 13 Sep 2007 04:36:18 -0400
Received: from mocca.josefsson.org (yxa.extundo.com [83.241.177.38])
	(authenticated bits=0)
	by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id
	l8D8ZtRg002874
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 13 Sep 2007 10:35:55 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Mike <mike-list@pobox.com>
References: <20070912231150.ED1D533C21@delta.rtfm.com>
	<65C7072814858342AD0524674BCA2CDB0D2E6E3E@rsana-ex-hq2.NA.RSA.NET>
	<20070912232636.2B5FE33C21@delta.rtfm.com>
	<46E883B4.4000907@pobox.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:070913:tls@ietf.org::/bejv5U5G/9b5WtR:4IwJ
X-Hashcash: 1:22:070913:mike-list@pobox.com::eDNJF7+oA9KNvJGQ:DbI1
Date: Thu, 13 Sep 2007 10:35:55 +0200
In-Reply-To: <46E883B4.4000907@pobox.com> (Mike's message of "Wed, 12 Sep 2007
	17:26:28 -0700")
Message-ID: <87642faro4.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00,
	FORGED_RCVD_HELO,SPF_PASS autolearn=unavailable version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on yxa-iv
X-Virus-Scanned: ClamAV version 0.88.2,
	clamav-milter version 0.88.2 on yxa.extundo.com
X-Virus-Status: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: de4f315c9369b71d7dd5909b42224370
Cc: tls@ietf.org
Subject: [TLS] Re: Issue 56: AES as MTI
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Mike <mike-list@pobox.com> writes:

>> The current algorithm is 3DES_EDE_CBC. I would imagine we would use
>> AES_128_CBC. It's a much easier substitution than GCM and most
>> TLS stacks already support AES-CBC.
>
> I support AES-CBC in my implementation, but don't yet support GCM,
> just as one more data point for your decision.

The situation is the same for GnuTLS, FWIW.

> However, is 128-bit AES as strong as 192-bit 3DES?

The effective key size for 3DES is only 112 bits, see also:
http://en.wikipedia.org/wiki/Triple_DES

/Simon

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 13 10:59:52 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IVqAV-0006u9-5S; Thu, 13 Sep 2007 10:59:47 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IVqAS-0006u0-Cg
	for tls@ietf.org; Thu, 13 Sep 2007 10:59:44 -0400
Received: from woodstock.binhost.com ([66.150.120.2])
	by chiedprmail1.ietf.org with smtp (Exim 4.43) id 1IVqAS-0007g3-2n
	for tls@ietf.org; Thu, 13 Sep 2007 10:59:44 -0400
Received: (qmail 10557 invoked by uid 0); 13 Sep 2007 14:59:39 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.231.48.203)
	by woodstock.binhost.com with SMTP; 13 Sep 2007 14:59:39 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Thu, 13 Sep 2007 10:31:23 -0400
To: Eric Rescorla <ekr@networkresonance.com>,tls@ietf.org
From: Russ Housley <housley@vigilsec.com>
Subject: Re: [TLS] Issue 56: AES as MTI
In-Reply-To: <20070912231150.ED1D533C21@delta.rtfm.com>
References: <20070912231150.ED1D533C21@delta.rtfm.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7655788c23eb79e336f5f8ba8bce7906
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org
Message-Id: <E1IVqAV-0006u9-5S@megatron.ietf.org>

I support this suggestion.  S/MIME just made the transition from 3DES 
to AES as the mandatory to implement encryption algorithm.  (3DES is 
still a SHOULD in S/MIME.)

I think the mandatory to implement mode should remain CBC.  This will 
be less of an interoperability concern.  Earlier versions of TLS 
offered support for AES-CBC, but the authenticated encryption modes 
like AES-GCM will not be available until TLS 1.2 is complete.  So, 
AES-CBC has a much better backward compatibility situation.

Russ

At 07:11 PM 9/12/2007, Eric Rescorla wrote:
>Pasi suggests making AES the mandatory to implement encryption
>algorithm in TLS 1.2. Thoughts?
>
>-Ekr
>
>_______________________________________________
>TLS mailing list
>TLS@lists.ietf.org
>https://www1.ietf.org/mailman/listinfo/tls


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 13 14:38:36 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IVta9-0008Hg-T6; Thu, 13 Sep 2007 14:38:29 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IVta8-0008GS-GU
	for tls@ietf.org; Thu, 13 Sep 2007 14:38:28 -0400
Received: from [209.213.211.195] (helo=delta.rtfm.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IVta8-0008S7-73
	for tls@ietf.org; Thu, 13 Sep 2007 14:38:28 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id D32DD33C21
	for <tls@ietf.org>; Thu, 13 Sep 2007 11:34:53 -0700 (PDT)
Date: Thu, 13 Sep 2007 11:34:53 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: tls@ietf.org
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070913183453.D32DD33C21@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 7bac9cb154eb5790ae3b2913587a40de
Cc: 
Subject: [TLS] Issue 49: Finished.verify length
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Pasi asks:

  Currently Finished.verify_data is always 12 octets. With newer PRFs
  and hashes, more might be useful. Should this depend on the PRF?
  
My take on this is that the 12-octet length is mostly independent
of the PRF. After all, it's already been truncated from either 
MD5 or SHA-1. Is there a good security reason to change this?

-Ekr

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 13 20:19:04 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IVyta-0001aq-Aj; Thu, 13 Sep 2007 20:18:54 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IVytY-0001al-KG
	for tls@ietf.org; Thu, 13 Sep 2007 20:18:52 -0400
Received: from rune.pobox.com ([208.210.124.79])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IVytY-0008TF-4h
	for tls@ietf.org; Thu, 13 Sep 2007 20:18:52 -0400
Received: from rune (localhost [127.0.0.1])
	by rune.pobox.com (Postfix) with ESMTP id 5215D134754
	for <tls@ietf.org>; Thu, 13 Sep 2007 20:19:09 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id 24DED134752
	for <tls@ietf.org>; Thu, 13 Sep 2007 20:19:08 -0400 (EDT)
Message-ID: <46E9D35F.60904@pobox.com>
Date: Thu, 13 Sep 2007 17:18:39 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] Issue 49: Finished.verify length
References: <20070913183453.D32DD33C21@delta.rtfm.com>
In-Reply-To: <20070913183453.D32DD33C21@delta.rtfm.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d6b246023072368de71562c0ab503126
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

>   Currently Finished.verify_data is always 12 octets. With newer PRFs
>   and hashes, more might be useful. Should this depend on the PRF?
>   
> My take on this is that the 12-octet length is mostly independent
> of the PRF. After all, it's already been truncated from either 
> MD5 or SHA-1. Is there a good security reason to change this?

Since the Finished message is just the output of the PRF itself,
you can specify however much output you want.  In TLS 1.2, the
default PRF is based on HMAC-SHA-256, so 1 iteration of the PRF
generates 32 bytes.  With the Finished message currently using
only 12 bytes of PRF output, we are just throwing away 20 bytes
that could be utilized.  Therefore, the Finished message could
be increased to 32 bytes without impacting performance.

I am not a security expert, but I do know that 32 bytes is a lot
harder to guess than 12.

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 00:11:29 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IW2WU-0000Se-CR; Fri, 14 Sep 2007 00:11:18 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IW2WT-0000SZ-MG
	for tls@ietf.org; Fri, 14 Sep 2007 00:11:17 -0400
Received: from [74.95.2.169] (helo=delta.rtfm.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IW2WS-0008Do-Dr
	for tls@ietf.org; Fri, 14 Sep 2007 00:11:17 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 3473733C3A;
	Thu, 13 Sep 2007 21:07:41 -0700 (PDT)
Date: Thu, 13 Sep 2007 21:07:40 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: Mike <mike-list@pobox.com>
Subject: Re: [TLS] Issue 49: Finished.verify length
In-Reply-To: <46E9D35F.60904@pobox.com>
References: <20070913183453.D32DD33C21@delta.rtfm.com>
	<46E9D35F.60904@pobox.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070914040741.3473733C3A@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 0bc60ec82efc80c84b8d02f4b0e4de22
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Thu, 13 Sep 2007 17:18:39 -0700,
Mike wrote:
> 
> >   Currently Finished.verify_data is always 12 octets. With newer PRFs
> >   and hashes, more might be useful. Should this depend on the PRF?
> >   
> > My take on this is that the 12-octet length is mostly independent
> > of the PRF. After all, it's already been truncated from either 
> > MD5 or SHA-1. Is there a good security reason to change this?
> 
> Since the Finished message is just the output of the PRF itself,
> you can specify however much output you want.  In TLS 1.2, the
> default PRF is based on HMAC-SHA-256, so 1 iteration of the PRF
> generates 32 bytes.  With the Finished message currently using
> only 12 bytes of PRF output, we are just throwing away 20 bytes
> that could be utilized.  Therefore, the Finished message could
> be increased to 32 bytes without impacting performance.
> 
> I am not a security expert, but I do know that 32 bytes is a lot
> harder to guess than 12.

As I recall, the truncation was intended to *increase* security,
because it leaked less information about the MS to an active
attacker.

-Ekr



_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 01:38:51 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IW3su-0006PL-FK; Fri, 14 Sep 2007 01:38:32 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IW3ss-0006Ox-J5
	for tls@ietf.org; Fri, 14 Sep 2007 01:38:30 -0400
Received: from rune.pobox.com ([208.210.124.79])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IW3ss-0000QZ-8B
	for tls@ietf.org; Fri, 14 Sep 2007 01:38:30 -0400
Received: from rune (localhost [127.0.0.1])
	by rune.pobox.com (Postfix) with ESMTP id 5D4741342E2
	for <tls@ietf.org>; Fri, 14 Sep 2007 01:38:47 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id E3AE41342E1
	for <tls@ietf.org>; Fri, 14 Sep 2007 01:38:46 -0400 (EDT)
Message-ID: <46EA1E46.6040908@pobox.com>
Date: Thu, 13 Sep 2007 22:38:14 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] Issue 49: Finished.verify length
References: <20070913183453.D32DD33C21@delta.rtfm.com>
	<46E9D35F.60904@pobox.com>
	<20070914040741.3473733C3A@delta.rtfm.com>
In-Reply-To: <20070914040741.3473733C3A@delta.rtfm.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 08170828343bcf1325e4a0fb4584481c
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

> As I recall, the truncation was intended to *increase* security,
> because it leaked less information about the MS to an active
> attacker.

Well, the Finished message follows ChangeCipherSpec, so it is
encrypted when the attacker receives it.  I was thinking about
the other direction where the attacker convinces you (via his
Finished message) that a session has been established, making
you think it's ok to send your sensitive information, which
he can then work offline to try to decode.  His Finished
message would also have to be correctly encrypted and MAC'ed,
so I imagine it would be extremely difficult to forge in any
case....

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 05:09:08 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IW7Ad-00065u-PO; Fri, 14 Sep 2007 05:09:03 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IW7Ac-0005zl-6Y
	for tls@ietf.org; Fri, 14 Sep 2007 05:09:02 -0400
Received: from moutng.kundenserver.de ([212.227.126.171])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IW7Aa-0007P7-M0
	for tls@ietf.org; Fri, 14 Sep 2007 05:09:02 -0400
Received: from p508EAF34.dip0.t-ipconnect.de [80.142.175.52] (helo=tau.invalid)
	by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis),
	id 0MKxQS-1IW7AV0Day-0007wa; Fri, 14 Sep 2007 11:08:56 +0200
Received: by tau.invalid (Postfix, from userid 1000)
	id EBCF51C35A; Fri, 14 Sep 2007 11:08:53 +0200 (CEST)
Date: Fri, 14 Sep 2007 11:08:53 +0200
From: Bodo Moeller <bmoeller@acm.org>
To: Eric Rescorla <ekr@networkresonance.com>
Subject: Re: [TLS] Issue 49: Finished.verify length
Message-ID: <20070914090853.GA20702@tau.invalid>
References: <20070913183453.D32DD33C21@delta.rtfm.com>
	<46E9D35F.60904@pobox.com>
	<20070914040741.3473733C3A@delta.rtfm.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20070914040741.3473733C3A@delta.rtfm.com>
User-Agent: Mutt/1.5.9i
X-Provags-ID: V01U2FsdGVkX181BaNrryWbeoZ9Lp//8dZ2eaYkOI2SF6sVThI
	H1MSepQR6e2VsNR5svoFs1q3V/9HFubI2pgY8/O+rcc1Sd61BS
	Rqs+9ykSZkCgamR3RIWf+2pqYmJVe2w1i/wsccenu89ksmj3Xl IGw==
X-Spam-Score: -0.0 (/)
X-Scan-Signature: f607d15ccc2bc4eaf3ade8ffa8af02a0
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

On Thu, Sep 13, 2007 at 09:07:40PM -0700, Eric Rescorla wrote:
> At Thu, 13 Sep 2007 17:18:39 -0700,

>>>   Currently Finished.verify_data is always 12 octets. With newer PRFs
>>>   and hashes, more might be useful. Should this depend on the PRF?

>> Since the Finished message is just the output of the PRF itself,
>> you can specify however much output you want.  In TLS 1.2, the
>> default PRF is based on HMAC-SHA-256, so 1 iteration of the PRF
>> generates 32 bytes.  With the Finished message currently using
>> only 12 bytes of PRF output, we are just throwing away 20 bytes
>> that could be utilized.  Therefore, the Finished message could
>> be increased to 32 bytes without impacting performance.

Note quite true: Indeed, the additional plaintext of the Finished
message would be there at little cost -- however, this would also give
you more data to encrypt and decrypt at the record layer (e.g., more
cipher blocks, assuming a block size of 16 bytes or less).


> As I recall, the truncation was intended to *increase* security,
> because it leaked less information about the MS to an active
> attacker.

I am not convinced that this is a good reason.  Assume that the
adversary tricks the parties into using weak encryption with some
non-ephemeral key exchange, say.  Then not only the verify_data will
be potentially visible to the adversary, but also the record-layer MAC
will be exposed, which can be a lot of additional data (both depending
on the master secret).

But you don't need a very long verify_data.  We also don't need very
long record-layer MACs.  Both are needed only for real-time
authentication, which cannot be attacked after the fact.  (This
is quite different from symmetric encryption, where we generally want
rather long keys for long-term security.)  The MAC cryptographically
ensures that the data has been sent by someone who knows the keys that
the client and the server have agreed upon.  The verify_data is needed
to check that no-one has disturbed the handshake agreement between
client and server, such as by modifiying the list of ciphersuites
offered by the client.  Here we are already trusting that at least the
MAC is secure, and has been properly keyed.

A 12-byte verify_data means that, if an adversary *has* changed the
handshake, there's a probability around 2^-96 that the server won't
notice this from the client's Finished message.  Thus if you have a
total of 2^64 connections (say) being attacked, then there's a
probabilty around 2^-32 that one of the attacks is not detected by the
server.  But if this ever happens and a connection under attack is
accepted by the server, then still we can expect the *client* to
reject the *server's* Finished message (except with probability around
2^-96).

In conclusion, a 12-byte verify_data means *192-bit* security in total
(2*12*8) for Finished verification, since Finished verification
happens twice!  Thus, I don't see a need to change the specification
in this regard.

Bodo


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 07:40:39 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IW9XG-0005gL-Ls; Fri, 14 Sep 2007 07:40:34 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IW9XF-0005dx-Az
	for tls@ietf.org; Fri, 14 Sep 2007 07:40:33 -0400
Received: from smtp.nokia.com ([131.228.20.172] helo=mgw-ext13.nokia.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IW9XD-0002VG-Ru
	for tls@ietf.org; Fri, 14 Sep 2007 07:40:33 -0400
Received: from esebh108.NOE.Nokia.com (esebh108.ntc.nokia.com [172.21.143.145])
	by mgw-ext13.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id
	l8EBdeOL012620; Fri, 14 Sep 2007 14:40:26 +0300
Received: from esebh103.NOE.Nokia.com ([172.21.143.33]) by
	esebh108.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 14 Sep 2007 14:40:12 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh103.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 14 Sep 2007 14:40:12 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] Issue 49: Finished.verify length
Date: Fri, 14 Sep 2007 14:40:11 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2404937712@esebe105.NOE.Nokia.com>
In-Reply-To: <20070914090853.GA20702@tau.invalid>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Issue 49: Finished.verify length
Thread-Index: Acf2rvJYY0q1z1kYSP6JGLCGhoYdvAAFC7DQ
References: <20070913183453.D32DD33C21@delta.rtfm.com><46E9D35F.60904@pobox.com><20070914040741.3473733C3A@delta.rtfm.com>
	<20070914090853.GA20702@tau.invalid>
From: <Pasi.Eronen@nokia.com>
To: <bmoeller@acm.org>, <ekr@networkresonance.com>
X-OriginalArrivalTime: 14 Sep 2007 11:40:12.0797 (UTC)
	FILETIME=[030412D0:01C7F6C4]
X-Nokia-AV: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: cf4fa59384e76e63313391b70cd0dd25
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Bodo Moeller wrote:
> But you don't need a very long verify_data.  We also don't need=20
> very long record-layer MACs.  Both are needed only for real-time
> authentication, which cannot be attacked after the fact.=20

This is true; but reasonable people seem to have different opinions=20
on what exactly is "sufficiently long". For example, RFC 4106 specifies
three different choices for ICV (MAC) length (128/192/256 bits).

My suggestion was *not* to increase the current length, but rather=20
to add "agility" for this parameter as well (so that we don't
need to revisit the TLS base spec if, e.g., some future cipher=20
suite wants to have all the pieces at 256-bit level).

Best regards,
Pasi

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 08:03:33 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IW9tT-00054Y-BD; Fri, 14 Sep 2007 08:03:31 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IW9tS-00054S-6N
	for tls@ietf.org; Fri, 14 Sep 2007 08:03:30 -0400
Received: from moutng.kundenserver.de ([212.227.126.171])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IW9tQ-0002y7-RL
	for tls@ietf.org; Fri, 14 Sep 2007 08:03:30 -0400
Received: from [134.147.40.246] (helo=tau.invalid)
	by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis),
	id 0MKwpI-1IW9t91D7C-0002G9; Fri, 14 Sep 2007 14:03:26 +0200
Received: by tau.invalid (Postfix, from userid 1000)
	id CD6A71AF29; Fri, 14 Sep 2007 14:03:10 +0200 (CEST)
Date: Fri, 14 Sep 2007 14:03:10 +0200
From: Bodo Moeller <bmoeller@acm.org>
To: Pasi.Eronen@nokia.com
Subject: Re: [TLS] Issue 49: Finished.verify length
Message-ID: <20070914120310.GA29073@tau.invalid>
References: <20070914090853.GA20702@tau.invalid>
	<B356D8F434D20B40A8CEDAEC305A1F2404937712@esebe105.NOE.Nokia.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <B356D8F434D20B40A8CEDAEC305A1F2404937712@esebe105.NOE.Nokia.com>
User-Agent: Mutt/1.5.9i
X-Provags-ID: V01U2FsdGVkX1/RLWUZJH84zvwgMnJDVskK1C348FNd2Y9BW/E
	YHTSPBJqhdZN415XJKWJ1jPoHE9UrI5UkQuShYk7XIA4CVperY
	Ynb8TD5QaHyOzy4jsnviS1wfGQM+GooRfuGUhjSh17yc2PaLD5 ELw==
X-Spam-Score: -0.0 (/)
X-Scan-Signature: 52e1467c2184c31006318542db5614d5
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

On Fri, Sep 14, 2007 at 02:40:11PM +0300, Pasi.Eronen@nokia.com wrote:
> Bodo Moeller wrote:

>> But you don't need a very long verify_data.  We also don't need 
>> very long record-layer MACs.  Both are needed only for real-time
>> authentication, which cannot be attacked after the fact. 

> This is true; but reasonable people seem to have different opinions 
> on what exactly is "sufficiently long". For example, RFC 4106 specifies
> three different choices for ICV (MAC) length (128/192/256 bits).

IPsec is a different setting since it is not based on streams (which
would be aborted in case of a decryption error).  However, this
reminds me to take DTLS into account, so yes, we possibly might need
long record-layer MACs (just for consistency for DTLS, not for actual
TLS security reasons).

Of course, the Finished message payload (verify_data) still will have
to be processed just once.  (An incorrect record-layer MAC is just a
reason to discard this particular packet in DTLS, but if the
record-layer MAC is correct and the verify_data isn't, then this
is a very bad sign, and the session should be canceled.)


> My suggestion was *not* to increase the current length, but rather 
> to add "agility" for this parameter as well (so that we don't
> need to revisit the TLS base spec if, e.g., some future cipher 
> suite wants to have all the pieces at 256-bit level).

OK, this makes perfect sense!  The question as cited here was,
should the verify_data length depend *on the PRF*.  It shouldn't;
but that doesn't mean we can't allow individual ciphersuites to
specify their preferred verify_data lengths.

Bodo


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 08:13:56 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWA3X-0002eH-5W; Fri, 14 Sep 2007 08:13:55 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWA3V-0002eB-RU
	for tls@ietf.org; Fri, 14 Sep 2007 08:13:53 -0400
Received: from moutng.kundenserver.de ([212.227.126.177])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IWA3V-0003RQ-At
	for tls@ietf.org; Fri, 14 Sep 2007 08:13:53 -0400
Received: from [134.147.40.246] (helo=tau.invalid)
	by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis),
	id 0ML31I-1IWA3S3NPp-0001lS; Fri, 14 Sep 2007 14:13:52 +0200
Received: by tau.invalid (Postfix, from userid 1000)
	id 3FE331AF29; Fri, 14 Sep 2007 14:13:50 +0200 (CEST)
Date: Fri, 14 Sep 2007 14:13:50 +0200
From: Bodo Moeller <bmoeller@acm.org>
To: Pasi.Eronen@nokia.com
Subject: Re: [TLS] Issue 49: Finished.verify length
Message-ID: <20070914121350.GA29550@tau.invalid>
References: <20070914090853.GA20702@tau.invalid>
	<B356D8F434D20B40A8CEDAEC305A1F2404937712@esebe105.NOE.Nokia.com>
	<20070914120310.GA29073@tau.invalid>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20070914120310.GA29073@tau.invalid>
User-Agent: Mutt/1.5.9i
X-Provags-ID: V01U2FsdGVkX18RC0pkVLMc+H9ciQj63Eo8lux0447xr+jzEUr
	N1KWsEEAFpap7nIpoH/wZIVYvR+z4kHOuirX9035VPfGiKIBWL
	pMWX4z4ce3DnN/u9wuRzSOFMoIKAfZeuy/zY2oqwOjEKPupDZm JbA==
X-Spam-Score: 0.0 (/)
X-Scan-Signature: ea4ac80f790299f943f0a53be7e1a21a
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

On Fri, Sep 14, 2007 at 02:03:10PM +0200, Bodo Moeller wrote:

>>> But you don't need a very long verify_data.  We also don't need 
>>> very long record-layer MACs.  Both are needed only for real-time
>>> authentication, which cannot be attacked after the fact. 

>> This is true; but reasonable people seem to have different opinions 
>> on what exactly is "sufficiently long". For example, RFC 4106 specifies
>> three different choices for ICV (MAC) length (128/192/256 bits).

> IPsec is a different setting since it is not based on streams (which
> would be aborted in case of a decryption error).  However, this
> reminds me to take DTLS into account, so yes, we possibly might need
> long record-layer MACs (just for consistency for DTLS, not for actual
> TLS security reasons).
> 
> Of course, the Finished message payload (verify_data) still will have
> to be processed just once.  (An incorrect record-layer MAC is just a
> reason to discard this particular packet in DTLS, but if the
> record-layer MAC is correct and the verify_data isn't, then this
> is a very bad sign, and the session should be canceled.)

Oops, I forgot to make explicit what follows from this --:

While longer MACs makes sense for protocols such as IPsec and DTLS,
this doesn't mean that we have a similar reason to use longer
verify_data fields with DTLS.

Bodo


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 08:57:07 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWAjD-00058w-7w; Fri, 14 Sep 2007 08:56:59 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWAjB-00055o-NJ
	for tls@ietf.org; Fri, 14 Sep 2007 08:56:57 -0400
Received: from smtp.nokia.com ([131.228.20.171] helo=mgw-ext12.nokia.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IWAjA-0004lT-S2
	for tls@ietf.org; Fri, 14 Sep 2007 08:56:57 -0400
Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213])
	by mgw-ext12.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id
	l8ECui7R020142; Fri, 14 Sep 2007 15:56:50 +0300
Received: from esebh103.NOE.Nokia.com ([172.21.143.33]) by
	esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 14 Sep 2007 15:56:44 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh103.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 14 Sep 2007 15:56:44 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] Issue 49: Finished.verify length
Date: Fri, 14 Sep 2007 15:56:43 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2404937802@esebe105.NOE.Nokia.com>
In-Reply-To: <20070914120310.GA29073@tau.invalid>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Issue 49: Finished.verify length
Thread-Index: Acf2x0j8rzjn4yYgQ8qZmqxvoXJpnAABuc1Q
References: <20070914090853.GA20702@tau.invalid>
	<B356D8F434D20B40A8CEDAEC305A1F2404937712@esebe105.NOE.Nokia.com>
	<20070914120310.GA29073@tau.invalid>
From: <Pasi.Eronen@nokia.com>
To: <bmoeller@acm.org>
X-OriginalArrivalTime: 14 Sep 2007 12:56:44.0394 (UTC)
	FILETIME=[B3D22CA0:01C7F6CE]
X-Nokia-AV: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 798b2e660f1819ae38035ac1d8d5e3ab
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Bodo Moeller wrote:

> > My suggestion was *not* to increase the current length, but rather=20
> > to add "agility" for this parameter as well (so that we don't
> > need to revisit the TLS base spec if, e.g., some future cipher=20
> > suite wants to have all the pieces at 256-bit level).
>=20
> OK, this makes perfect sense!  The question as cited here was,
> should the verify_data length depend *on the PRF*.  It shouldn't;
> but that doesn't mean we can't allow individual ciphersuites to
> specify their preferred verify_data lengths.

The PRF depends on the ciphersuite, so having the verify_data length
depend on the PRF (or in other words: specifying the verify_data
length at the same place as the PRF) would be one relative simple
approach.=20

(But we could allow different ciphersuites using the same PRF
to use different verify_data lengths as well)

Best regards,
Pasi

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 10:20:46 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWC2G-000660-9K; Fri, 14 Sep 2007 10:20:44 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWC2E-00065r-L2
	for tls@ietf.org; Fri, 14 Sep 2007 10:20:42 -0400
Received: from [74.95.2.169] (helo=delta.rtfm.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IWC2E-0008OQ-8z
	for tls@ietf.org; Fri, 14 Sep 2007 10:20:42 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id D7C2A33C21;
	Fri, 14 Sep 2007 07:17:04 -0700 (PDT)
Date: Fri, 14 Sep 2007 07:17:04 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: Bodo Moeller <bmoeller@acm.org>
Subject: Re: [TLS] Issue 49: Finished.verify length
In-Reply-To: <20070914090853.GA20702@tau.invalid>
References: <20070913183453.D32DD33C21@delta.rtfm.com>
	<46E9D35F.60904@pobox.com>
	<20070914040741.3473733C3A@delta.rtfm.com>
	<20070914090853.GA20702@tau.invalid>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070914141704.D7C2A33C21@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: cf4fa59384e76e63313391b70cd0dd25
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Fri, 14 Sep 2007 11:08:53 +0200,
Bodo Moeller wrote:
> > As I recall, the truncation was intended to *increase* security,
> > because it leaked less information about the MS to an active
> > attacker.
> 
> I am not convinced that this is a good reason.  Assume that the
> adversary tricks the parties into using weak encryption with some
> non-ephemeral key exchange, say.  Then not only the verify_data will
> be potentially visible to the adversary, but also the record-layer MAC
> will be exposed, which can be a lot of additional data (both depending
> on the master secret).

Me neither, BTW. I just seem to recall that that was the reason :)

-Ekr

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 10:21:48 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWC3H-0006lt-Qs; Fri, 14 Sep 2007 10:21:47 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWC3G-0006lk-MD
	for tls@ietf.org; Fri, 14 Sep 2007 10:21:46 -0400
Received: from [74.95.2.169] (helo=delta.rtfm.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IWC3E-0007Y2-Du
	for tls@ietf.org; Fri, 14 Sep 2007 10:21:46 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 2439533C21;
	Fri, 14 Sep 2007 07:18:09 -0700 (PDT)
Date: Fri, 14 Sep 2007 07:18:09 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: <Pasi.Eronen@nokia.com>
Subject: Re: [TLS] Issue 49: Finished.verify length
In-Reply-To: <B356D8F434D20B40A8CEDAEC305A1F2404937802@esebe105.NOE.Nokia.com>
References: <20070914090853.GA20702@tau.invalid>
	<B356D8F434D20B40A8CEDAEC305A1F2404937712@esebe105.NOE.Nokia.com>
	<20070914120310.GA29073@tau.invalid>
	<B356D8F434D20B40A8CEDAEC305A1F2404937802@esebe105.NOE.Nokia.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070914141809.2439533C21@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 9466e0365fc95844abaf7c3f15a05c7d
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Fri, 14 Sep 2007 15:56:43 +0300,
<Pasi.Eronen@nokia.com> wrote:
> 
> Bodo Moeller wrote:
> 
> > > My suggestion was *not* to increase the current length, but rather 
> > > to add "agility" for this parameter as well (so that we don't
> > > need to revisit the TLS base spec if, e.g., some future cipher 
> > > suite wants to have all the pieces at 256-bit level).
> > 
> > OK, this makes perfect sense!  The question as cited here was,
> > should the verify_data length depend *on the PRF*.  It shouldn't;
> > but that doesn't mean we can't allow individual ciphersuites to
> > specify their preferred verify_data lengths.
> 
> The PRF depends on the ciphersuite, so having the verify_data length
> depend on the PRF (or in other words: specifying the verify_data
> length at the same place as the PRF) would be one relative simple
> approach. 
> 
> (But we could allow different ciphersuites using the same PRF
> to use different verify_data lengths as well)

I'm still trying to understand the rationale for why it makes sense
to have a verify_data != 12 bytes. Pasi, could you elaborate?

Thanks,

-Ekr

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 10:29:06 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWCAM-0002w6-DE; Fri, 14 Sep 2007 10:29:06 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWCAL-0002tu-2z
	for tls@ietf.org; Fri, 14 Sep 2007 10:29:05 -0400
Received: from smtp.nokia.com ([131.228.20.172] helo=mgw-ext13.nokia.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IWCAK-0000BA-Fo
	for tls@ietf.org; Fri, 14 Sep 2007 10:29:04 -0400
Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211])
	by mgw-ext13.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id
	l8EESiUa000797; Fri, 14 Sep 2007 17:29:00 +0300
Received: from esebh104.NOE.Nokia.com ([172.21.143.34]) by
	esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 14 Sep 2007 17:28:24 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh104.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 14 Sep 2007 17:28:25 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] Issue 49: Finished.verify length
Date: Fri, 14 Sep 2007 17:28:24 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2404966D3F@esebe105.NOE.Nokia.com>
In-Reply-To: <20070914141809.2439533C21@delta.rtfm.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Issue 49: Finished.verify length
Thread-Index: Acf22pgrtfelhW9rToKBwV/XDLEbTQAACktA
References: <20070914090853.GA20702@tau.invalid><B356D8F434D20B40A8CEDAEC305A1F2404937712@esebe105.NOE.Nokia.com><20070914120310.GA29073@tau.invalid><B356D8F434D20B40A8CEDAEC305A1F2404937802@esebe105.NOE.Nokia.com>
	<20070914141809.2439533C21@delta.rtfm.com>
From: <Pasi.Eronen@nokia.com>
To: <ekr@networkresonance.com>
X-OriginalArrivalTime: 14 Sep 2007 14:28:25.0085 (UTC)
	FILETIME=[827D02D0:01C7F6DB]
X-Nokia-AV: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d6b246023072368de71562c0ab503126
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Eric Rescorla wrote:

> I'm still trying to understand the rationale for why it makes sense
> to have a verify_data !=3D 12 bytes. Pasi, could you elaborate?

Again, I'm not suggesting changing it from 12 bytes; just allowing
the agility to change it in the future without new TLS version.

One (somewhat hypothetical) use would be a cipher suite that tries=20
to have _everything_ at 256-bit security level (maybe for some=20
government approval reasons; not today, but maybe 5 years from now).

You might argue that this kind of security level isn't really
needed, but then again, some people seem to be willing to go
to great lengths to match these "security levels" (just think
of SHA-224.. :-)

Best regards,
Pasi

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 14:40:21 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWG5L-00080N-Vs; Fri, 14 Sep 2007 14:40:11 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWG5K-00080F-Uq
	for tls@ietf.org; Fri, 14 Sep 2007 14:40:10 -0400
Received: from [209.213.211.195] (helo=delta.rtfm.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IWG5J-0006ee-Mh
	for tls@ietf.org; Fri, 14 Sep 2007 14:40:10 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 6B09F33C21;
	Fri, 14 Sep 2007 11:36:33 -0700 (PDT)
Date: Fri, 14 Sep 2007 11:36:32 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: <Pasi.Eronen@nokia.com>
Subject: Re: [TLS] Issue 49: Finished.verify length
In-Reply-To: <B356D8F434D20B40A8CEDAEC305A1F2404966D3F@esebe105.NOE.Nokia.com>
References: <20070914090853.GA20702@tau.invalid>
	<B356D8F434D20B40A8CEDAEC305A1F2404937712@esebe105.NOE.Nokia.com>
	<20070914120310.GA29073@tau.invalid>
	<B356D8F434D20B40A8CEDAEC305A1F2404937802@esebe105.NOE.Nokia.com>
	<20070914141809.2439533C21@delta.rtfm.com>
	<B356D8F434D20B40A8CEDAEC305A1F2404966D3F@esebe105.NOE.Nokia.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070914183633.6B09F33C21@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: e5ba305d0e64821bf3d8bc5d3bb07228
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Fri, 14 Sep 2007 17:28:24 +0300,
<Pasi.Eronen@nokia.com> wrote:
> 
> Eric Rescorla wrote:
> 
> > I'm still trying to understand the rationale for why it makes sense
> > to have a verify_data != 12 bytes. Pasi, could you elaborate?
> 
> Again, I'm not suggesting changing it from 12 bytes; just allowing
> the agility to change it in the future without new TLS version.
> 
> One (somewhat hypothetical) use would be a cipher suite that tries 
> to have _everything_ at 256-bit security level (maybe for some 
> government approval reasons; not today, but maybe 5 years from now).
> 
> You might argue that this kind of security level isn't really
> needed, but then again, some people seem to be willing to go
> to great lengths to match these "security levels" (just think
> of SHA-224.. :-)

OK, I see where you're going with this, but I'm not sure it requires
us to do anything now. If we're confronted with such a cipher suite,
we can just have the document Update TLS 1.2, since it would only
be applicable to that new cipher suite. I don't think this needs
a version revision.

Unless you're proposing making this a variable length vector, whcih
seems like a bad idea, since it should be defined in the cipher
suite.
				   
-Ekr

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 15:44:56 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWH5w-0004YM-MG; Fri, 14 Sep 2007 15:44:52 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWH5u-0004YF-T1
	for tls@ietf.org; Fri, 14 Sep 2007 15:44:50 -0400
Received: from brmea-mail-4.sun.com ([192.18.98.36])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IWH5t-0000Tl-Ep
	for tls@ietf.org; Fri, 14 Sep 2007 15:44:50 -0400
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id
	l8EJimN1020711 for <tls@ietf.org>; Fri, 14 Sep 2007 19:44:48 GMT
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
	(Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
	id <0JOD00L01EI7XX00@mail-amer.sun.com>
	(original mail from Chris.Newman@Sun.COM) for tls@ietf.org; Fri,
	14 Sep 2007 13:44:48 -0600 (MDT)
Received: from [10.1.110.5] by mail-amer.sun.com
	(Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
	with ESMTPSA id <0JOD00BSNIUI5B90@mail-amer.sun.com>; Fri,
	14 Sep 2007 13:44:45 -0600 (MDT)
Date: Fri, 14 Sep 2007 12:45:51 -0700
From: Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: [TLS] Issue 56: AES as MTI
In-reply-to: <20070912232636.2B5FE33C21@delta.rtfm.com>
To: Eric Rescorla <ekr@networkresonance.com>,
	"Yee, Peter" <pyee@rsasecurity.com>
Message-id: <5E75C29FF611C298B79DC0E1@[10.1.110.5]>
MIME-version: 1.0
X-Mailer: Mulberry/3.1.6 (Mac OS X)
Content-type: text/plain; format=flowed; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
References: <20070912231150.ED1D533C21@delta.rtfm.com>
	<65C7072814858342AD0524674BCA2CDB0D2E6E3E@rsana-ex-hq2.NA.RSA.NET>
	<20070912232636.2B5FE33C21@delta.rtfm.com>
X-Spam-Score: -1.0 (-)
X-Scan-Signature: 39bd8f8cbb76cae18b7e23f7cf6b2b9f
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

As far as I can tell, the real-world MTI for SSL/TLS as deployed is RC4.  I 
dislike it when the real world MTI and the specified MTI differ and the 
specification fails to explain the difference.

It's my belief that AES-CBC is more likely to result in future alignment of the 
real-world MTI and the specified MTI than 3DES and thus I support a change from 
3DES to AES as MTI.   I would also support a change from 3DES to RC4 as MTI 
despite some concerns about the cryptographic longevity of that cipher.

                - Chris

Eric Rescorla wrote on 9/12/07 16:26 -0700:

> At Wed, 12 Sep 2007 19:27:17 -0400,
> Yee, Peter wrote:
>>
>> Just AES in general or a specific key size and mode?  I'd generally
>> favor the move, although I recognize that AES will probably be slower
>> than RC4 so there will be those who would resist the move.  Despite
>> that, I'd be in favor of AES-GCM as MTI as it's a whole lot better
>> than 3DES_EDE_CBC.
>
> The current algorithm is 3DES_EDE_CBC. I would imagine we would use
> AES_128_CBC. It's a much easier substitution than GCM and most
> TLS stacks already support AES-CBC.
>
> -Ekr
>
> _______________________________________________
> TLS mailing list
> TLS@lists.ietf.org
> https://www1.ietf.org/mailman/listinfo/tls
>





_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 17:06:06 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWIMV-0004Zv-GI; Fri, 14 Sep 2007 17:06:03 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWIMT-0004Zq-MZ
	for tls@lists.ietf.org; Fri, 14 Sep 2007 17:06:01 -0400
Received: from smtp.microsoft.com ([131.107.115.215])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IWIMS-0002TG-Fa
	for tls@lists.ietf.org; Fri, 14 Sep 2007 17:06:01 -0400
Received: from tk1-exhub-c103.redmond.corp.microsoft.com (157.56.116.114) by
	TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with
	Microsoft
	SMTP Server (TLS) id 8.1.177.2; Fri, 14 Sep 2007 14:05:59 -0700
Received: from tk5-exmlt-w602.wingroup.windeploy.ntdev.microsoft.com
	(157.54.70.14) by tk1-exhub-c103.redmond.corp.microsoft.com
	(157.56.116.114)
	with Microsoft SMTP Server id 8.1.177.1; Fri, 14 Sep 2007 14:05:59 -0700
Received: from tk5-exmlt-w600.wingroup.windeploy.ntdev.microsoft.com
	(157.54.70.135) by
	TK5-EXMLT-W602.wingroup.windeploy.ntdev.microsoft.com
	(157.54.70.14) with Microsoft SMTP Server (TLS) id 8.1.122.1;
	Fri, 14 Sep 2007 14:05:59 -0700
Received: from NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com
	([fe80:0000:0000:0000:0000:5efe:10.255.255.2]) by
	tk5-exmlt-w600.wingroup.windeploy.ntdev.microsoft.com ([157.54.70.135])
	with mapi; Fri, 14 Sep 2007 14:05:59 -0700
From: Larry Zhu <lzhu@windows.microsoft.com>
To: "martin.rex@sap.com" <martin.rex@sap.com>
Date: Fri, 14 Sep 2007 14:05:56 -0700
Subject: RE: [TLS] Review of draft-santesson-tls-gssapi-03
Thread-Topic: [TLS] Review of draft-santesson-tls-gssapi-03
Thread-Index: Acf1V82G3HK5fKy3TRaw6QmsGaiz6gBuxpiw
Message-ID: <B78121AEC3DFC949BF5080E7BCDD79F49D5D76A021@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
References: <B78121AEC3DFC949BF5080E7BCDD79F49BB7915B66@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
	from "Larry Zhu" at Sep 11, 7 07:56:16 pm
	<200709121612.l8CGC1OT007127@fs4113.wdf.sap.corp>
In-Reply-To: <200709121612.l8CGC1OT007127@fs4113.wdf.sap.corp>
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-Spam-Score: -108.0 (---------------------------------------------------)
X-Scan-Signature: 92df29fa99cf13e554b84c8374345c17
Cc: "simon@josefsson.org" <simon@josefsson.org>,
	"tls@lists.ietf.org" <tls@lists.ietf.org>
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

> Only nitpicking: In the GSS-API original design, it is possible to
> receive a context-level token after having seen GSS_S_COMPLETE from
> the local context establishment function.

Right, it should be further qualified as "context establishment tokens". th=
anks,

--larry

-----Original Message-----
From: Martin Rex [mailto:Martin.Rex@sap.com]
Sent: Wednesday, September 12, 2007 9:12 AM
To: Larry Zhu
Cc: simon@josefsson.org; tls@lists.ietf.org
Subject: Re: [TLS] Review of draft-santesson-tls-gssapi-03

Larry Zhu wrote:
>
> > 5) Does the wire protocol differentiate between GSS_S_CONTINUE_NEEDED
> > and GSS_S_COMPLETE?  I'm thinking if the initial GSS_Init_sec_context
> > call returns GSS_S_COMPLETE.  The server will call
> > GSS_Accept_sec_context which shouldn't return any data.  The server
> > sends back a 0b string.  How can the client differentiate this from whe=
n
> > GSS_Accept_sec_context returned GSS_S_CONTINUE_NEEDED?  Perhaps the
> > answer is that the client simply disconnect in this situation, but mayb=
e
> > that has to be noted.
>
> A note is added as follows:
>
>    As implied by GSS-API, a GSS-API token SHOULD NOT be received after
>    the context is established (GSS_S_COMPLETE is returned), the receiver
>    MUST tear down the connection in this case.

Only nitpicking: In the GSS-API original design, it is possible to
receive a context-level token after having seen GSS_S_COMPLETE from
the local context establishment function.

The obvious and non-controversial case has been deprecated
(the context deletion token).  The specified behaviour was too
pass this token to gss_process_context_token().

Whether or not an peer is allowed to create an context-level error
token (not a delete token) that the peer does not expect is fairly
unclear, however.  Implementations of the Kerberos 5 gssapi
mechanisms send such error tokens (containing a KRB_ERROR message)
in some situations.  I don't know whether these implementations refrain
from sending the error token if the peer does not expect it
(e.g. when the client does not request mutual authentication
 and uses an incorrect target name on a Microsoft Windows platform).


I don't know what other GSS-API mechanisms (e.g. based on SPKM)
have been doing in this area.


The one thing that is clear from the GSS-API spec is that an application
caller MUST NOT call a context establishment call (init_sec_context,
accept_sec_context) on a context for which a previous call to
the context establishment functions returned GSS_S_COMPLETE.
If at all, such a token must be consumed through gss_process_context_token(=
).
and in the two scenarios described in the GSS-API standard, the
context deletion token and the context error token, this will result
in the security context to become invalid/unusable...



-Martin


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 17:11:05 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWIRM-0001ny-Sy; Fri, 14 Sep 2007 17:11:04 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWIRL-0001nj-RU
	for tls@ietf.org; Fri, 14 Sep 2007 17:11:03 -0400
Received: from smtpout1430.sc1.he.tucows.com ([64.97.157.130]
	helo=n007.sc1.he.tucows.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IWIRK-0002g1-I2
	for tls@ietf.org; Fri, 14 Sep 2007 17:11:03 -0400
Received: from [192.168.0.5] (24.6.51.98) by n007.sc1.he.tucows.com
	(7.2.069.1) (authenticated as nelson@bolyard.com)
	id 465670BB0145F92F; Fri, 14 Sep 2007 21:11:01 +0000
Message-ID: <46EAF8E2.8090202@bolyard.com>
Date: Fri, 14 Sep 2007 14:10:58 -0700
From: Nelson B Bolyard <nelson@bolyard.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.9a5pre) Gecko/20070527 SeaMonkey/1.5a
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] Issue 56: AES as MTI
References: <20070912231150.ED1D533C21@delta.rtfm.com>	<65C7072814858342AD0524674BCA2CDB0D2E6E3E@rsana-ex-hq2.NA.RSA.NET>	<20070912232636.2B5FE33C21@delta.rtfm.com>
	<5E75C29FF611C298B79DC0E1@[10.1.110.5]>
In-Reply-To: <5E75C29FF611C298B79DC0E1@[10.1.110.5]>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: -1.0 (-)
X-Scan-Signature: b19722fc8d3865b147c75ae2495625f2
Cc: Chris Newman <Chris.Newman@Sun.COM>, "Yee, Peter" <pyee@rsasecurity.com>
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Chris Newman wrote:
> As far as I can tell, the real-world MTI for SSL/TLS as deployed is
> RC4.  I dislike it when the real world MTI and the specified MTI differ
> and the specification fails to explain the difference.

I think the RFC does not need a Mandatory Cipher Suite.  There are
different marketplaces for TLS, and each one will define its own mandatory
cipher suite.  I see no need to say that all implementations must do one.
Each implementation is intended to operate in one or more marketplaces,
and market forces will ensure that all implementations in each market will
implement the cipher suite that is the de facto standard mandatory one.

TLS 1.0 defined TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA and the eCommerce
marketplace utterly ignored that.  Several implementations STILL do not
implement that cipher suite to this day, yet that has not resulted in a
lack of interoperability.  Interoperability for eCommerce has employed
the RSA+RC4 cipher suites, as Chris noted.

> It's my belief that AES-CBC is more likely to result in future alignment
> of the real-world MTI and the specified MTI than 3DES and thus I support
> a change from 3DES to AES as MTI.   I would also support a change from
> 3DES to RC4 as MTI despite some concerns about the cryptographic
> longevity of that cipher.

Going forward, it's clear that in some markets, AES will be mandated to
the exclusion of all else, but in others RC4 will still dominate.

I suggest that the RFC should call for the development of profiles of TLS,
selected subsets of cipher suites, hello extensions, and perhaps EC curves
that will form the basis for interoperability for implementations within
the marketplace of each profile.

/Nelson

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 17:17:37 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWIXg-0004Yr-1c; Fri, 14 Sep 2007 17:17:36 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWIXe-0004YS-Cj
	for tls@ietf.org; Fri, 14 Sep 2007 17:17:34 -0400
Received: from sceptre.pobox.com ([207.106.133.20])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IWIXd-0003Fl-7y
	for tls@ietf.org; Fri, 14 Sep 2007 17:17:34 -0400
Received: from sceptre (localhost.localdomain [127.0.0.1])
	by sceptre.pobox.com (Postfix) with ESMTP id A5AA22FA
	for <tls@ietf.org>; Fri, 14 Sep 2007 17:17:54 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by sceptre.sasl.smtp.pobox.com (Postfix) with ESMTP id 773067E9B8
	for <tls@ietf.org>; Fri, 14 Sep 2007 17:17:54 -0400 (EDT)
Message-ID: <46EAFA60.3000402@pobox.com>
Date: Fri, 14 Sep 2007 14:17:20 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] Issue 56: AES as MTI
References: <20070912231150.ED1D533C21@delta.rtfm.com>
	<65C7072814858342AD0524674BCA2CDB0D2E6E3E@rsana-ex-hq2.NA.RSA.NET>
	<20070912232636.2B5FE33C21@delta.rtfm.com>
	<5E75C29FF611C298B79DC0E1@[10.1.110.5]>
In-Reply-To: <5E75C29FF611C298B79DC0E1@[10.1.110.5]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7bac9cb154eb5790ae3b2913587a40de
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

> As far as I can tell, the real-world MTI for SSL/TLS as deployed is 
> RC4.

Yes, I've noticed this in my testing.  Many servers will pick RC4_MD5
even though it is last in my cipher list.  Examples are apple.com,
ibm.com, amazon.com, verisign.com.  When confronted with only AES
ciphers, most will negotiate it, but, for example, Verisign won't
(they do support 3DES though).

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 17:23:19 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWIdC-0004F9-Co; Fri, 14 Sep 2007 17:23:18 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWIdB-00049H-6z
	for tls@lists.ietf.org; Fri, 14 Sep 2007 17:23:17 -0400
Received: from mail1.microsoft.com ([131.107.115.212] helo=smtp.microsoft.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IWId9-0003bG-T5
	for tls@lists.ietf.org; Fri, 14 Sep 2007 17:23:17 -0400
Received: from tk1-exhub-c104.redmond.corp.microsoft.com (157.56.116.117) by
	TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with
	Microsoft
	SMTP Server (TLS) id 8.1.177.2; Fri, 14 Sep 2007 14:23:15 -0700
Received: from tk5-exmlt-w602.wingroup.windeploy.ntdev.microsoft.com
	(157.54.70.14) by tk1-exhub-c104.redmond.corp.microsoft.com
	(157.56.116.117)
	with Microsoft SMTP Server id 8.1.177.1; Fri, 14 Sep 2007 14:23:15 -0700
Received: from NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com
	([fe80::5efe:10.255.255.2]) by
	tk5-exmlt-w602.wingroup.windeploy.ntdev.microsoft.com ([::1]) with mapi;
	Fri, 14 Sep 2007 14:23:14 -0700
From: Larry Zhu <lzhu@windows.microsoft.com>
To: Simon Josefsson <simon@josefsson.org>
Date: Fri, 14 Sep 2007 14:23:12 -0700
Thread-Topic: Review of draft-santesson-tls-gssapi-03
Thread-Index: Acf1Bc2ABRdp6GMYSB+i5kpjNWRJKgCDqc1Q
Message-ID: <B78121AEC3DFC949BF5080E7BCDD79F49D5D76A055@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
References: <87bqc9k3xy.fsf@mocca.josefsson.org>
	<B78121AEC3DFC949BF5080E7BCDD79F49BB7915A39@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
	<87abrse6y9.fsf@mocca.josefsson.org>
In-Reply-To: <87abrse6y9.fsf@mocca.josefsson.org>
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-Spam-Score: -108.0 (---------------------------------------------------)
X-Scan-Signature: e178fd6cb61ffb6940cd878e7fea8606
Cc: "tls@lists.ietf.org" <tls@lists.ietf.org>
Subject: [TLS] RE: Review of draft-santesson-tls-gssapi-03
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Simon Josefsson wrote:
> do you think this is better? Thanks.

> Ah, I see.  You fail to specify the size of the length field though.  I w=
ould prefer to make the token explicit though, by adding e.g.:
>
>        struct {
>            opaque gss_api_data<0..2^32-1>;
>        } GSSAPIExtensionData;
The size of the length field is defined in section 2.3 of RFC3546. It is 2 =
in octets.


> If you want to have this field, you need to specify how implementations
> should behave if multiple TokenTransfer tokens are received during the
> handshake and when only some of them contain supported token_type's.
> Otherwise this structure can never be used in any future extension in a
> reliable way.

A new value would indicate a new handshake message. I would make this clear=
, hopefully that addresses your comments w.r.t. this point.

Assuming that, all your comments have been addressed to your satisfactory, =
right?

-----Original Message-----
From: Simon Josefsson [mailto:simon@josefsson.org]
Sent: Tuesday, September 11, 2007 11:25 PM
To: Larry Zhu
Cc: tls@lists.ietf.org
Subject: Re: Review of draft-santesson-tls-gssapi-03

Larry Zhu <lzhu@windows.microsoft.com> writes:

>> 1) One major concern I have is that section 6 specifies a new GSS-API
>> mechanism that appear to be mostly unrelated the specification of the
>> gss_api TLS extension.
>
> This was added to address Martin's comments. I had offline email with Mar=
tin, Sam, and Pasi, in which I proposed
> to use TLS-renegotiation to replace section 6. In other words, section 6 =
is completely removed in -04, with the following new text added in the sect=
ion related to how to choose a GSS mechanism.
>
>    It is generally beneficial to provide privacy protection for
>    mechanisms that send client identifiers in the clear.  Furthermore,
>    encrypting the GSS-API data can improve the strength of the overall
>    systems, and when applicable complicate offline dictionary attacks
>    against users' secrets based on which the keying materials are
>    derived.  Therefore unless otherwise specified, TLS-renegotiation as
>    defined in section 7.4.1.1 of [RFC4346] MUST be used to encrypt the
>    GSS data in FXA-TLS gss_api extension.  This implies that the client
>    and server negotiate FKA-TLS after completing a certificate-based
>    TLS-handshake, typically to facilitate client authentication.

I like this.

This text leads to an even stronger argument for permitting X.509 client
authentication in the first authentication step.  Otherwise you are
vulnerable to tunneling attacks of the GSS-API authentication step since
there appear to be no channel binding used.

Btw, I forgot to bring up channel bindings.  Have you considered
supporting it?  It is not critical to me, I consider X.509 or OpenPGP
authentication sufficient to solve the tunnel problem.

> I can see the confusion in the original text. What do you think of the up=
dated text for this here?
>
>
>    Initially the client computes the gss_api TLS extension data by
>    calling GSS_Init_sec_context() [RFC2743] to establish a security
>    context.  The TLS client MUST set the mutual_req_flag and identify
>    the server by targ_name so that mutual authentication is performed in
>    the course of context establishment.  The extension_data from the
>    client contains the output token of GSS_Init_sec_context().
>
>    If a GSS-API context cannot be established, the gss_api TLS extension
>    MUST NOT be included in the client hello message and it is a matter
>    of local policy on the client whether to continue or reject the TLS
>    authentication.

I like this.

>    Unless otherwise specified, the PSK key exchange described in Section
>    2 of [RFC4279] MUST NOT be selected if the mutual authentication MAY
>    NOT be available on the established GSS-API context, and the DHE_PSK
>    or RSA_PSK key exchange MUST be negotiated instead in order to
>    authenticate the server.

What does this imply in practice?  If GSS_Init_sec_context clears the
mutual_state flag after the first invocation (but before GSS_S_COMPLETE
or PROT_READY), is the client required ("MUST NOT") to not use PSK?  The
GSS-API specification says the mutual_state value is undefined in this
case, section 2.2.1 of RFC 2743:

   Not all of the optionally-requestable features will be available in
   all underlying mech_types. The corresponding return state values
   deleg_state, mutual_state, replay_det_state, and sequence_state
   indicate, as a function of mech_type processing capabilities and
   initiator-provided input flags, the set of features which will be
   active on the context.  ... These state indicators' values are
   undefined unless either the routine's major_status indicates
   GSS_S_COMPLETE, or TRUE prot_ready_state is returned along with
   GSS_S_CONTINUE_NEEDED major_status

This would lead to false positives rejecting PSK.

One solution is for implementation to only enable PSK for GSS-API
mechanisms which it knows out of band will lead to mutual
authentication, and to reject the session if the mechanism eventuelly
didn't lead to mutual authentication.

>    Because mutual authentication (if requested) cannot be guaranteed
>    until GSS_S_COMPLETE is returned, typically through multiple
>    invocations of GSS_Init_sec_context() calls, the PSK key exchange
>    is allowed only through additional specifications unless the server
>    authentication is provided a-priori and outside of the GSS-API
>    exchange.  For example, when FKA-TLS is negotiated via
>    TLS-renegotiation per Section 5, the server authentication may be
>    provided before the initial GSS-API context establishment token.

After re-reading this a few times, I think it may be saying what I
concluded in my last paragraph.  I'm not sure of this though.

> the motivation of this text is to allow PSK key exchange to be used
> when Kerberos is selected.  We are trying to build a mechanism that
> does not use certifications, and GSS-API does not guarantee mutual
> auth in the first init call as you noted, hence we had the awkward
> text. Now do you think you understand the intention of this text?

Yes I think so.

>> Section 3 also says:
>
>>   o  If the server key exchange message is present, the PSK identity
>>      hint as defined in Section 5.2 of [RFC4279] MUST be empty, and it
>>      MUST be ignored by the client.
>
>> I see no reason for the client to ignore this?  If the server MUST send
>> an empty PSK identity, the client should reject anything else.
>> Alternatively, change the MUST to SHOULD if there are situations where
>> the PSK identity will not be empty.
>
> It is fine to change the MUST to SHOULD. That is in-line with the IETF
> tenet that the original text intends to describe.

Ok.  Are there any examples of when it would ever be useful to use a PSK
identity?  Anonymous GSS-API mechanism?  If you know of any example
where this could be useful, adding it would help the understanding.

>> 4) The definition of the data structure for the gss_api extension data
>> appear to be missing from the document.  I assume it is identical to the
>> TokenTransfer structure?  I suggest adding a note describing this where
>> the gss_api ExtensionType is described.
>
> I suspect that the confusion here is related to the use of the TLS type o=
paque. I would rephrase the original text as follows:
>
>    The gss_api TLS extension is defined according to [RFC3546].  The
>    extension data for the gss_api extension type contains a GSS-API conte=
xt establishment token.
>   GSS-API tokens are thus carried within the TLS hello messages.
>
>
>      enum {
>          gss_api(54321), (65535)
>      } ExtensionType;
>
>    The payload of the gss_api extension is an GSS-API token.  In other
>    words, the length of the byte vector (the TLS type opaque) for the ext=
ension data is the
>    length of the GSS-API token and the content of the byte vector
>    contains exactly the content of the GSS-API token.
>
> do you think this is better? Thanks.

Ah, I see.  You fail to specify the size of the length field though.  I
would prefer to make the token explicit though, by adding e.g.:

        struct {
            opaque gss_api_data<0..2^32-1>;
        } GSSAPIExtensionData;

>> 5) Does the wire protocol differentiate between GSS_S_CONTINUE_NEEDED
>> and GSS_S_COMPLETE?  I'm thinking if the initial GSS_Init_sec_context
>> call returns GSS_S_COMPLETE.  The server will call
>> GSS_Accept_sec_context which shouldn't return any data.  The server
>> sends back a 0b string.  How can the client differentiate this from when
>> GSS_Accept_sec_context returned GSS_S_CONTINUE_NEEDED?  Perhaps the
>> answer is that the client simply disconnect in this situation, but maybe
>> that has to be noted.
>
> A note is added as follows:
>
>    As implied by GSS-API, a GSS-API token SHOULD NOT be received after
>    the context is established (GSS_S_COMPLETE is returned), the receiver
>    MUST tear down the connection in this case.

Hm.  How would this work in the following situation?

  Client Hello   ------>
  GSS_Init_sec_context returns
  GSS_S_COMPLETE and a data buffer

                             <---------    Server Hello
                                           GSS_Accept_sec_context
                                           returns GSS_S_COMPLETE
                                           What to include in gss_api?

If the server doesn't send a gss_api extension token, the client doesn't
know that the server supported the GSS-API extension.

If the server sends a 0b token, the client will tear down the connection
because it cannot differentiate this from when the
GSS_Accept_sec_context did not return an additional token.

The gss_api data in the ServerHello may need to include a boolean saying
whether there actually was data returned or not:

        struct {
            opaque gss_api_data<0..2^32-1>;
            boolean finished;
        } GSSAPIExtensionData;

A similar problem may exist in the TokenTransfer handshake messages --
what if the client is waiting for the server to send something but the
server believes it is finished?  The session will eventually time out,
but that is poor error handling.  This would be avoided if the
gss_api_token tokens in TokenTransfer structure contained the
GSSAPIExtensionData structure above with a boolean 'finished'.

There may be simpler solutions to this problem though.

>> 6) What purpose does the TokenTransferType serve?  It is never discussed
>> in the text.  It appears to be designed to allow non-GSS-API tokens in
>> the future.  I don't think that would be a good idea.  I would prefer
>> that the TokenTransferType was dropped from the document.
>
> The following text is added:
>
>    The TokenTransferType field allows future extensions of the
>    TokenTransfer handshake message.  The gss_api_token type is the only
>    value defiend in this document.
>
> The motivation is that the # of handshake messages is perceived as limite=
d. Here by adding the
> TokenTransferType field, we effectively add 254 new handshake messages to=
 the TLS protocol. One should be frugal when the resources are plenty, shou=
ldn't she?

I believe this is the wrong place to solve that problem.  I also
disagree that it actually is a problem.  The HandShakeType namespace is
not close to running out.  Less than 10% of the values have been
allocated today (0-23 allocated, 24-255 unallocated according to IANA).

If you want to have this field, you need to specify how implementations
should behave if multiple TokenTransfer tokens are received during the
handshake and when only some of them contain supported token_type's.
Otherwise this structure can never be used in any future extension in a
reliable way.

/Simon


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 17:47:37 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWJ0i-0000Ee-P2; Fri, 14 Sep 2007 17:47:36 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWJ0h-0000EX-2u
	for tls@ietf.org; Fri, 14 Sep 2007 17:47:35 -0400
Received: from [209.213.211.195] (helo=delta.rtfm.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IWJ0f-00046E-RF
	for tls@ietf.org; Fri, 14 Sep 2007 17:47:35 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 27C8633C21;
	Fri, 14 Sep 2007 14:43:58 -0700 (PDT)
Date: Fri, 14 Sep 2007 14:43:57 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: Nelson B Bolyard <nelson@bolyard.com>
Subject: Re: [TLS] Issue 56: AES as MTI
In-Reply-To: <46EAF8E2.8090202@bolyard.com>
References: <20070912231150.ED1D533C21@delta.rtfm.com>
	<65C7072814858342AD0524674BCA2CDB0D2E6E3E@rsana-ex-hq2.NA.RSA.NET>
	<20070912232636.2B5FE33C21@delta.rtfm.com>
	<5E75C29FF611C298B79DC0E1@[10.1.110.5]>
	<46EAF8E2.8090202@bolyard.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070914214358.27C8633C21@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: cf4fa59384e76e63313391b70cd0dd25
Cc: Chris Newman <Chris.Newman@Sun.COM>, tls@ietf.org, "Yee,
	Peter" <pyee@rsasecurity.com>
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Fri, 14 Sep 2007 14:10:58 -0700,
Nelson B Bolyard wrote:
> 
> Chris Newman wrote:
> > As far as I can tell, the real-world MTI for SSL/TLS as deployed is
> > RC4.  I dislike it when the real world MTI and the specified MTI differ
> > and the specification fails to explain the difference.
> 
> I think the RFC does not need a Mandatory Cipher Suite.

I don't believe that that's on the table. As I understand IESG
policy, it's that there must be a Mandatory To Implement cipher
suite. Tim? Sam?

-Ekr


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 17:59:49 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWJCW-00077w-Th; Fri, 14 Sep 2007 17:59:48 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWJCU-00077T-Sm
	for tls@ietf.org; Fri, 14 Sep 2007 17:59:46 -0400
Received: from [209.213.211.195] (helo=delta.rtfm.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IWJCU-0006sx-GH
	for tls@ietf.org; Fri, 14 Sep 2007 17:59:46 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 0342933C21;
	Fri, 14 Sep 2007 14:56:10 -0700 (PDT)
Date: Fri, 14 Sep 2007 14:56:10 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: <Pasi.Eronen@nokia.com>
Subject: Re: [TLS] TLS 1.2 hash agility
In-Reply-To: <B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070914215611.0342933C21@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: c1c65599517f9ac32519d043c37c5336
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Thu, 9 Aug 2007 12:34:07 +0300,
<Pasi.Eronen@nokia.com> wrote:
> 
> Mike (mike-list@pobox.com) wrote:
> 
> > I think the solution we need is to specifically list each supported
> > signature algorithm, e.g.
> > 
> >      enum {
> >        rsa_with_md5(0),    rsa_with_sha1(1),
> >        rsa_with_sha256(2), rsa_with_sha384(3),
> >        rsa_with_sha512(4), dsa_with_sha1(5),
> >        (65535)
> >      };
> > 
> > These may not be specific enough, as I've seen suggestions for,
> > e.g. rsa_pkcs1v1_5_with_sha1, and I've heard that some algorithms
> > need parameters, but I think I've made my point.
> 
> I think your suggestion looks good; it seems to handle the DSA and
> ECDSA cases better than just a list of hashes, and it's more
> in TLS style than sending DER-encoded AlgorithmIdentifiers. 
> And then we could change Signature structure to
> 
>    struct {
>       SignatureAlgorithm signature_algorithm;
>       opaque signature_value<0..2^16-1>;
>    } Signature;  
> 
> Eric, what's your opinion?

OK, I started trying to wire this into TLS and it's messy.
There are three contexts we have to think about:

- Certs (from either side)
- CertificateVerify
- ServerKeyExchange

The difficulty is that the latter two already have signals indicating
what acceptable signature algorithms are, in the ClientCertificateType,
and the ciphersuite respectively. So, we either need to significantly
reconstruct those or have duplication of information, with the 
result that you have to potentially deal with mismatched information,
e.g., only offering RSA in the SKE, but offering RSA and DSA in the
new value.

-Ekr

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 18:50:43 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWJzi-0006hx-C1; Fri, 14 Sep 2007 18:50:38 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWJzh-0006hp-4p
	for tls@ietf.org; Fri, 14 Sep 2007 18:50:37 -0400
Received: from sceptre.pobox.com ([207.106.133.20])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IWJzg-0000LC-Ou
	for tls@ietf.org; Fri, 14 Sep 2007 18:50:36 -0400
Received: from sceptre (localhost.localdomain [127.0.0.1])
	by sceptre.pobox.com (Postfix) with ESMTP id EFDA12EF
	for <tls@ietf.org>; Fri, 14 Sep 2007 18:50:57 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by sceptre.sasl.smtp.pobox.com (Postfix) with ESMTP id BF6C77EE1D
	for <tls@ietf.org>; Fri, 14 Sep 2007 18:50:57 -0400 (EDT)
Message-ID: <46EB102E.2070900@pobox.com>
Date: Fri, 14 Sep 2007 15:50:22 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] TLS 1.2 hash agility
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
In-Reply-To: <20070914215611.0342933C21@delta.rtfm.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 69a74e02bbee44ab4f8eafdbcedd94a1
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

>>> I think the solution we need is to specifically list each supported
>>> signature algorithm, e.g.
>>>
>>>      enum {
>>>        rsa_with_md5(0),    rsa_with_sha1(1),
>>>        rsa_with_sha256(2), rsa_with_sha384(3),
>>>        rsa_with_sha512(4), dsa_with_sha1(5),
>>>        (65535)
>>>      };
>>
>> And then we could change Signature structure to
>>
>>    struct {
>>       SignatureAlgorithm signature_algorithm;
>>       opaque signature_value<0..2^16-1>;
>>    } Signature;  
>>
>> Eric, what's your opinion?
> 
> OK, I started trying to wire this into TLS and it's messy.
> There are three contexts we have to think about:
> 
> - Certs (from either side)
> - CertificateVerify
> - ServerKeyExchange
> 
> The difficulty is that the latter two already have signals indicating
> what acceptable signature algorithms are, in the ClientCertificateType,
> and the ciphersuite respectively. So, we either need to significantly
> reconstruct those or have duplication of information, with the 
> result that you have to potentially deal with mismatched information,
> e.g., only offering RSA in the SKE, but offering RSA and DSA in the
> new value.

I think this information is disjoint.  For example, you can have a DSA
key in a certificate that is signed by RSA/SHA-1.

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 18:59:46 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWK8W-00023F-V8; Fri, 14 Sep 2007 18:59:44 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWK8U-00022e-TJ
	for tls@ietf.org; Fri, 14 Sep 2007 18:59:42 -0400
Received: from [209.213.211.195] (helo=delta.rtfm.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IWK8T-0006nW-NL
	for tls@ietf.org; Fri, 14 Sep 2007 18:59:42 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 9E9B433C21;
	Fri, 14 Sep 2007 15:56:06 -0700 (PDT)
Date: Fri, 14 Sep 2007 15:56:05 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: Mike <mike-list@pobox.com>
Subject: Re: [TLS] TLS 1.2 hash agility
In-Reply-To: <46EB102E.2070900@pobox.com>
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070914225606.9E9B433C21@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 4d87d2aa806f79fed918a62e834505ca
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Fri, 14 Sep 2007 15:50:22 -0700,
Mike wrote:
> 
> >>> I think the solution we need is to specifically list each supported
> >>> signature algorithm, e.g.
> >>>
> >>>      enum {
> >>>        rsa_with_md5(0),    rsa_with_sha1(1),
> >>>        rsa_with_sha256(2), rsa_with_sha384(3),
> >>>        rsa_with_sha512(4), dsa_with_sha1(5),
> >>>        (65535)
> >>>      };
> >>
> >> And then we could change Signature structure to
> >>
> >>    struct {
> >>       SignatureAlgorithm signature_algorithm;
> >>       opaque signature_value<0..2^16-1>;
> >>    } Signature;  
> >>
> >> Eric, what's your opinion?
> > 
> > OK, I started trying to wire this into TLS and it's messy.
> > There are three contexts we have to think about:
> > 
> > - Certs (from either side)
> > - CertificateVerify
> > - ServerKeyExchange
> > 
> > The difficulty is that the latter two already have signals indicating
> > what acceptable signature algorithms are, in the ClientCertificateType,
> > and the ciphersuite respectively. So, we either need to significantly
> > reconstruct those or have duplication of information, with the 
> > result that you have to potentially deal with mismatched information,
> > e.g., only offering RSA in the SKE, but offering RSA and DSA in the
> > new value.
> 
> I think this information is disjoint. For example, you can have a DSA
> key in a certificate that is signed by RSA/SHA-1.

Yes, that's why I separated certificates from the other two situations.

Currently (in TLS 1.1) there are basically no restrictions on what
algorithms are used to sign the certs.

The ciphersuite and the ClientCertificateType indicate only the 
public key algorithm and not the hash algorithm.

So, we need to extend all three cases, to indicate the hash algorithms
that are supported.

-Ekr

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 19:34:52 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWKgL-0005za-5F; Fri, 14 Sep 2007 19:34:41 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWKgJ-0005zT-6t
	for tls@ietf.org; Fri, 14 Sep 2007 19:34:39 -0400
Received: from woodstock.binhost.com ([66.150.120.2])
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1IWKgI-0007p7-1d
	for tls@ietf.org; Fri, 14 Sep 2007 19:34:39 -0400
Received: (qmail 29029 invoked by uid 0); 14 Sep 2007 23:34:29 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.231.48.203)
	by woodstock.binhost.com with SMTP; 14 Sep 2007 23:34:29 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Fri, 14 Sep 2007 19:34:33 -0400
To: Eric Rescorla <ekr@networkresonance.com>,
	Nelson B Bolyard <nelson@bolyard.com>
From: Russ Housley <housley@vigilsec.com>
Subject: Re: [TLS] Issue 56: AES as MTI
In-Reply-To: <20070914214358.27C8633C21@delta.rtfm.com>
References: <20070912231150.ED1D533C21@delta.rtfm.com>
	<65C7072814858342AD0524674BCA2CDB0D2E6E3E@rsana-ex-hq2.NA.RSA.NET>
	<20070912232636.2B5FE33C21@delta.rtfm.com>
	<5E75C29FF611C298B79DC0E1@[10.1.110.5]>
	<46EAF8E2.8090202@bolyard.com>
	<20070914214358.27C8633C21@delta.rtfm.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 0.0 (/)
X-Scan-Signature: ea4ac80f790299f943f0a53be7e1a21a
Cc: Chris Newman <Chris.Newman@Sun.COM>, tls@ietf.org, "Yee,
	Peter" <pyee@rsasecurity.com>
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org
Message-Id: <E1IWKgL-0005za-5F@megatron.ietf.org>

This has always been the case.  It ensures that there is a 
ciphersuite that can be negotiated between all implementations 
(unless it is explicitly turned off by policy controls).

Russ


At 05:43 PM 9/14/2007, Eric Rescorla wrote:
>At Fri, 14 Sep 2007 14:10:58 -0700,
>Nelson B Bolyard wrote:
> >
> > Chris Newman wrote:
> > > As far as I can tell, the real-world MTI for SSL/TLS as deployed is
> > > RC4.  I dislike it when the real world MTI and the specified MTI differ
> > > and the specification fails to explain the difference.
> >
> > I think the RFC does not need a Mandatory Cipher Suite.
>
>I don't believe that that's on the table. As I understand IESG
>policy, it's that there must be a Mandatory To Implement cipher
>suite. Tim? Sam?
>
>-Ekr
>
>
>_______________________________________________
>TLS mailing list
>TLS@lists.ietf.org
>https://www1.ietf.org/mailman/listinfo/tls


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 20:31:28 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWLZF-00040C-G8; Fri, 14 Sep 2007 20:31:25 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWLZE-0003we-7b
	for tls@ietf.org; Fri, 14 Sep 2007 20:31:24 -0400
Received: from brmea-mail-2.sun.com ([192.18.98.43])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IWLZD-0004Kf-5i
	for tls@ietf.org; Fri, 14 Sep 2007 20:31:24 -0400
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id
	l8F0VMbw009872 for <tls@ietf.org>; Sat, 15 Sep 2007 00:31:22 GMT
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
	(Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
	id <0JOD00201W335U00@mail-amer.sun.com>
	(original mail from Chris.Newman@Sun.COM) for tls@ietf.org; Fri,
	14 Sep 2007 18:31:22 -0600 (MDT)
Received: from [10.1.110.5] by mail-amer.sun.com
	(Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
	with ESMTPSA id <0JOD00BDXW455BD0@mail-amer.sun.com>; Fri,
	14 Sep 2007 18:31:20 -0600 (MDT)
Date: Fri, 14 Sep 2007 17:32:26 -0700
From: Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: [TLS] Issue 56: AES as MTI
In-reply-to: <46EAF8E2.8090202@bolyard.com>
To: Nelson B Bolyard <nelson@bolyard.com>, tls@ietf.org
Message-id: <BD3C2076F4105E05B728EA42@[10.1.110.5]>
MIME-version: 1.0
X-Mailer: Mulberry/3.1.6 (Mac OS X)
Content-type: text/plain; format=flowed; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
References: <20070912231150.ED1D533C21@delta.rtfm.com>
	<65C7072814858342AD0524674BCA2CDB0D2E6E3E@rsana-ex-hq2.NA.RSA.NET>
	<20070912232636.2B5FE33C21@delta.rtfm.com>
	<5E75C29FF611C298B79DC0E1@[10.1.110.5]> <46EAF8E2.8090202@bolyard.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f607d15ccc2bc4eaf3ade8ffa8af02a0
Cc: "Yee, Peter" <pyee@rsasecurity.com>
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Nelson B Bolyard wrote on 9/14/07 14:10 -0700:

> Chris Newman wrote:
>> As far as I can tell, the real-world MTI for SSL/TLS as deployed is
>> RC4.  I dislike it when the real world MTI and the specified MTI differ
>> and the specification fails to explain the difference.
>
> I think the RFC does not need a Mandatory Cipher Suite.  There are
> different marketplaces for TLS, and each one will define its own mandatory
> cipher suite.  I see no need to say that all implementations must do one.
> Each implementation is intended to operate in one or more marketplaces,
> and market forces will ensure that all implementations in each market will
> implement the cipher suite that is the de facto standard mandatory one.
>
> TLS 1.0 defined TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA and the eCommerce
> marketplace utterly ignored that.  Several implementations STILL do not
> implement that cipher suite to this day, yet that has not resulted in a
> lack of interoperability.  Interoperability for eCommerce has employed
> the RSA+RC4 cipher suites, as Chris noted.

This was a mistake the IETF made in TLS 1.0 due to patent issues.  The RSA 
patent had not expired when TLS 1.0 was published so there was a desire for an 
interoperable patent-free mechanism.  The fact the marketplace cared a lot more 
about performance than patents/licensing is telling and should inform future 
IETF behavior when such situations arise.  Regardless I would like to see that 
mistake corrected honestly in the specification.

>> It's my belief that AES-CBC is more likely to result in future alignment
>> of the real-world MTI and the specified MTI than 3DES and thus I support
>> a change from 3DES to AES as MTI.   I would also support a change from
>> 3DES to RC4 as MTI despite some concerns about the cryptographic
>> longevity of that cipher.
>
> Going forward, it's clear that in some markets, AES will be mandated to
> the exclusion of all else, but in others RC4 will still dominate.

If that's the case, I would like the document to say something to that effect. 
Being silent about the dominance of RC4 makes the specification negligent about 
real world interoperability.

> I suggest that the RFC should call for the development of profiles of TLS,
> selected subsets of cipher suites, hello extensions, and perhaps EC curves
> that will form the basis for interoperability for implementations within
> the marketplace of each profile.

I think the base TLS spec needs one or more mandatory to implement cipher 
suites that will be present in generic TLS stacks and will interoperate in 
emerging/experimental marketplaces that don't have a specific profile. 
Frankly, I don't trust spec writers to remember to always set a MITM 
appropriate for the protocol that uses TLS so I want to see an interoperable 
fallback in the base specifications.  However, I have no problem with 
marketplace-specific profiles replacing the mandatory-to-implement requirements 
with different ones and to the extent this better reflects reality, I'd like to 
see more of it in the IETF.

For example, RFC 3501 section 11.1 adjusts the MITM requirements for TLS when 
used with IMAP.  Our rules would seem to permit that.

                - Chris


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 21:33:27 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWMX4-0007Kc-Ci; Fri, 14 Sep 2007 21:33:14 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWMX3-0007Fz-0n
	for tls@ietf.org; Fri, 14 Sep 2007 21:33:13 -0400
Received: from smtpout1471.sc1.he.tucows.com ([64.97.157.171]
	helo=n007.sc1.he.tucows.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IWMX1-0003EI-NN
	for tls@ietf.org; Fri, 14 Sep 2007 21:33:13 -0400
Received: from [192.168.0.5] (24.6.51.98) by n007.sc1.he.tucows.com
	(7.2.069.1) (authenticated as nelson@bolyard.com)
	id 465670BB01468F2C; Sat, 15 Sep 2007 01:33:09 +0000
Message-ID: <46EB364D.70306@bolyard.com>
Date: Fri, 14 Sep 2007 18:33:01 -0700
From: Nelson B Bolyard <nelson@bolyard.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.9a5pre) Gecko/20070527 SeaMonkey/1.5a
MIME-Version: 1.0
To: Russ Housley <housley@vigilsec.com>
Subject: Re: [TLS] Issue 56: AES as MTI
References: <20070912231150.ED1D533C21@delta.rtfm.com>
	<65C7072814858342AD0524674BCA2CDB0D2E6E3E@rsana-ex-hq2.NA.RSA.NET>
	<20070912232636.2B5FE33C21@delta.rtfm.com>
	<5E75C29FF611C298B79DC0E1@[10.1.110.5]>
	<46EAF8E2.8090202@bolyard.com>
	<20070914214358.27C8633C21@delta.rtfm.com>
	<46EAB54E00062316@n024.sc1.he.tucows.com> (added by
	postmaster@bouncemessage.net)
In-Reply-To: <46EAB54E00062316@n024.sc1.he.tucows.com> (added by
	postmaster@bouncemessage.net)
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: -1.0 (-)
X-Scan-Signature: 7d33c50f3756db14428398e2bdedd581
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Russ Housley wrote:
> This has always been the case.  It ensures that there is a ciphersuite
> that can be negotiated between all implementations (unless it is
> explicitly turned off by policy controls).

And this is important why?

It is important that all implementations that must work in (say) US DOD
government installations (where AES is mandated exclusively) must all
use AES so that they can interoperate.  That market requires that they
interoperate.

It is important that in the field of eCommerce, where everyone uses RC4,
that implementations use RC4 so that they can interoperate for eCommerce.

An implementation that does RC4 and not AES will work fine in eCommerce
and not in the DOD.  An implementation that does AES only and not RC4
will not work with quite a few eCommerce servers out there.  So what?

Why do we need to impose interoperability requirements that the markets
themselves do not demand?

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 14 22:07:45 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWN4Q-0001md-Mx; Fri, 14 Sep 2007 22:07:42 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWN4O-0001mX-Or
	for tls@ietf.org; Fri, 14 Sep 2007 22:07:40 -0400
Received: from sca-ea-mail-1.sun.com ([192.18.43.24])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IWN4N-0003tL-Eh
	for tls@ietf.org; Fri, 14 Sep 2007 22:07:40 -0400
Received: from centralmail3brm.Central.Sun.COM ([129.147.62.199])
	by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id
	l8F27a9r018675 for <tls@ietf.org>; Sat, 15 Sep 2007 02:07:36 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104])
	by centralmail3brm.Central.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,
	v2.2) with ESMTP id l8F27ade022777
	for <tls@ietf.org>; Fri, 14 Sep 2007 20:07:36 -0600 (MDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1])
	by binky.Central.Sun.COM (8.14.1+Sun/8.14.1) with ESMTP id
	l8F27ZXN002365; Fri, 14 Sep 2007 21:07:35 -0500 (CDT)
Received: (from nw141292@localhost)
	by binky.Central.Sun.COM (8.14.1+Sun/8.14.1/Submit) id l8F27ZVR002364; 
	Fri, 14 Sep 2007 21:07:35 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to
	Nicolas.Williams@sun.com using -f
Date: Fri, 14 Sep 2007 21:07:35 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Nelson B Bolyard <nelson@bolyard.com>
Subject: Re: [TLS] Issue 56: AES as MTI
Message-ID: <20070915020734.GB2349@Sun.COM>
References: <20070912231150.ED1D533C21@delta.rtfm.com>
	<65C7072814858342AD0524674BCA2CDB0D2E6E3E@rsana-ex-hq2.NA.RSA.NET>
	<20070912232636.2B5FE33C21@delta.rtfm.com>
	<5E75C29FF611C298B79DC0E1@[10.1.110.5]>
	<46EAF8E2.8090202@bolyard.com>
	<20070914214358.27C8633C21@delta.rtfm.com>
	<46EAB54E00062316@n024.sc1.he.tucows.com>
	<46EB364D.70306@bolyard.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <46EB364D.70306@bolyard.com>
User-Agent: Mutt/1.5.7i
X-Spam-Score: -1.0 (-)
X-Scan-Signature: e8a67952aa972b528dd04570d58ad8fe
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

On Fri, Sep 14, 2007 at 06:33:01PM -0700, Nelson B Bolyard wrote:
> Russ Housley wrote:
> > This has always been the case.  It ensures that there is a ciphersuite
> > that can be negotiated between all implementations (unless it is
> > explicitly turned off by policy controls).
> 
> And this is important why?

I think we could certainly have a base protocol w/o MTIs and then
various profiles which specify MTIs.  If we had to, and if there were
truly distinct non-big-i internets using different subsets of TLS.

But as it is I just don't see why we couldn't have some MTIs period.

> It is important that all implementations that must work in (say) US DOD
> government installations (where AES is mandated exclusively) must all
> use AES so that they can interoperate.  That market requires that they
> interoperate.

The big-i Internet requires interop.  It's a very heterogeneous
environment, and there aren't any heads of IT for it.

And DOD wants AES not for interop but for security.  They want interop
too, of course.

> It is important that in the field of eCommerce, where everyone uses RC4,
> that implementations use RC4 so that they can interoperate for eCommerce.

Not that they use RC4 -- that they support RC4.

> An implementation that does RC4 and not AES will work fine in eCommerce
> and not in the DOD.  An implementation that does AES only and not RC4
> will not work with quite a few eCommerce servers out there.  So what?

Who wants to write code that can only be sold to one part of the market
instead of to all of it?

Look, RC4 is aging fast.  We need to move on from RC4.  Everyone has an
AES implementation nowadays.  AES is what the market is moving to, and
it's what the U.S. govt demands.  What's the problem with making AES an
MTI?

> Why do we need to impose interoperability requirements that the markets
> themselves do not demand?

What if the banks get serious about security (or the regulators force
them to) only then find that all the stupid browsers are stuck with RC4
because the spec said they didn't have to implement AES?  That wouldn't
be very good.

We have to be ahead of the market to some degree because it takes years
to upgrade software on the big-i Internet.  There's nothing
controversial about AES being a required to implement cipher in any
modern Internet security protocol.  IPsec, TLS, SSHv2, Kerberos V,
etcetera, all have or soon will have AES as a required to implement
cipher.

AES as a required to implement cipher is almost not negotiable at this
stage.  Certainly I would object to TLS 1.2 not requiring support for
AES.

Nico
-- 

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Sat Sep 15 14:57:17 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWcpC-0001KE-9c; Sat, 15 Sep 2007 14:57:02 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWcpB-0001K9-9M
	for tls@ietf.org; Sat, 15 Sep 2007 14:57:01 -0400
Received: from rune.pobox.com ([208.210.124.79])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IWcpA-0000gq-47
	for tls@ietf.org; Sat, 15 Sep 2007 14:57:01 -0400
Received: from rune (localhost [127.0.0.1])
	by rune.pobox.com (Postfix) with ESMTP id 969E41358F2
	for <tls@ietf.org>; Sat, 15 Sep 2007 14:57:19 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id 4D02E1358C9
	for <tls@ietf.org>; Sat, 15 Sep 2007 14:57:19 -0400 (EDT)
Message-ID: <46EC2AE7.9040903@pobox.com>
Date: Sat, 15 Sep 2007 11:56:39 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] TLS 1.2 hash agility
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
In-Reply-To: <20070914225606.9E9B433C21@delta.rtfm.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: c1c65599517f9ac32519d043c37c5336
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

I have an idea.  Change the Cert Hash Types extension to the Supported
Signature Algorithms extension, and allow the server to respond with
its supported algorithms (only if the client sends its list, of course).

     struct {
         SignatureAlgorithm supported_algorithms<2..2^16-2>;
     } SupportedSignatureAlgorithms;

If the client doesn't send the extension, the server would assume the
client supports rsa_with_sha1, rsa_with_md5 (?), and dsa_with_sha1
(and the appropriate ecdsa algorithms if an ECDSA cipher suite is
negotiated).  Since the server can't send its list if the client
doesn't, the client must assume that the server only supports the same
list of algorithms.

If the client sends its list, and the server doesn't respond with the
extension, the client must assume that the server only supports the
algorithms mentioned above.  A client that requires better algorithms
than MD5 and SHA-1, can abort the session if it doesn't receive the
extension in the ServerHello, or if the list doesn't contain an
acceptable algorithm.

You can remove the HashType list from the CertificateRequest message
since it is handled by the server's SupportedSignatureAlgorithms
extension.  The client also chooses a certificate signed with a listed
algorithm.

If the Signature becomes (as Pasi suggested):

     struct {
         SignatureAlgorithm signature_algorithm;
         opaque signature_value<0..2^16-1>;
     } Signature;

we'd also need to add a null signature algorithm:

     enum {
         null(0),            rsa_with_md5(1),
         rsa_with_sha1(2),   rsa_with_sha256(3),
         rsa_with_sha384(4), rsa_with_sha512(5),
         dsa_with_sha1(6),
         (65535)
     } SignatureAlgorithm;

for use with anonymous exchanges.

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Sun Sep 16 04:36:51 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWpcJ-0007yd-9V; Sun, 16 Sep 2007 04:36:35 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWpcI-0007vI-FY
	for tls@ietf.org; Sun, 16 Sep 2007 04:36:34 -0400
Received: from smtp.nokia.com ([131.228.20.170] helo=mgw-ext11.nokia.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IWpcH-0001ry-VG
	for tls@ietf.org; Sun, 16 Sep 2007 04:36:34 -0400
Received: from esebh107.NOE.Nokia.com (esebh107.ntc.nokia.com [172.21.143.143])
	by mgw-ext11.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id
	l8G8aKqF003087; Sun, 16 Sep 2007 11:36:25 +0300
Received: from esebh104.NOE.Nokia.com ([172.21.143.34]) by
	esebh107.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Sun, 16 Sep 2007 11:36:21 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh104.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Sun, 16 Sep 2007 11:36:21 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] Issue 49: Finished.verify length
Date: Sun, 16 Sep 2007 11:36:20 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2404966DF0@esebe105.NOE.Nokia.com>
In-Reply-To: <20070914183633.6B09F33C21@delta.rtfm.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Issue 49: Finished.verify length
Thread-Index: Acf2/rPafR+vCdGqTUuqarwuqe4cVABPU0mg
References: <20070914090853.GA20702@tau.invalid><B356D8F434D20B40A8CEDAEC305A1F2404937712@esebe105.NOE.Nokia.com><20070914120310.GA29073@tau.invalid><B356D8F434D20B40A8CEDAEC305A1F2404937802@esebe105.NOE.Nokia.com><20070914141809.2439533C21@delta.rtfm.com><B356D8F434D20B40A8CEDAEC305A1F2404966D3F@esebe105.NOE.Nokia.com>
	<20070914183633.6B09F33C21@delta.rtfm.com>
From: <Pasi.Eronen@nokia.com>
To: <ekr@networkresonance.com>
X-OriginalArrivalTime: 16 Sep 2007 08:36:21.0841 (UTC)
	FILETIME=[A8E14410:01C7F83C]
X-Nokia-AV: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 8abaac9e10c826e8252866cbe6766464
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Eric Rescorla wrote:

> OK, I see where you're going with this, but I'm not sure it
> requires us to do anything now. If we're confronted with such a
> cipher suite, we can just have the document Update TLS 1.2, since
> it would only be applicable to that new cipher suite. I don't
> think this needs a version revision.
>=20
> Unless you're proposing making this a variable length vector,
> whcih seems like a bad idea, since it should be defined in the
> cipher suite.

Yes, the length should be defined by the cipher suite, but I'd like
to avoid the "Updates: TLS 1.2" part (in general, ciphersuites
shouldn't need that). And we could avoid that by changing the wire=20
encoding to a variable-length vector now, i.e. change

   struct {
       opaque verify_data[12];
   } Finished;

to=20

   struct {
       opaque verify_data<0..255>;
   } Finished;

(And say that the verify_data length is 12 octets unless explicitly
specified otherwise by the ciphersuite)

Best regards,
Pasi

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Sun Sep 16 13:22:28 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IWxp0-00030c-06; Sun, 16 Sep 2007 13:22:14 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IWxoy-00030G-8V
	for tls@ietf.org; Sun, 16 Sep 2007 13:22:12 -0400
Received: from [74.95.2.169] (helo=delta.rtfm.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IWxox-0007HO-Pc
	for tls@ietf.org; Sun, 16 Sep 2007 13:22:12 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 57FF033C21;
	Sun, 16 Sep 2007 10:18:35 -0700 (PDT)
Date: Sun, 16 Sep 2007 10:18:34 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: <Pasi.Eronen@nokia.com>
Subject: Re: [TLS] Issue 49: Finished.verify length
In-Reply-To: <B356D8F434D20B40A8CEDAEC305A1F2404966DF0@esebe105.NOE.Nokia.com>
References: <20070914090853.GA20702@tau.invalid>
	<B356D8F434D20B40A8CEDAEC305A1F2404937712@esebe105.NOE.Nokia.com>
	<20070914120310.GA29073@tau.invalid>
	<B356D8F434D20B40A8CEDAEC305A1F2404937802@esebe105.NOE.Nokia.com>
	<20070914141809.2439533C21@delta.rtfm.com>
	<B356D8F434D20B40A8CEDAEC305A1F2404966D3F@esebe105.NOE.Nokia.com>
	<20070914183633.6B09F33C21@delta.rtfm.com>
	<B356D8F434D20B40A8CEDAEC305A1F2404966DF0@esebe105.NOE.Nokia.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070916171835.57FF033C21@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 3e15cc4fdc61d7bce84032741d11c8e5
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Sun, 16 Sep 2007 11:36:20 +0300,
<Pasi.Eronen@nokia.com> wrote:
> 
> Eric Rescorla wrote:
> 
> > OK, I see where you're going with this, but I'm not sure it
> > requires us to do anything now. If we're confronted with such a
> > cipher suite, we can just have the document Update TLS 1.2, since
> > it would only be applicable to that new cipher suite. I don't
> > think this needs a version revision.
> > 
> > Unless you're proposing making this a variable length vector,
> > whcih seems like a bad idea, since it should be defined in the
> > cipher suite.
> 
> Yes, the length should be defined by the cipher suite, but I'd like
> to avoid the "Updates: TLS 1.2" part (in general, ciphersuites
> shouldn't need that). And we could avoid that by changing the wire 
> encoding to a variable-length vector now, i.e. change
> 
>    struct {
>        opaque verify_data[12];
>    } Finished;
> 
> to 
> 
>    struct {
>        opaque verify_data<0..255>;
>    } Finished;
> 
> (And say that the verify_data length is 12 octets unless explicitly
> specified otherwise by the ciphersuite)

Well, I don't think changing the encoding is needed. The
verify_data is the only thing in the Finished message so it's
already implicitly encoded. If we want to allow this to change
length without doing an Update, then why not change it to:

   struct {
       opaque verify_data[SecurityParameters.finished_length];
   } Finished;

This leaves a hole but doesn't require changing the wire encoding.

That said, I'd sort of like to discourage changing the length without
good reason, so I'd actually like the first cipher suite to do
this to have to Update: TLS 1.2. However, using the technique above,
we could make this cahnge later without having to impact 
implemenations that didn't support the new cipher suite.

-Ekr





_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Mon Sep 17 03:04:03 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IXAdy-00081a-5r; Mon, 17 Sep 2007 03:03:42 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IXAdx-00080x-AF
	for tls@ietf.org; Mon, 17 Sep 2007 03:03:41 -0400
Received: from smtp.nokia.com ([131.228.20.171] helo=mgw-ext12.nokia.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IXAdw-0003Yi-QH
	for tls@ietf.org; Mon, 17 Sep 2007 03:03:41 -0400
Received: from esebh108.NOE.Nokia.com (esebh108.ntc.nokia.com [172.21.143.145])
	by mgw-ext12.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id
	l8H73AaB009963; Mon, 17 Sep 2007 10:03:38 +0300
Received: from esebh104.NOE.Nokia.com ([172.21.143.34]) by
	esebh108.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Mon, 17 Sep 2007 10:03:18 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh104.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Mon, 17 Sep 2007 10:03:17 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] Issue 49: Finished.verify length
Date: Mon, 17 Sep 2007 10:03:16 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2404966FEE@esebe105.NOE.Nokia.com>
In-Reply-To: <20070916171835.57FF033C21@delta.rtfm.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Issue 49: Finished.verify length
Thread-Index: Acf4hiA+yIOddDjHSsCqSnxIThtzJgAcmIKw
References: <20070914090853.GA20702@tau.invalid><B356D8F434D20B40A8CEDAEC305A1F2404937712@esebe105.NOE.Nokia.com><20070914120310.GA29073@tau.invalid><B356D8F434D20B40A8CEDAEC305A1F2404937802@esebe105.NOE.Nokia.com><20070914141809.2439533C21@delta.rtfm.com><B356D8F434D20B40A8CEDAEC305A1F2404966D3F@esebe105.NOE.Nokia.com><20070914183633.6B09F33C21@delta.rtfm.com><B356D8F434D20B40A8CEDAEC305A1F2404966DF0@esebe105.NOE.Nokia.com>
	<20070916171835.57FF033C21@delta.rtfm.com>
From: <Pasi.Eronen@nokia.com>
To: <ekr@networkresonance.com>
X-OriginalArrivalTime: 17 Sep 2007 07:03:17.0610 (UTC)
	FILETIME=[D2D4FCA0:01C7F8F8]
X-Nokia-AV: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9182cfff02fae4f1b6e9349e01d62f32
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Eric Rescorla wrote:
> Well, I don't think changing the encoding is needed. The
> verify_data is the only thing in the Finished message so it's
> already implicitly encoded. If we want to allow this to change
> length without doing an Update, then why not change it to:
>=20
>    struct {
>        opaque verify_data[SecurityParameters.finished_length];
>    } Finished;
>=20
> This leaves a hole but doesn't require changing the wire encoding.

This would work, too.

> That said, I'd sort of like to discourage changing the length without
> good reason, so I'd actually like the first cipher suite to do
> this to have to Update: TLS 1.2. However, using the technique above,
> we could make this cahnge later without having to impact=20
> implemenations that didn't support the new cipher suite.

Ciphersuites should be able to do algorithm agility without updating
TLS 1.2, and things like MAC lengths are IMHO part of that agility...

Best regards,
Pasi

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Mon Sep 17 09:56:15 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IXH52-0001Wq-7r; Mon, 17 Sep 2007 09:56:04 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IXH51-0001Wl-1T
	for tls@ietf.org; Mon, 17 Sep 2007 09:56:03 -0400
Received: from [8.8.40.152] (helo=woodstock.binhost.com)
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1IXH4z-0004Vv-SD
	for tls@ietf.org; Mon, 17 Sep 2007 09:56:03 -0400
Received: (qmail 21278 invoked by uid 0); 17 Sep 2007 13:48:38 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.231.48.203)
	by 8.8.40.152 with SMTP; 17 Sep 2007 13:48:38 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Mon, 17 Sep 2007 09:36:45 -0400
To: Eric Rescorla <ekr@networkresonance.com>
From: Russ Housley <housley@vigilsec.com>
Subject: Re: [TLS] Issue 49: Finished.verify length
In-Reply-To: <20070916171835.57FF033C21@delta.rtfm.com>
References: <20070914090853.GA20702@tau.invalid>
	<B356D8F434D20B40A8CEDAEC305A1F2404937712@esebe105.NOE.Nokia.com>
	<20070914120310.GA29073@tau.invalid>
	<B356D8F434D20B40A8CEDAEC305A1F2404937802@esebe105.NOE.Nokia.com>
	<20070914141809.2439533C21@delta.rtfm.com>
	<B356D8F434D20B40A8CEDAEC305A1F2404966D3F@esebe105.NOE.Nokia.com>
	<20070914183633.6B09F33C21@delta.rtfm.com>
	<B356D8F434D20B40A8CEDAEC305A1F2404966DF0@esebe105.NOE.Nokia.com>
	<20070916171835.57FF033C21@delta.rtfm.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 93238566e09e6e262849b4f805833007
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org
Message-Id: <E1IXH52-0001Wq-7r@megatron.ietf.org>

Eric:

>Well, I don't think changing the encoding is needed. The
>verify_data is the only thing in the Finished message so it's
>already implicitly encoded. If we want to allow this to change
>length without doing an Update, then why not change it to:
>
>    struct {
>        opaque verify_data[SecurityParameters.finished_length];
>    } Finished;
>
>This leaves a hole but doesn't require changing the wire encoding.
>
>That said, I'd sort of like to discourage changing the length without
>good reason, so I'd actually like the first cipher suite to do
>this to have to Update: TLS 1.2. However, using the technique above,
>we could make this cahnge later without having to impact
>implemenations that didn't support the new cipher suite.

I like this way forward, but I do not see any reason to wait.  A 
ciphersuite should not need to update the base protocol specification.

Russ 


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Mon Sep 17 14:33:39 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IXLPB-0005dm-2H; Mon, 17 Sep 2007 14:33:09 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IXLPA-0005Zi-5d
	for tls@ietf.org; Mon, 17 Sep 2007 14:33:08 -0400
Received: from [74.95.2.169] (helo=delta.rtfm.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IXLP9-0007Gp-RO
	for tls@ietf.org; Mon, 17 Sep 2007 14:33:08 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id C411F33C3A
	for <tls@ietf.org>; Mon, 17 Sep 2007 11:29:28 -0700 (PDT)
Date: Mon, 17 Sep 2007 11:29:28 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: tls@ietf.org
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070917182928.C411F33C3A@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 79899194edc4f33a41f49410777972f8
Cc: 
Subject: [TLS] New TLS revision
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

I've submitted a new TLS revision. It's currently at:

https://svn.resiprocate.org/rep/ietf-drafts/ekr/tls/tls.txt

The major open issues are:

#41 	Discuss hash agility for signatures
	I'll send a message about this shortly.

#57 	Clarify certificate restrictions and selection
	This just requires me to review Pasi's new text.

#35  	Clarify DH calculations
	I was hoping someone would provide some text on the
	appropriate checks for DH groups provided by the
	server. I don't seem to have received any or if
	I did, I lost it. Could someone please volunteer?

Thanks,
-Ekr

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Mon Sep 17 15:02:54 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IXLr8-0003rC-DC; Mon, 17 Sep 2007 15:02:02 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IXLr6-0003qn-8j
	for tls@ietf.org; Mon, 17 Sep 2007 15:02:00 -0400
Received: from [74.95.2.169] (helo=delta.rtfm.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IXLr5-0000Hm-FH
	for tls@ietf.org; Mon, 17 Sep 2007 15:02:00 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 6E7CC33C3A;
	Mon, 17 Sep 2007 11:58:20 -0700 (PDT)
Date: Mon, 17 Sep 2007 11:58:20 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: Mike <mike-list@pobox.com>
Subject: Re: [TLS] TLS 1.2 hash agility
In-Reply-To: <46EC2AE7.9040903@pobox.com>
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070917185820.6E7CC33C3A@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 7da5a831c477fb6ef97f379a05fb683c
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Sat, 15 Sep 2007 11:56:39 -0700,
Mike wrote:
> I have an idea.  Change the Cert Hash Types extension to the Supported
> Signature Algorithms extension, and allow the server to respond with
> its supported algorithms (only if the client sends its list, of course).
> 
>      struct {
>          SignatureAlgorithm supported_algorithms<2..2^16-2>;
>      } SupportedSignatureAlgorithms;
>
> If the client doesn't send the extension, the server would assume the
> client supports rsa_with_sha1, rsa_with_md5 (?), and dsa_with_sha1
> (and the appropriate ecdsa algorithms if an ECDSA cipher suite is
> negotiated).  Since the server can't send its list if the client
> doesn't, the client must assume that the server only supports the same
> list of algorithms.

I don't see how this solves the major problem, which is that you
are advertising your public key algorithm support in two places.

- In the case of the ServerKeyExchange, the client signals his
support in this extension *and* in the cipher suite.

- In the case of the CertificateVerify, the server signals his
  support in the CertificateRequest and in this extension.

Taking the ServerKeyExchange as the paradigmatic example, ISTM that
we either need to rework the entire negotiation scheme, e.g.,
to create new cipher suites which specify also the digest used
for signature, or just live with this duplication. The former
seems superior.

So, I propose we simply replace the HashTypes type with a signature
algorithms type that specifies both hash algorithm and signature
algorithm. As you suggest:

     struct {
         SignatureAlgorithm supported_algorithms<2..2^16-2>;
     } SupportedSignatureAlgorithms;

This would go wherever HashTypes goes now.

However, the interpretation rules need to be extremely clear,
as below.


CERTIFICATEREQUEST
For signatures by the client (i.e., CertificateVerify and Certificate),
the following rules apply:

    struct {
        ClientCertificateType certificate_types<1..2^8-1>;
        SignatureAlgorithm signature_types<1..2^16-1>;
        DistinguishedName certificate_authorities<0..2^16-1>;
    } CertificateRequest;
 
- Any certificate offered by the client must be signed with an
  algorithm described in signature_types.
- The certificate must contain a public key with an
  algorithm specified in certificate_types.
- The CertificateVerify must be signed with a signature algorithm
  in signature_types.

Consider the following examples:

(1) 
certificate_types = rsa_sign
signature_types   = rsa_sha1, rsa_sha256

In this case:

- The client's certificate must be signed with rsa_sha1 or rsa_sha256
- The client must sign with either rsa_sha1 or rsa_sha256


(2) 
certificate_types = rsa_sign
signature_types   = rsa_sha1, rsa_sha256, dsa_sha1

In this case:

- The client's certificate must be signed with rsa_sha1 or rsa_sha256, or 
  dsa_sha1
- The client must sign with rsa_sha1 or rsa_sha256, but NOT DSA



(3) 
certificate_types = rsa_sign, dsa_sign
signature_types   = rsa_sha1, rsa_sha256

In this case:

- The client's certificate must be signed with rsa_sha1 or rsa_sha256
- The client must sign with either rsa_sha1 or rsa_sha256

Note that even though the server advertised dsa, it didn't advertise
any hashes so it's not actually usable.



SIGNATUREALGORITHMS
As you suggest, the client would offer a SignatureAlgorithms
extension. The rules would be similar:

- Any certificate offered by the server must be signed with an
  algorithm described in signature_types.
- The certificate key must contain a public key which has
  an algorithm that matches the cipher suite, either for
  signing (in the case of cipher suites which have it)
  or encryption (in the case of cipher suites which don't).
- The ServerKeyExchange must be signed with an algorithm that
  matches signature_types.

Examples:
(1) 
cipher suite      = TLS_RSA_WITH_AES_128_CBC_SHA
signature_types   = rsa_sha1, rsa_sha256

In this case:

- The server's certificate must be signed with rsa_sha1 or rsa_sha256
- The server's certificate must contain an RSA key.


(2) 
cipher suite      = TLS_RSA_DHE_WITH_AES_128_CBC_SHA
signature_types   = rsa_sha1, rsa_sha256


- The server's certificate must be signed with rsa_sha1 or rsa_sha256
- The server's certificate must contain an RSA key.
- The ServerKeyExchange MUST be signed with rsa_sha1 or rsa_sha256

-Ekr


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Mon Sep 17 15:15:55 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IXM2S-0005Pe-Rh; Mon, 17 Sep 2007 15:13:44 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IXM2R-0005PZ-Dj
	for tls@ietf.org; Mon, 17 Sep 2007 15:13:43 -0400
Received: from smtpout1458.sc1.he.tucows.com ([64.97.157.158]
	helo=n034.sc1.he.tucows.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IXM2R-0000hQ-4z
	for tls@ietf.org; Mon, 17 Sep 2007 15:13:43 -0400
Received: from [192.168.0.2] (24.6.51.98) by n034.sc1.he.tucows.com
	(7.2.069.1) (authenticated as nelson@bolyard.com)
	id 46D6F2EF003983BE; Mon, 17 Sep 2007 19:13:39 +0000
Message-ID: <46EED1DE.6040700@bolyard.com>
Date: Mon, 17 Sep 2007 12:13:34 -0700
From: Nelson B Bolyard <nelson@bolyard.com>
Organization: Spam haters R US
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.9a8pre) Gecko/2007090102 SeaMonkey/2.0a1pre
MIME-Version: 1.0
To: Eric Rescorla <ekr@networkresonance.com>
Subject: Re: [TLS] New TLS revision
References: <20070917182928.C411F33C3A@delta.rtfm.com>
In-Reply-To: <20070917182928.C411F33C3A@delta.rtfm.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7d33c50f3756db14428398e2bdedd581
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Eric Rescorla wrote:

> The major open issues are:
> 
> #41 	Discuss hash agility for signatures
> 	I'll send a message about this shortly.
> 
> #57 	Clarify certificate restrictions and selection
> 	This just requires me to review Pasi's new text.
> 
> #35  	Clarify DH calculations
> 	I was hoping someone would provide some text on the
> 	appropriate checks for DH groups provided by the
> 	server. I don't seem to have received any or if
> 	I did, I lost it. Could someone please volunteer?

Eric,  I presume there is some server where these issues can be seen.
What is the URL for it?

-- 
Nelson B

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Mon Sep 17 15:33:35 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IXMKY-0002pv-Qf; Mon, 17 Sep 2007 15:32:26 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IXMKX-0002pn-Cm
	for tls@ietf.org; Mon, 17 Sep 2007 15:32:25 -0400
Received: from [74.95.2.169] (helo=delta.rtfm.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IXMKX-0001S8-2L
	for tls@ietf.org; Mon, 17 Sep 2007 15:32:25 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id DEF5533C3A;
	Mon, 17 Sep 2007 12:28:45 -0700 (PDT)
Date: Mon, 17 Sep 2007 12:28:45 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: Nelson B Bolyard <nelson@bolyard.com>
Subject: Re: [TLS] New TLS revision
In-Reply-To: <46EED1DE.6040700@bolyard.com>
References: <20070917182928.C411F33C3A@delta.rtfm.com>
	<46EED1DE.6040700@bolyard.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070917192845.DEF5533C3A@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 9182cfff02fae4f1b6e9349e01d62f32
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Mon, 17 Sep 2007 12:13:34 -0700,
Nelson B Bolyard wrote:
> 
> Eric Rescorla wrote:
> 
> > The major open issues are:
> > 
> > #41 	Discuss hash agility for signatures
> > 	I'll send a message about this shortly.
> > 
> > #57 	Clarify certificate restrictions and selection
> > 	This just requires me to review Pasi's new text.
> > 
> > #35  	Clarify DH calculations
> > 	I was hoping someone would provide some text on the
> > 	appropriate checks for DH groups provided by the
> > 	server. I don't seem to have received any or if
> > 	I did, I lost it. Could someone please volunteer?
> 
> Eric,  I presume there is some server where these issues can be seen.
> What is the URL for it?

http://www3.tools.ietf.org/wg/tls/

-Ekr

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Mon Sep 17 16:26:31 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IXN9N-0000D0-MP; Mon, 17 Sep 2007 16:24:57 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IXN9M-0000B8-N3
	for tls@lists.ietf.org; Mon, 17 Sep 2007 16:24:56 -0400
Received: from extu-mxob-1.symantec.com ([216.10.194.28])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IXN9G-0000Pq-C0
	for tls@lists.ietf.org; Mon, 17 Sep 2007 16:24:56 -0400
Received: from tus1opsmtapin01.ges.symantec.com
	(tus1opsmtapin01.ges.symantec.com [192.168.214.43])
	by extu-mxob-1.symantec.com (8.14.1/8.14.1) with ESMTP id
	l8HKOUrP027095
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <tls@lists.ietf.org>; Mon, 17 Sep 2007 13:24:35 -0700
Received: from reserved-155-64-230-19.ges.symantec.com ([155.64.230.19]
	helo=TUS1XCHECNPIN02.enterprise.veritas.com)
	by tus1opsmtapin01.ges.symantec.com with esmtp (Exim 4.67)
	(envelope-from <Mark_Tillinghast@symantec.com>) id 1IXN8m-0002RB-L1
	for tls@lists.ietf.org; Mon, 17 Sep 2007 13:24:20 -0700
Received: from TUS1XCHEVSPIN02.enterprise.veritas.com ([155.64.230.42]) by
	TUS1XCHECNPIN02.enterprise.veritas.com with Microsoft
	SMTPSVC(6.0.3790.1830); Mon, 17 Sep 2007 13:24:20 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 17 Sep 2007 13:24:19 -0700
Message-ID: <1D526804BA83A2459C60E28CA73ABD9002252473@TUS1XCHCLUPIN03.enterprise.veritas.com>
In-Reply-To: <E1IWwXa-0008Tu-EV@megatron.ietf.org>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: TLS 1.2 hash agility (Mike)
Thread-Index: Acf4erGVxQcYi1imQGmbblMxq5f7GAA7LwNg
From: "Mark Tillinghast" <Mark_Tillinghast@symantec.com>
To: <tls@lists.ietf.org>
X-OriginalArrivalTime: 17 Sep 2007 20:24:20.0181 (UTC)
	FILETIME=[BA5B5050:01C7F968]
X-Spam-Score: -2.3 (--)
X-Scan-Signature: 3fbd9b434023f8abfcb1532abaec7a21
Subject: [TLS] Re:  TLS 1.2 hash agility (Mike)
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

I must admit that I have no clean solution, but to continue to accept as
default that which is demonstrably broken seems a bad idea.
=20
A client that supports FORWARD LOOKING SECURITY is a client that
requires requires "better" algorithms than MD5 and SHA-1.

A client that supports FORWARD LOOKING SECURITY MUST abort the session
if it doesn't receive the extension in the ServerHello, or if the list
doesn't contain an acceptable algorithm.

Make FORWARD LOOKING SECURITY optional, but there is at least one
profile in which it is mandatory.

Mark

-----Original Message-----
From: tls-request@lists.ietf.org [mailto:tls-request@lists.ietf.org]=20
Sent: Sunday, September 16, 2007 09:00
To: tls@lists.ietf.org
Subject: TLS Digest, Vol 38, Issue 11

Send TLS mailing list submissions to
	tls@lists.ietf.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://www1.ietf.org/mailman/listinfo/tls
or, via email, send a message with subject or body 'help' to
	tls-request@lists.ietf.org

You can reach the person managing the list at
	tls-owner@lists.ietf.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of TLS digest..."


Today's Topics:

   1. Re:  TLS 1.2 hash agility (Mike)
   2. RE:  Issue 49: Finished.verify length (Pasi.Eronen@nokia.com)


----------------------------------------------------------------------

Message: 1
Date: Sat, 15 Sep 2007 11:56:39 -0700
From: Mike <mike-list@pobox.com>
Subject: Re: [TLS] TLS 1.2 hash agility
To: tls@ietf.org
Message-ID: <46EC2AE7.9040903@pobox.com>
Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed

I have an idea.  Change the Cert Hash Types extension to the Supported
Signature Algorithms extension, and allow the server to respond with
its supported algorithms (only if the client sends its list, of course).

     struct {
         SignatureAlgorithm supported_algorithms<2..2^16-2>;
     } SupportedSignatureAlgorithms;

If the client doesn't send the extension, the server would assume the
client supports rsa_with_sha1, rsa_with_md5 (?), and dsa_with_sha1
(and the appropriate ecdsa algorithms if an ECDSA cipher suite is
negotiated).  Since the server can't send its list if the client
doesn't, the client must assume that the server only supports the same
list of algorithms.

If the client sends its list, and the server doesn't respond with the
extension, the client must assume that the server only supports the
algorithms mentioned above.  A client that requires better algorithms
than MD5 and SHA-1, can abort the session if it doesn't receive the
extension in the ServerHello, or if the list doesn't contain an
acceptable algorithm.

You can remove the HashType list from the CertificateRequest message
since it is handled by the server's SupportedSignatureAlgorithms
extension.  The client also chooses a certificate signed with a listed
algorithm.

If the Signature becomes (as Pasi suggested):

     struct {
         SignatureAlgorithm signature_algorithm;
         opaque signature_value<0..2^16-1>;
     } Signature;

we'd also need to add a null signature algorithm:

     enum {
         null(0),            rsa_with_md5(1),
         rsa_with_sha1(2),   rsa_with_sha256(3),
         rsa_with_sha384(4), rsa_with_sha512(5),
         dsa_with_sha1(6),
         (65535)
     } SignatureAlgorithm;

for use with anonymous exchanges.

Mike



------------------------------

Message: 2
Date: Sun, 16 Sep 2007 11:36:20 +0300
From: <Pasi.Eronen@nokia.com>
Subject: RE: [TLS] Issue 49: Finished.verify length
To: <ekr@networkresonance.com>
Cc: tls@ietf.org
Message-ID:
=09
<B356D8F434D20B40A8CEDAEC305A1F2404966DF0@esebe105.NOE.Nokia.com>
Content-Type: text/plain;	charset=3D"us-ascii"

Eric Rescorla wrote:

> OK, I see where you're going with this, but I'm not sure it
> requires us to do anything now. If we're confronted with such a
> cipher suite, we can just have the document Update TLS 1.2, since
> it would only be applicable to that new cipher suite. I don't
> think this needs a version revision.
>=20
> Unless you're proposing making this a variable length vector,
> whcih seems like a bad idea, since it should be defined in the
> cipher suite.

Yes, the length should be defined by the cipher suite, but I'd like
to avoid the "Updates: TLS 1.2" part (in general, ciphersuites
shouldn't need that). And we could avoid that by changing the wire=20
encoding to a variable-length vector now, i.e. change

   struct {
       opaque verify_data[12];
   } Finished;

to=20

   struct {
       opaque verify_data<0..255>;
   } Finished;

(And say that the verify_data length is 12 octets unless explicitly
specified otherwise by the ciphersuite)

Best regards,
Pasi



------------------------------

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls


End of TLS Digest, Vol 38, Issue 11
***********************************

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Tue Sep 18 04:27:00 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IXYNO-0007tQ-EJ; Tue, 18 Sep 2007 04:24:10 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IXYNM-0007qO-TO
	for tls@lists.ietf.org; Tue, 18 Sep 2007 04:24:08 -0400
Received: from yxa.extundo.com ([83.241.177.38])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IXYNC-0000FD-Id
	for tls@lists.ietf.org; Tue, 18 Sep 2007 04:24:04 -0400
Received: from mocca.josefsson.org (yxa.extundo.com [83.241.177.38])
	(authenticated bits=0)
	by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id
	l8I8Mrl9031022
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 18 Sep 2007 10:22:54 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Larry Zhu <lzhu@windows.microsoft.com>
References: <87bqc9k3xy.fsf@mocca.josefsson.org>
	<B78121AEC3DFC949BF5080E7BCDD79F49BB7915A39@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
	<87abrse6y9.fsf@mocca.josefsson.org>
	<B78121AEC3DFC949BF5080E7BCDD79F49D5D76A055@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:070918:tls@lists.ietf.org::trDCOLnLeX8tK1V/:5mRc
X-Hashcash: 1:22:070918:lzhu@windows.microsoft.com::xI0G80eIPkwTAVTz:4sOS
Date: Tue, 18 Sep 2007 10:22:53 +0200
In-Reply-To: <B78121AEC3DFC949BF5080E7BCDD79F49D5D76A055@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
	(Larry Zhu's message of "Fri, 14 Sep 2007 14:23:12 -0700")
Message-ID: <87bqc0jsbm.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00,
	FORGED_RCVD_HELO,SPF_PASS autolearn=unavailable version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on yxa-iv
X-Virus-Scanned: ClamAV version 0.88.2,
	clamav-milter version 0.88.2 on yxa.extundo.com
X-Virus-Status: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: bb8f917bb6b8da28fc948aeffb74aa17
Cc: "tls@lists.ietf.org" <tls@lists.ietf.org>
Subject: [TLS] Re: Review of draft-santesson-tls-gssapi-03
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Larry Zhu <lzhu@windows.microsoft.com> writes:

> Simon Josefsson wrote:
>> do you think this is better? Thanks.
>
>> Ah, I see.  You fail to specify the size of the length field though.  I would prefer to make the token explicit though, by adding e.g.:
>>
>>        struct {
>>            opaque gss_api_data<0..2^32-1>;
>>        } GSSAPIExtensionData;
> The size of the length field is defined in section 2.3 of RFC3546. It is 2 in octets.

Ok, now I get it, thanks.

>> If you want to have this field, you need to specify how implementations
>> should behave if multiple TokenTransfer tokens are received during the
>> handshake and when only some of them contain supported token_type's.
>> Otherwise this structure can never be used in any future extension in a
>> reliable way.
>
> A new value would indicate a new handshake message. I would make this
> clear, hopefully that addresses your comments w.r.t. this point.

A new handshake message type or just a new handshake message?  If the
latter, I still think you need to discuss how implementations should
react if they receive unsupported token_type's.  I look forwward to new
text.

> Assuming that, all your comments have been addressed to your
> satisfactory, right?

Yes I think so, although I may have opinions on how the issues are
ultimately solved in later drafts.

/Simon

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Tue Sep 18 13:48:05 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IXh94-0003Hf-TQ; Tue, 18 Sep 2007 13:45:58 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IXh93-0003Cr-6v
	for tls@lists.ietf.org; Tue, 18 Sep 2007 13:45:57 -0400
Received: from mailb.microsoft.com ([131.107.115.215] helo=smtp.microsoft.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IXh8v-0005HE-0z
	for tls@lists.ietf.org; Tue, 18 Sep 2007 13:45:55 -0400
Received: from tk5-exhub-c103.redmond.corp.microsoft.com (157.54.70.186) by
	TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with
	Microsoft
	SMTP Server (TLS) id 8.1.177.2; Tue, 18 Sep 2007 10:45:21 -0700
Received: from tk5-exmlt-w602.wingroup.windeploy.ntdev.microsoft.com
	(157.54.70.14) by tk5-exhub-c103.redmond.corp.microsoft.com
	(157.54.70.186)
	with Microsoft SMTP Server id 8.1.177.1; Tue, 18 Sep 2007 10:45:20 -0700
Received: from NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com
	([fe80::5efe:10.255.255.1]) by
	tk5-exmlt-w602.wingroup.windeploy.ntdev.microsoft.com ([::1]) with mapi;
	Tue, 18 Sep 2007 10:45:20 -0700
From: Larry Zhu <lzhu@windows.microsoft.com>
To: Simon Josefsson <simon@josefsson.org>
Date: Tue, 18 Sep 2007 10:45:20 -0700
Thread-Topic: Review of draft-santesson-tls-gssapi-03
Thread-Index: Acf5zU9BmeY3QOT9RJyvIMfdot1SIwATeXHw
Message-ID: <B78121AEC3DFC949BF5080E7BCDD79F4A1F9229632@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
References: <87bqc9k3xy.fsf@mocca.josefsson.org>
	<B78121AEC3DFC949BF5080E7BCDD79F49BB7915A39@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
	<87abrse6y9.fsf@mocca.josefsson.org>
	<B78121AEC3DFC949BF5080E7BCDD79F49D5D76A055@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
	<87bqc0jsbm.fsf@mocca.josefsson.org>
In-Reply-To: <87bqc0jsbm.fsf@mocca.josefsson.org>
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-Spam-Score: -100.0 (---------------------------------------------------)
X-Scan-Signature: e8a67952aa972b528dd04570d58ad8fe
Cc: "tls@lists.ietf.org" <tls@lists.ietf.org>
Subject: [TLS] RE: Review of draft-santesson-tls-gssapi-03
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Simon wrote:
> A new handshake message type or just a new handshake message?  If the lat=
ter, I still think you need to discuss how implementations should react if =
they receive unsupported token_type's.  I look
> forwward to new text.

The former, it should be treated as a new handshake message type.

> > Assuming that, all your comments have been addressed to your
> > satisfactory, right?

> Yes I think so, although I may have opinions on how the issues are
> ultimately solved in later drafts.

Thanks for the positive acknowledgement.

--larry

-----Original Message-----
From: Simon Josefsson [mailto:simon@josefsson.org]
Sent: Tuesday, September 18, 2007 1:23 AM
To: Larry Zhu
Cc: tls@lists.ietf.org
Subject: Re: Review of draft-santesson-tls-gssapi-03

Larry Zhu <lzhu@windows.microsoft.com> writes:

> Simon Josefsson wrote:
>> do you think this is better? Thanks.
>
>> Ah, I see.  You fail to specify the size of the length field though.  I =
would prefer to make the token explicit though, by adding e.g.:
>>
>>        struct {
>>            opaque gss_api_data<0..2^32-1>;
>>        } GSSAPIExtensionData;
> The size of the length field is defined in section 2.3 of RFC3546. It is =
2 in octets.

Ok, now I get it, thanks.

>> If you want to have this field, you need to specify how implementations
>> should behave if multiple TokenTransfer tokens are received during the
>> handshake and when only some of them contain supported token_type's.
>> Otherwise this structure can never be used in any future extension in a
>> reliable way.
>
> A new value would indicate a new handshake message. I would make this
> clear, hopefully that addresses your comments w.r.t. this point.

A new handshake message type or just a new handshake message?  If the
latter, I still think you need to discuss how implementations should
react if they receive unsupported token_type's.  I look forwward to new
text.

> Assuming that, all your comments have been addressed to your
> satisfactory, right?

Yes I think so, although I may have opinions on how the issues are
ultimately solved in later drafts.

/Simon


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Tue Sep 18 16:17:35 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IXjTx-00005I-MQ; Tue, 18 Sep 2007 16:15:41 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IXjTq-0008RT-3A; Tue, 18 Sep 2007 16:15:34 -0400
Received: from ns0.neustar.com ([156.154.16.158])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1IXjTn-00019n-S2; Tue, 18 Sep 2007 16:15:34 -0400
Received: from stiedprstage1.ietf.org (stiedprstage1.va.neustar.com
	[10.31.47.10]) by ns0.neustar.com (Postfix) with ESMTP id AB90532870;
	Tue, 18 Sep 2007 20:15:01 +0000 (GMT)
Received: from ietf by stiedprstage1.ietf.org with local (Exim 4.43)
	id 1IXjTJ-0002Za-JC; Tue, 18 Sep 2007 16:15:01 -0400
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
To: i-d-announce@ietf.org
From: Internet-Drafts@ietf.org
Message-Id: <E1IXjTJ-0002Za-JC@stiedprstage1.ietf.org>
Date: Tue, 18 Sep 2007 16:15:01 -0400
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 3002fc2e661cd7f114cb6bae92fe88f1
Cc: tls@ietf.org
Subject: [TLS] I-D ACTION:draft-ietf-tls-rfc4346-bis-05.txt 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the Transport Layer Security Working Group of the IETF.

	Title		: The Transport Layer Security (TLS) Protocol 
                          Version 1.2
	Author(s)	: T. Dierks, E. Rescorla
	Filename	: draft-ietf-tls-rfc4346-bis-05.txt
	Pages		: 96
	Date		: 2007-9-18
	
This document specifies Version 1.2 of the Transport Layer Security
   (TLS) protocol. The TLS protocol provides communications security
   over the Internet. The protocol allows client/server applications to
   communicate in a way that is designed to prevent eavesdropping,
   tampering, or message forgery.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-tls-rfc4346-bis-05.txt

To remove yourself from the I-D Announcement list, send a message to 
i-d-announce-request@ietf.org with the word unsubscribe in the body of 
the message. 
You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce 
to change your subscription settings.

Internet-Drafts are also available by anonymous FTP. Login with the 
username "anonymous" and a password of your e-mail address. After 
logging in, type "cd internet-drafts" and then 
"get draft-ietf-tls-rfc4346-bis-05.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt

Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-tls-rfc4346-bis-05.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body; access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID: <2007-9-18152449.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-tls-rfc4346-bis-05.txt

--OtherAccess
Content-Type: Message/External-body; name="draft-ietf-tls-rfc4346-bis-05.txt";
	site="ftp.ietf.org"; access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2007-9-18152449.I-D@ietf.org>


--OtherAccess--

--NextPart
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls

--NextPart--




From tls-bounces@lists.ietf.org Fri Sep 21 19:05:15 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IYrVe-0007ub-4x; Fri, 21 Sep 2007 19:02:06 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IYrVd-0007rk-CU
	for tls@ietf.org; Fri, 21 Sep 2007 19:02:05 -0400
Received: from sj-iport-6.cisco.com ([171.71.176.117])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IYrVc-0006UQ-Ps
	for tls@ietf.org; Fri, 21 Sep 2007 19:02:05 -0400
X-IronPort-AV: E=Sophos;i="4.20,285,1186383600"; d="scan'208";a="222894377"
Received: from sj-dkim-3.cisco.com ([171.71.179.195])
	by sj-iport-6.cisco.com with ESMTP; 21 Sep 2007 16:02:04 -0700
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237])
	by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id l8LN24Ix015557
	for <tls@ietf.org>; Fri, 21 Sep 2007 16:02:04 -0700
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com
	[128.107.191.63])
	by sj-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id l8LN23ip019361
	for <tls@ietf.org>; Fri, 21 Sep 2007 23:02:04 GMT
Received: from xmb-sjc-225.amer.cisco.com ([128.107.191.38]) by
	xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 21 Sep 2007 16:02:03 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 21 Sep 2007 16:02:09 -0700
Message-ID: <AC1CFD94F59A264488DC2BEC3E890DE5048D3D49@xmb-sjc-225.amer.cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: DTLS implementation questions
Thread-Index: Acf8o2/p8JOClxb0QfqQS/tgWiHDwg==
From: "Joseph Salowey \(jsalowey\)" <jsalowey@cisco.com>
To: <tls@ietf.org>
X-OriginalArrivalTime: 21 Sep 2007 23:02:03.0648 (UTC)
	FILETIME=[6CACC800:01C7FCA3]
DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=1490; t=1190415724;
	x=1191279724; c=relaxed/simple; s=sjdkim3002;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=jsalowey@cisco.com;
	z=From:=20=22Joseph=20Salowey=20\(jsalowey\)=22=20<jsalowey@cisco.com>
	|Subject:=20DTLS=20implementation=20questions |Sender:=20;
	bh=O09CrpFwo7faUIjwKvRqF5WxnTZ+0x6pROns4jRrsAc=;
	b=gO9yV8a4uLlkMvgqbHrN2PuUmgQPSf9qW1Vmx1g4ZyNNO3gUEE3BWeNH9zzTtdDHVVUAG7C9
	NDctZlgaWT/3niDVsogBYF4678DvUEzrDqJNeXQXrTpbOs4AIY2ZWuX2;
Authentication-Results: sj-dkim-3; header.From=jsalowey@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim3002 verified; ); 
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 8abaac9e10c826e8252866cbe6766464
Cc: "Abhijit Choudhury \(achoudhu\)" <achoudhu@cisco.com>
Subject: [TLS] DTLS implementation questions
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

We have noticed some inconsistencies between RFC 4347 and DTLS
implementations (in particular implementations based on OpenSSL).  There
may be some areas where the specification is not clear so we wanted to
make sure we understood the intention of the spec in these areas.

1. We notice that some implementations include the initial ClientHello
and the HelloVerifyRequest in the Finished message hash and
CertificateVerify message hash. Section 4.2.1 of RFC 4347 indicates that
the initial ClientHello and the HelloVerifyRequest should be excluded
from the Finished message hash, however it does not mention excluding
these messages from the CertificateVerify message hash.  We believe that
these messages should be excluded from both hashes in order to achieve
the intended DOS protection. =20

2. We notice that the handshake "headers" are omitted in the hash
computation for the CertificateVerify and the Finished message in some
implementations.  Although the spec does not explicitly specify how the
hashes are constructed we believe it should be consistent with RFC 4346
and use the complete handshake message. =20

Do these interpretations make sense?=20

We have found other implementation issues that do not appear to derive
from specification interpretation.  They detailed here
http://groups.google.com/group/mailing.openssl.dev/browse_thread/thread/
84c7c55752393dd/fcbb1734be44c72b?lnk=3Dgst&q=3Ddtls&rnum=3D1#fcbb1734be44=
c72b.


Thanks,

Joe

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 21 21:48:02 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IYu3h-0002VG-TB; Fri, 21 Sep 2007 21:45:25 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IYu3g-0002V9-F0
	for tls@ietf.org; Fri, 21 Sep 2007 21:45:24 -0400
Received: from mail.ca.certicom.com ([38.113.160.197])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IYu3f-0002AA-Dj
	for tls@ietf.org; Fri, 21 Sep 2007 21:45:24 -0400
Received: from spamfilter.certicom.com (localhost.localdomain [127.0.0.1])
	by mail.ca.certicom.com (Postfix) with ESMTP id 5DD7D10027FED;
	Fri, 21 Sep 2007 17:48:12 -0400 (EDT)
Received: from mail.ca.certicom.com ([127.0.0.1])
	by spamfilter.certicom.com (storm.certicom.com [127.0.0.1])
	(amavisd-new, port 10024)
	with ESMTP id P+8aIE4UN0fM; Fri, 21 Sep 2007 17:48:10 -0400 (EDT)
Received: from domino1.certicom.com (domino1.certicom.com [10.0.1.24])
	by mail.ca.certicom.com (Postfix) with ESMTP;
	Fri, 21 Sep 2007 17:48:10 -0400 (EDT)
In-Reply-To: <AC1CFD94F59A264488DC2BEC3E890DE5048D3D49@xmb-sjc-225.amer.cisco.com>
To: "Joseph Salowey \(jsalowey\)" <jsalowey@cisco.com>
Subject: Re: [TLS] DTLS implementation questions
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.5.5 November 30, 2005
Message-ID: <OFF1AF8EDB.0A2EB52D-ON8525735E.0005D54B-8525735E.0009B16E@certicom.com>
From: Rob Dugal <RDugal@certicom.com>
Date: Fri, 21 Sep 2007 21:40:40 -0400
X-MIMETrack: Serialize by Router on Certicom1/Certicom(Release 7.0.2FP2
	HF177|August 10, 2007) at 09/21/2007 09:40:42 PM,
	Serialize complete at 09/21/2007 09:40:42 PM
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2a76bcd37b1c8a21336eb0a1ea6bbf48
Cc: tls@ietf.org, "Abhijit Choudhury \(achoudhu\)" <achoudhu@cisco.com>
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1551092217=="
Errors-To: tls-bounces@lists.ietf.org

This is a multipart message in MIME format.
--===============1551092217==
Content-Type: multipart/alternative;
	boundary="=_alternative 0009B16B8525735E_="

This is a multipart message in MIME format.
--=_alternative 0009B16B8525735E_=
Content-Type: text/plain; charset="US-ASCII"

I discovered several bugs in the openssl implementation back in dec 2005 
that prevented it interoperating with our implementation.
- ChangeCipherSpec including 2 byte MSN
- Incorrect DTLS version number
- mtu argument causing crashes

As late as sept 2006 nagendra modadugu had still not managed to get 
patches commited to openssl.
I gave up trying to interoperate with openssl's implementation.

I agree with both your interpretations, which is identical to the 
interpretations we made in our DTLS implementation.

1. If HelloVerifyRequest is sent/received then it and the first 
ClientHello are not included in the message hashes. 
In our implementation we just reset the hashes if HelloVerifyRequest is 
sent/received.

2.We include the complete handshake message in the finished message hashes 
and certificate verify message hashes, 
This includes the message_seq, fragment_offset, and fragment_length fields 
that were added for DTLS.
If a handshake message was fragmented across multiple datagrams it is 
assembled into a single message as if the message had been sent in a 
single fragment, then added to message hashes.  rfc4347 discusses this in 
section 4.2.6 for finished message calculation.
We assumed the same thing applies for certificate verify message hashes.

-----------------------------------------------
Robert Dugal
Member of Development Group
Certicom Corp.
EMAIL: rdugal@certicom.com
PHONE: (905) 501-3848
FAX  : (905) 507-4230
WEBSITE: www.certicom.com

"Joseph Salowey \(jsalowey\)" <jsalowey@cisco.com> wrote on 09/21/2007 
07:02:09 PM:

> We have noticed some inconsistencies between RFC 4347 and DTLS
> implementations (in particular implementations based on OpenSSL).  There
> may be some areas where the specification is not clear so we wanted to
> make sure we understood the intention of the spec in these areas.
> 
> 1. We notice that some implementations include the initial ClientHello
> and the HelloVerifyRequest in the Finished message hash and
> CertificateVerify message hash. Section 4.2.1 of RFC 4347 indicates that
> the initial ClientHello and the HelloVerifyRequest should be excluded
> from the Finished message hash, however it does not mention excluding
> these messages from the CertificateVerify message hash.  We believe that
> these messages should be excluded from both hashes in order to achieve
> the intended DOS protection. 
> 
> 2. We notice that the handshake "headers" are omitted in the hash
> computation for the CertificateVerify and the Finished message in some
> implementations.  Although the spec does not explicitly specify how the
> hashes are constructed we believe it should be consistent with RFC 4346
> and use the complete handshake message. 
> 
> Do these interpretations make sense? 
> 
> We have found other implementation issues that do not appear to derive
> from specification interpretation.  They detailed here
> http://groups.google.com/group/mailing.openssl.dev/browse_thread/thread/
> 84c7c55752393dd/fcbb1734be44c72b?lnk=gst&q=dtls&rnum=1#fcbb1734be44c72b.
> 
> 
> Thanks,
> 
> Joe
> 
> _______________________________________________
> TLS mailing list
> TLS@lists.ietf.org
> https://www1.ietf.org/mailman/listinfo/tls

--=_alternative 0009B16B8525735E_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">I discovered several bugs in the openssl
implementation back in dec 2005 that prevented it interoperating with our
implementation.</font>
<br><font size=2 face="sans-serif">- ChangeCipherSpec including 2 byte
MSN</font>
<br><font size=2 face="sans-serif">- Incorrect DTLS version number</font>
<br><font size=2 face="sans-serif">- mtu argument causing crashes</font>
<br>
<br><font size=2 face="sans-serif">As late as sept 2006 nagendra modadugu
had still not managed to get patches commited to openssl.</font>
<br><font size=2 face="sans-serif">I gave up trying to interoperate with
openssl's implementation.</font>
<br>
<br><font size=2 face="sans-serif">I agree with both your interpretations,
which is identical to the interpretations we made in our DTLS implementation.</font>
<br>
<br><font size=2 face="sans-serif">1. If HelloVerifyRequest is sent/received
then it and the first ClientHello are not included in the message hashes.
</font>
<br><font size=2 face="sans-serif">In our implementation we just reset
the hashes if HelloVerifyRequest is sent/received.</font>
<br>
<br><font size=2 face="sans-serif">2.We include the complete handshake
message in the finished message hashes and certificate verify message hashes,
</font>
<br><font size=2 face="sans-serif">This includes the message_seq, fragment_offset,
and fragment_length fields that were added for DTLS.</font>
<br><font size=2 face="sans-serif">If a handshake message was fragmented
across multiple datagrams it is assembled into a single message as if the
message had been sent in a single fragment, then added to message hashes.
&nbsp;rfc4347 discusses this in section 4.2.6 for finished message calculation.</font>
<br><font size=2 face="sans-serif">We assumed the same thing applies for
certificate verify message hashes.</font>
<br><font size=2 face="sans-serif"><br>
-----------------------------------------------<br>
Robert Dugal<br>
Member of Development Group<br>
Certicom Corp.<br>
EMAIL: rdugal@certicom.com<br>
PHONE: (905) 501-3848<br>
FAX &nbsp;: (905) 507-4230<br>
WEBSITE: www.certicom.com</font>
<br>
<br><tt><font size=2>&quot;Joseph Salowey \(jsalowey\)&quot; &lt;jsalowey@cisco.com&gt;
wrote on 09/21/2007 07:02:09 PM:<br>
<br>
&gt; We have noticed some inconsistencies between RFC 4347 and DTLS<br>
&gt; implementations (in particular implementations based on OpenSSL).
&nbsp;There<br>
&gt; may be some areas where the specification is not clear so we wanted
to<br>
&gt; make sure we understood the intention of the spec in these areas.<br>
&gt; <br>
&gt; 1. We notice that some implementations include the initial ClientHello<br>
&gt; and the HelloVerifyRequest in the Finished message hash and<br>
&gt; CertificateVerify message hash. Section 4.2.1 of RFC 4347 indicates
that<br>
&gt; the initial ClientHello and the HelloVerifyRequest should be excluded<br>
&gt; from the Finished message hash, however it does not mention excluding<br>
&gt; these messages from the CertificateVerify message hash. &nbsp;We believe
that<br>
&gt; these messages should be excluded from both hashes in order to achieve<br>
&gt; the intended DOS protection. &nbsp;<br>
&gt; <br>
&gt; 2. We notice that the handshake &quot;headers&quot; are omitted in
the hash<br>
&gt; computation for the CertificateVerify and the Finished message in
some<br>
&gt; implementations. &nbsp;Although the spec does not explicitly specify
how the<br>
&gt; hashes are constructed we believe it should be consistent with RFC
4346<br>
&gt; and use the complete handshake message. &nbsp;<br>
&gt; <br>
&gt; Do these interpretations make sense? <br>
&gt; <br>
&gt; We have found other implementation issues that do not appear to derive<br>
&gt; from specification interpretation. &nbsp;They detailed here<br>
&gt; http://groups.google.com/group/mailing.openssl.dev/browse_thread/thread/<br>
&gt; 84c7c55752393dd/fcbb1734be44c72b?lnk=gst&amp;q=dtls&amp;rnum=1#fcbb1734be44c72b.<br>
&gt; <br>
&gt; <br>
&gt; Thanks,<br>
&gt; <br>
&gt; Joe<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; TLS mailing list<br>
&gt; TLS@lists.ietf.org<br>
&gt; https://www1.ietf.org/mailman/listinfo/tls<br>
</font></tt>
--=_alternative 0009B16B8525735E_=--


--===============1551092217==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls

--===============1551092217==--




From tls-bounces@lists.ietf.org Sun Sep 23 04:22:53 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IZMfD-0003k5-Rm; Sun, 23 Sep 2007 04:18:03 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IZMfC-0003Vz-N5
	for tls@ietf.org; Sun, 23 Sep 2007 04:18:02 -0400
Received: from yxa.extundo.com ([83.241.177.38])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IZMey-0004vp-0a
	for tls@ietf.org; Sun, 23 Sep 2007 04:17:54 -0400
Received: from mocca.josefsson.org (yxa.extundo.com [83.241.177.38])
	(authenticated bits=0)
	by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id
	l8N8HMZr009622
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <tls@ietf.org>; Sun, 23 Sep 2007 10:17:22 +0200
X-Hashcash: 1:22:070923:tls@ietf.org::i/O+uUDnCq+SQRq5:0ZQJq
From: Simon Josefsson <simon@josefsson.org>
To: tls@ietf.org
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
Date: Sun, 23 Sep 2007 10:17:25 +0200
Message-ID: <87vea1kd7u.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-0.0 required=4.0 tests=SPF_PASS autolearn=disabled 
	version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on yxa-iv
X-Virus-Scanned: ClamAV version 0.88.2,
	clamav-milter version 0.88.2 on yxa.extundo.com
X-Virus-Status: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 21c69d3cfc2dd19218717dbe1d974352
Cc: 
Subject: [TLS] Test server available for Opaque PRF Input extension
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

All,

There is a test server running that supports the Opaque PRF Input
extension, see:

http://www.gnu.org/software/gnutls/server.html

The test server uses the extension value 42 until a value have been
properly allocated with IANA.  Btw, I think the current allocation
policy in TLS is harmful to deployment of TLS extensions.  It should be
possible to get an early allocation for interop.

For the announcement of GnuTLS v2.1.0 (an experimental branch) with this
support, see:

http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2328

If someone wants to do interop tests, please try it directly against the
server or contact me for assistance.

I have one final comment on the document, it says:

        struct {
            opaque opaque_prf_input_value<0..2^16-1>;
        } OpaquePRFInput;

However it is not clear what a length of zero means.  It would not
contribute to the PRF computation.  Thus negotiation of the extension
with empty strings may give a false sense of security.  I don't think
the extension should be negotiated at all if the length is zero, and
that is enforced by our implementation.  One modification to the
document could be:

        struct {
            opaque opaque_prf_input_value<1..2^16>;
        } OpaquePRFInput;

But the problem could also be handled by adding some text.

Generally, having some discussion on recommended lengths of the opaque
prf input data in the document would be useful.

Thanks,
Simon

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Wed Sep 26 07:42:15 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IaVDn-0005t0-Ii; Wed, 26 Sep 2007 07:38:27 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IaVDm-0005sv-Hr
	for tls@ietf.org; Wed, 26 Sep 2007 07:38:26 -0400
Received: from smtp.nokia.com ([131.228.20.173] helo=mgw-ext14.nokia.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IaVDf-0007iF-T5
	for tls@ietf.org; Wed, 26 Sep 2007 07:38:26 -0400
Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211])
	by mgw-ext14.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id
	l8QBc4qK015810; Wed, 26 Sep 2007 14:38:08 +0300
Received: from esebh104.NOE.Nokia.com ([172.21.143.34]) by
	esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 26 Sep 2007 14:37:52 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh104.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 26 Sep 2007 14:37:52 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] TLS 1.2 hash agility
Date: Wed, 26 Sep 2007 14:37:52 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2404A1EAA3@esebe105.NOE.Nokia.com>
In-Reply-To: <20070917185820.6E7CC33C3A@delta.rtfm.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] TLS 1.2 hash agility
Thread-Index: Acf5XmKHPIvZdq4/RSKPJPwoGBmeHAGzrBUQ
References: <46ABB82D.8090709@pobox.com>
	<46ACCCCB.8000201@pobox.com><B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com><20070914215611.0342933C21@delta.rtfm.com><46EB102E.2070900@pobox.com><20070914225606.9E9B433C21@delta.rtfm.com><46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
From: <Pasi.Eronen@nokia.com>
To: <ekr@networkresonance.com>
X-OriginalArrivalTime: 26 Sep 2007 11:37:52.0860 (UTC)
	FILETIME=[AC9061C0:01C80031]
X-Nokia-AV: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 8b6657e60309a1317174c9db2ae5f227
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Eric,

Looks very good!

There's one corner case that probably needs explicit clarification=20
in the spec: certificate request containg any of the fixed-DH client
certificate types (rsa_fixed_dh, dss_fixed_dh, rsa_fixed_ecdh, and
ecdsa_fixed_ecdh).

One option would be to simply replace these with "fixed_dh" and
"fixed_ecdh" -- but that would require updating RFC 4492 as well,
and maybe we don't want to go there.

So perhaps the simplest solution would be just to add another
rule for certificate request processing:

- In case of "*_fixed_dh" client certificate types, the=20
  client certificate must be signed by an algorithm specified=20
  in certificate_types. This restriction applies only to the
  end-entity certificate, not other certificates possibly
  included in the certificate chain.

Or we could just remove this redundancy, and instead say:

- For historical reasons, the names of some client certificate=20
  types include the algorithm used to sign the certificate.
  For example, in earlier versions of TLS, rsa_fixed_dh meant a=20
  certificate signed with RSA and containing a static DH key.

  In TLS 1.2, this functionality has been obsoleted by the
  signature_types field, and the certificate type no longer=20
  restricts the algorithm used to sign the certificate.
  For example, if the server sends dss_fixed_dh certificate type
  and {dss_sha1, rsa_sha1} signature types, the client is allowed
  to reply with a certificate containing a static DH key, signed
  with RSA-SHA1.

(The latter alternative would bring us more flexibility,
and would enable combinations not currently possible: e.g.
fixed_dh key signed with ecdsa).

Best regards,
Pasi

> -----Original Message-----
> From: ext Eric Rescorla [mailto:ekr@networkresonance.com]=20
> Sent: 17 September, 2007 21:58
> To: Mike
> Cc: tls@ietf.org
> Subject: Re: [TLS] TLS 1.2 hash agility
>=20
> At Sat, 15 Sep 2007 11:56:39 -0700,
> Mike wrote:
> > I have an idea.  Change the Cert Hash Types extension to=20
> the Supported
> > Signature Algorithms extension, and allow the server to respond with
> > its supported algorithms (only if the client sends its=20
> list, of course).
> >=20
> >      struct {
> >          SignatureAlgorithm supported_algorithms<2..2^16-2>;
> >      } SupportedSignatureAlgorithms;
> >
> > If the client doesn't send the extension, the server would=20
> assume the
> > client supports rsa_with_sha1, rsa_with_md5 (?), and dsa_with_sha1
> > (and the appropriate ecdsa algorithms if an ECDSA cipher suite is
> > negotiated).  Since the server can't send its list if the client
> > doesn't, the client must assume that the server only=20
> supports the same
> > list of algorithms.
>=20
> I don't see how this solves the major problem, which is that you
> are advertising your public key algorithm support in two places.
>=20
> - In the case of the ServerKeyExchange, the client signals his
> support in this extension *and* in the cipher suite.
>=20
> - In the case of the CertificateVerify, the server signals his
>   support in the CertificateRequest and in this extension.
>=20
> Taking the ServerKeyExchange as the paradigmatic example, ISTM that
> we either need to rework the entire negotiation scheme, e.g.,
> to create new cipher suites which specify also the digest used
> for signature, or just live with this duplication. The former
> seems superior.
>=20
> So, I propose we simply replace the HashTypes type with a signature
> algorithms type that specifies both hash algorithm and signature
> algorithm. As you suggest:
>=20
>      struct {
>          SignatureAlgorithm supported_algorithms<2..2^16-2>;
>      } SupportedSignatureAlgorithms;
>=20
> This would go wherever HashTypes goes now.
>=20
> However, the interpretation rules need to be extremely clear,
> as below.
>=20
>=20
> CERTIFICATEREQUEST
> For signatures by the client (i.e., CertificateVerify and=20
> Certificate),
> the following rules apply:
>=20
>     struct {
>         ClientCertificateType certificate_types<1..2^8-1>;
>         SignatureAlgorithm signature_types<1..2^16-1>;
>         DistinguishedName certificate_authorities<0..2^16-1>;
>     } CertificateRequest;
> =20
> - Any certificate offered by the client must be signed with an
>   algorithm described in signature_types.
> - The certificate must contain a public key with an
>   algorithm specified in certificate_types.
> - The CertificateVerify must be signed with a signature algorithm
>   in signature_types.
>=20
> Consider the following examples:
>=20
> (1)=20
> certificate_types =3D rsa_sign
> signature_types   =3D rsa_sha1, rsa_sha256
>=20
> In this case:
>=20
> - The client's certificate must be signed with rsa_sha1 or rsa_sha256
> - The client must sign with either rsa_sha1 or rsa_sha256
>=20
>=20
> (2)=20
> certificate_types =3D rsa_sign
> signature_types   =3D rsa_sha1, rsa_sha256, dsa_sha1
>=20
> In this case:
>=20
> - The client's certificate must be signed with rsa_sha1 or=20
> rsa_sha256, or=20
>   dsa_sha1
> - The client must sign with rsa_sha1 or rsa_sha256, but NOT DSA
>=20
>=20
>=20
> (3)=20
> certificate_types =3D rsa_sign, dsa_sign
> signature_types   =3D rsa_sha1, rsa_sha256
>=20
> In this case:
>=20
> - The client's certificate must be signed with rsa_sha1 or rsa_sha256
> - The client must sign with either rsa_sha1 or rsa_sha256
>=20
> Note that even though the server advertised dsa, it didn't advertise
> any hashes so it's not actually usable.
>=20
>=20
>=20
> SIGNATUREALGORITHMS
> As you suggest, the client would offer a SignatureAlgorithms
> extension. The rules would be similar:
>=20
> - Any certificate offered by the server must be signed with an
>   algorithm described in signature_types.
> - The certificate key must contain a public key which has
>   an algorithm that matches the cipher suite, either for
>   signing (in the case of cipher suites which have it)
>   or encryption (in the case of cipher suites which don't).
> - The ServerKeyExchange must be signed with an algorithm that
>   matches signature_types.
>=20
> Examples:
> (1)=20
> cipher suite      =3D TLS_RSA_WITH_AES_128_CBC_SHA
> signature_types   =3D rsa_sha1, rsa_sha256
>=20
> In this case:
>=20
> - The server's certificate must be signed with rsa_sha1 or rsa_sha256
> - The server's certificate must contain an RSA key.
>=20
>=20
> (2)=20
> cipher suite      =3D TLS_RSA_DHE_WITH_AES_128_CBC_SHA
> signature_types   =3D rsa_sha1, rsa_sha256
>=20
>=20
> - The server's certificate must be signed with rsa_sha1 or rsa_sha256
> - The server's certificate must contain an RSA key.
> - The ServerKeyExchange MUST be signed with rsa_sha1 or rsa_sha256
>=20
> -Ekr
>=20
>=20
> _______________________________________________
> TLS mailing list
> TLS@lists.ietf.org
> https://www1.ietf.org/mailman/listinfo/tls
>=20

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Wed Sep 26 11:05:43 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IaYPd-0007hh-Bk; Wed, 26 Sep 2007 11:02:53 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IaYPb-0007Zo-Bo
	for tls@ietf.org; Wed, 26 Sep 2007 11:02:51 -0400
Received: from rune.pobox.com ([208.210.124.79])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IaYPV-0004KK-6r
	for tls@ietf.org; Wed, 26 Sep 2007 11:02:51 -0400
Received: from rune (localhost [127.0.0.1])
	by rune.pobox.com (Postfix) with ESMTP id 7A5B513C681
	for <tls@ietf.org>; Wed, 26 Sep 2007 11:02:45 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id 31A4213C66C
	for <tls@ietf.org>; Wed, 26 Sep 2007 11:02:45 -0400 (EDT)
Message-ID: <46FA745A.3070305@pobox.com>
Date: Wed, 26 Sep 2007 08:01:46 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] TLS 1.2 hash agility
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
In-Reply-To: <20070917185820.6E7CC33C3A@delta.rtfm.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7da5a831c477fb6ef97f379a05fb683c
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Sorry for taking so long to respond to this....

>> I have an idea.  Change the Cert Hash Types extension to the Supported
>> Signature Algorithms extension, and allow the server to respond with
>> its supported algorithms (only if the client sends its list, of course).
> 
> I don't see how this solves the major problem, which is that you
> are advertising your public key algorithm support in two places.

I look at the Supported Signature Algorithms extension as a hybrid
of the sender's list of capabilities (which algorithms his encryption
library supports), and the sender's list of algorithms he deems
acceptable from a security standpoint.  If you exchange this
information in the (proposed) extension, then you don't need to
send it again in other places.

> - In the case of the ServerKeyExchange, the client signals his
>   support in this extension *and* in the cipher suite.

The cipher suite doesn't have all the information about which
signature algorithm to use.

     TLS_RSA_WITH_RC4_128_MD5
     TLS_RSA_WITH_RC4_128_SHA
     TLS_RSA_WITH_3DES_EDE_CBC_SHA
     TLS_RSA_WITH_AES_128_CBC_SHA
     TLS_RSA_WITH_AES_256_CBC_SHA

The above cipher suites specify that the public key in the
certificate must be an RSA key, but they don't say anything about
what algorithm is used to sign the certificate.

     TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA
     TLS_DHE_DSS_WITH_AES_128_CBC_SHA
     TLS_DHE_DSS_WITH_AES_256_CBC_SHA

These specify that the DH parameters are signed with DSS, but they
don't say which hash to use.  Right now you can only use SHA-1, so
it implicitly limits you to that, but isn't this going to change
soon?

     TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA
     TLS_DHE_RSA_WITH_AES_128_CBC_SHA
     TLS_DHE_RSA_WITH_AES_256_CBC_SHA

Similarly, these say to use RSA to sign the DH parameters, but don't
specify the hash algorithm, so you still need to specify that some-
where.

> - In the case of the CertificateVerify, the server signals his
>   support in the CertificateRequest and in this extension.

I would argue that all you need to do is remove the redundant list
from the CertificateRequest message.  Since the extension has
already indicated to the client which algorithms the server will
accept, there is no need to send the list again.

> Taking the ServerKeyExchange as the paradigmatic example, ISTM that
> we either need to rework the entire negotiation scheme, e.g.,
> to create new cipher suites which specify also the digest used
> for signature, or just live with this duplication. The former
> seems superior.

It's my opinion that the current cipher suites will continue to
work fine.  As I said above, the current cipher suites are under-
specified, so adding the extension fills in the missing blanks.

> So, I propose we simply replace the HashTypes type with a signature
> algorithms type that specifies both hash algorithm and signature
> algorithm. As you suggest:
> 
>      struct {
>          SignatureAlgorithm supported_algorithms<2..2^16-2>;
>      } SupportedSignatureAlgorithms;
> 
> This would go wherever HashTypes goes now.

My point is that if you specify this information in ClientHello
and ServerHello, you never have to exchange it again, so you can
eliminate HashTypes altogether.  This will also benefit any future
addition to TLS that requires a signature, since there won't be
the need to exchange the list of supported signature algorithms
yet again.

> However, the interpretation rules need to be extremely clear,
> as below.
> 
> CERTIFICATEREQUEST
> For signatures by the client (i.e., CertificateVerify and Certificate),
> the following rules apply:
> 
>     struct {
>         ClientCertificateType certificate_types<1..2^8-1>;
>         SignatureAlgorithm signature_types<1..2^16-1>;
>         DistinguishedName certificate_authorities<0..2^16-1>;
>     } CertificateRequest;
>  
> - Any certificate offered by the client must be signed with an
>   algorithm described in signature_types.

The certificate would be signed with an algorithm listed in the
server's Supported Signature Algorithms extension.

> - The certificate must contain a public key with an
>   algorithm specified in certificate_types.

Yes, we still need certificate_types.

> - The CertificateVerify must be signed with a signature algorithm
>   in signature_types.

Again, the CertificateVerify would be signed with an algorithm
from the server's extension.

> SIGNATUREALGORITHMS
> As you suggest, the client would offer a SignatureAlgorithms
> extension. The rules would be similar:
> 
> - Any certificate offered by the server must be signed with an
>   algorithm described in signature_types.
> - The certificate key must contain a public key which has
>   an algorithm that matches the cipher suite, either for
>   signing (in the case of cipher suites which have it)
>   or encryption (in the case of cipher suites which don't).
> - The ServerKeyExchange must be signed with an algorithm that
>   matches signature_types.

I agree with all of that.

At the risk of being redundant, I assert that making this extension
symmetric and allowing the server to respond with its own list of
supported algorithms, is better than having the server send its
list every place where it is needed (now and in the future).  Send
it once in ServerHello, and use it where it's needed.

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Wed Sep 26 11:33:52 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IaYsp-0006re-OL; Wed, 26 Sep 2007 11:33:03 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IaYsp-0006qz-1I
	for tls@ietf.org; Wed, 26 Sep 2007 11:33:03 -0400
Received: from [74.95.2.169] (helo=delta.rtfm.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IaYsn-0005K2-Dh
	for tls@ietf.org; Wed, 26 Sep 2007 11:33:02 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 8A60B33C23;
	Wed, 26 Sep 2007 08:29:07 -0700 (PDT)
Date: Wed, 26 Sep 2007 08:29:06 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: Mike <mike-list@pobox.com>
Subject: Re: [TLS] TLS 1.2 hash agility
In-Reply-To: <46FA745A.3070305@pobox.com>
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070926152907.8A60B33C23@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 798b2e660f1819ae38035ac1d8d5e3ab
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Wed, 26 Sep 2007 08:01:46 -0700,
Mike wrote:
> At the risk of being redundant, I assert that making this extension
> symmetric and allowing the server to respond with its own list of
> supported algorithms, is better than having the server send its
> list every place where it is needed (now and in the future).  Send
> it once in ServerHello, and use it where it's needed.

There is only one place where it's needed: CertificateRequest.

This has two advantages over the extension:
1. It works even if the client doesn't offer the extension.
2. It puts the parameters for the certificate in the same place
   as the request for it.

-Ekr







_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Wed Sep 26 13:12:31 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IaaNc-0001IU-BV; Wed, 26 Sep 2007 13:08:56 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IaaNa-0001Fz-QV
	for tls@ietf.org; Wed, 26 Sep 2007 13:08:55 -0400
Received: from sceptre.pobox.com ([207.106.133.20])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IaaNE-0005ye-DK
	for tls@ietf.org; Wed, 26 Sep 2007 13:08:32 -0400
Received: from sceptre (localhost.localdomain [127.0.0.1])
	by sceptre.pobox.com (Postfix) with ESMTP id BB5CE2F9;
	Wed, 26 Sep 2007 13:08:52 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by sceptre.sasl.smtp.pobox.com (Postfix) with ESMTP id 5303D83262;
	Wed, 26 Sep 2007 13:08:51 -0400 (EDT)
Message-ID: <46FA91E8.5020303@pobox.com>
Date: Wed, 26 Sep 2007 10:07:52 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Eric Rescorla <ekr@networkresonance.com>
Subject: Re: [TLS] TLS 1.2 hash agility
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
	<20070926152907.8A60B33C23@delta.rtfm.com>
In-Reply-To: <20070926152907.8A60B33C23@delta.rtfm.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9466e0365fc95844abaf7c3f15a05c7d
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

>> At the risk of being redundant, I assert that making this extension
>> symmetric and allowing the server to respond with its own list of
>> supported algorithms, is better than having the server send its
>> list every place where it is needed (now and in the future).  Send
>> it once in ServerHello, and use it where it's needed.
> 
> There is only one place where it's needed: CertificateRequest.

That is true at the moment, but if a future addition to the protocol
also requires a signature, you will need to send the list twice.

> This has two advantages over the extension:
> 1. It works even if the client doesn't offer the extension.

You could make the extension mandatory for TLS 1.2 or later.  Even
if it is not mandatory, if the client does not specify the extension,
there are default capabilities that can be assumed.  If the server
requires that the client authenticate with a certificate, and also
that the default algorithms are unacceptable, it can abort the
session immediately after ClientHello is received, which is an
added performance benefit.

> 2. It puts the parameters for the certificate in the same place
>    as the request for it.

While I agree that this is in general good design, my opinion is
that the other factors outweigh it.  Gentlemen can disagree.

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Wed Sep 26 13:20:54 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IaaYd-0007ru-1P; Wed, 26 Sep 2007 13:20:19 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IaaYb-0007kj-If
	for tls@ietf.org; Wed, 26 Sep 2007 13:20:17 -0400
Received: from [74.95.2.169] (helo=delta.rtfm.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IaaYb-0006R6-8O
	for tls@ietf.org; Wed, 26 Sep 2007 13:20:17 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 824D433C23;
	Wed, 26 Sep 2007 10:16:28 -0700 (PDT)
Date: Wed, 26 Sep 2007 10:16:27 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: Mike <mike-list@pobox.com>
Subject: Re: [TLS] TLS 1.2 hash agility
In-Reply-To: <46FA91E8.5020303@pobox.com>
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
	<20070926152907.8A60B33C23@delta.rtfm.com>
	<46FA91E8.5020303@pobox.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070926171628.824D433C23@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 93238566e09e6e262849b4f805833007
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Wed, 26 Sep 2007 10:07:52 -0700,
Mike wrote:
> 
> >> At the risk of being redundant, I assert that making this extension
> >> symmetric and allowing the server to respond with its own list of
> >> supported algorithms, is better than having the server send its
> >> list every place where it is needed (now and in the future).  Send
> >> it once in ServerHello, and use it where it's needed.
> > 
> > There is only one place where it's needed: CertificateRequest.
> 
> That is true at the moment, but if a future addition to the protocol
> also requires a signature, you will need to send the list twice.

Or simply make the change then.


> While I agree that this is in general good design, my opinion is
> that the other factors outweigh it.  Gentlemen can disagree.

Yes.

-Ekr


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 27 01:51:19 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IamEL-00020D-T2; Thu, 27 Sep 2007 01:48:09 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IamEK-0001vx-GN
	for tls@ietf.org; Thu, 27 Sep 2007 01:48:08 -0400
Received: from sceptre.pobox.com ([207.106.133.20])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IamE7-000317-Qg
	for tls@ietf.org; Thu, 27 Sep 2007 01:48:06 -0400
Received: from sceptre (localhost.localdomain [127.0.0.1])
	by sceptre.pobox.com (Postfix) with ESMTP id 5928E2EF;
	Thu, 27 Sep 2007 01:47:00 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by sceptre.sasl.smtp.pobox.com (Postfix) with ESMTP id 046DB818D6;
	Thu, 27 Sep 2007 01:46:58 -0400 (EDT)
Message-ID: <46FB4397.6040203@pobox.com>
Date: Wed, 26 Sep 2007 22:45:59 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Eric Rescorla <ekr@networkresonance.com>
Subject: Re: [TLS] TLS 1.2 hash agility
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
	<20070926152907.8A60B33C23@delta.rtfm.com>
	<46FA91E8.5020303@pobox.com>
In-Reply-To: <46FA91E8.5020303@pobox.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 8abaac9e10c826e8252866cbe6766464
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

>> This has two advantages over the extension:
>> 1. It works even if the client doesn't offer the extension.
> 
> You could make the extension mandatory for TLS 1.2 or later.  Even
> if it is not mandatory, if the client does not specify the extension,
> there are default capabilities that can be assumed.  If the server
> requires that the client authenticate with a certificate, and also
> that the default algorithms are unacceptable, it can abort the
> session immediately after ClientHello is received, which is an
> added performance benefit.

I realized half way through an all-day meeting that this performance
benefit does not depend on where you put the server's list of
signature algorithms; so it is not a valid argument for the server
extension.

>> 2. It puts the parameters for the certificate in the same place
>>    as the request for it.
> 
> While I agree that this is in general good design, my opinion is
> that the other factors outweigh it.  Gentlemen can disagree.

I spent the rest of the meeting trying to come up with other valid
reasons for using the extension to advertise the server's
capabilities, versus putting them in the CertificateRequest.  The
only thing I could come up with is that putting the list of
signature algorithms in the CertificateRequest is a change to the
format of that message, so it requires version-specific processing,
whereas if you use the server extension, the format of Certificate
Request is the same as previous TLS versions.

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 27 01:53:08 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IamIc-0002gm-LE; Thu, 27 Sep 2007 01:52:34 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IamIZ-0002OR-Cs
	for tls@ietf.org; Thu, 27 Sep 2007 01:52:31 -0400
Received: from rune.pobox.com ([208.210.124.79])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IamIP-00036q-C2
	for tls@ietf.org; Thu, 27 Sep 2007 01:52:28 -0400
Received: from rune (localhost [127.0.0.1])
	by rune.pobox.com (Postfix) with ESMTP id 15A4E13AF29;
	Thu, 27 Sep 2007 01:52:13 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id ACB3C13AAD4;
	Thu, 27 Sep 2007 01:52:10 -0400 (EDT)
Message-ID: <46FB44CC.5020509@pobox.com>
Date: Wed, 26 Sep 2007 22:51:08 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Eric Rescorla <ekr@networkresonance.com>
Subject: Re: [TLS] TLS 1.2 hash agility
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
	<20070926152907.8A60B33C23@delta.rtfm.com>
	<46FA91E8.5020303@pobox.com>
	<20070926171628.824D433C23@delta.rtfm.com>
In-Reply-To: <20070926171628.824D433C23@delta.rtfm.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: cf4fa59384e76e63313391b70cd0dd25
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

>>> There is only one place where it's needed: CertificateRequest.
>> That is true at the moment, but if a future addition to the protocol
>> also requires a signature, you will need to send the list twice.
> 
> Or simply make the change then.

I see two options:

   1) use a server extension to advertise signature algorithm support

   2) modify the format of CertificateRequest now, and possibly
      have to change it back later and implement choice 1 anyway

I would choose option 1.

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 27 05:32:44 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1Iapi8-0008GG-Va; Thu, 27 Sep 2007 05:31:08 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1Iapi7-0008Fs-OU
	for tls@ietf.org; Thu, 27 Sep 2007 05:31:07 -0400
Received: from smtp.nokia.com ([131.228.20.173] helo=mgw-ext14.nokia.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1Iapi7-0001Ys-7x
	for tls@ietf.org; Thu, 27 Sep 2007 05:31:07 -0400
Received: from esebh108.NOE.Nokia.com (esebh108.ntc.nokia.com [172.21.143.145])
	by mgw-ext14.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id
	l8R9UmJI002587; Thu, 27 Sep 2007 12:31:04 +0300
Received: from esebh103.NOE.Nokia.com ([172.21.143.33]) by
	esebh108.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 27 Sep 2007 12:30:42 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh103.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 27 Sep 2007 12:30:42 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] TLS 1.2 hash agility
Date: Thu, 27 Sep 2007 12:30:42 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2404A1F1A6@esebe105.NOE.Nokia.com>
In-Reply-To: <46FA745A.3070305@pobox.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] TLS 1.2 hash agility
Thread-Index: AcgAT20UH9clMuy8RXejWUQWyIGXsgAmQbBg
References: <46ABB82D.8090709@pobox.com>
	<46ACCCCB.8000201@pobox.com><B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com><20070914215611.0342933C21@delta.rtfm.com><46EB102E.2070900@pobox.com><20070914225606.9E9B433C21@delta.rtfm.com><46EC2AE7.9040903@pobox.com><20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
From: <Pasi.Eronen@nokia.com>
To: <mike-list@pobox.com>, <tls@ietf.org>
X-OriginalArrivalTime: 27 Sep 2007 09:30:42.0530 (UTC)
	FILETIME=[12F22C20:01C800E9]
X-Nokia-AV: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 93238566e09e6e262849b4f805833007
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

mike-list@pobox.com wrote:

> > - In the case of the ServerKeyExchange, the client signals his
> >   support in this extension *and* in the cipher suite.
>=20
> The cipher suite doesn't have all the information about which
> signature algorithm to use.
>=20
>      TLS_RSA_WITH_RC4_128_MD5
>      TLS_RSA_WITH_RC4_128_SHA
>      TLS_RSA_WITH_3DES_EDE_CBC_SHA
>      TLS_RSA_WITH_AES_128_CBC_SHA
>      TLS_RSA_WITH_AES_256_CBC_SHA
>=20
> The above cipher suites specify that the public key in the
> certificate must be an RSA key, but they don't say anything about
> what algorithm is used to sign the certificate.

In TLS 1.0 and 1.1, these ciphersuites required that the certificate
is also signed with RSA. (But that's something we can change in=20
TLS 1.2, if we so decide.)

Best regards,
Pasi

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 27 05:42:38 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IapsS-0002ga-IG; Thu, 27 Sep 2007 05:41:48 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IapsR-0002gD-Gc
	for tls@ietf.org; Thu, 27 Sep 2007 05:41:47 -0400
Received: from smtp.nokia.com ([131.228.20.173] helo=mgw-ext14.nokia.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IapsR-0001qe-0z
	for tls@ietf.org; Thu, 27 Sep 2007 05:41:47 -0400
Received: from esebh108.NOE.Nokia.com (esebh108.ntc.nokia.com [172.21.143.145])
	by mgw-ext14.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id
	l8R9fetO012090; Thu, 27 Sep 2007 12:41:42 +0300
Received: from esebh103.NOE.Nokia.com ([172.21.143.33]) by
	esebh108.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 27 Sep 2007 12:41:38 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh103.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 27 Sep 2007 12:41:38 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] TLS 1.2 hash agility
Date: Thu, 27 Sep 2007 12:41:39 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2404A1F1D7@esebe105.NOE.Nokia.com>
In-Reply-To: <46FB4397.6040203@pobox.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] TLS 1.2 hash agility
Thread-Index: AcgAzBKB1BRuKaFHSkiFyv0w+X9DmAAHS4WA
References: <46ABB82D.8090709@pobox.com>
	<46ACCCCB.8000201@pobox.com><B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com><20070914215611.0342933C21@delta.rtfm.com><46EB102E.2070900@pobox.com><20070914225606.9E9B433C21@delta.rtfm.com><46EC2AE7.9040903@pobox.com><20070917185820.6E7CC33C3A@delta.rtfm.com><46FA745A.3070305@pobox.com><20070926152907.8A60B33C23@delta.rtfm.com><46FA91E8.5020303@pobox.com>
	<46FB4397.6040203@pobox.com>
From: <Pasi.Eronen@nokia.com>
To: <mike-list@pobox.com>
X-OriginalArrivalTime: 27 Sep 2007 09:41:38.0381 (UTC)
	FILETIME=[99DD17D0:01C800EA]
X-Nokia-AV: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 798b2e660f1819ae38035ac1d8d5e3ab
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

mike-list@pobox.com wrote:

> The only thing I could come up with is that putting the list of
> signature algorithms in the CertificateRequest is a change to the
> format of that message, so it requires version-specific processing,
> whereas if you use the server extension, the format of Certificate
> Request is the same as previous TLS versions.

CertificateRequest will require version-specific processing anyway,
because its semantics will change. For example, in TLS 1.0/1.1
ClientCertificateType "rsa_sign" meant a certificate containing
an RSA key, and signed with RSA. In TLS 1.2, it will probably
mean just a cert containing an RSA key; the signature algorithm
part will be specified separately.

(Another difference is that in TLS 1.0/1.1, clients that didn't
have certificates often just ignored CertificateRequest;=20
current draft of TLS 1.2 mandates sending an empty Certificate=20
message instead.)

Best regards,
Pasi

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 27 10:22:23 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IauE6-0006q1-Ts; Thu, 27 Sep 2007 10:20:26 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IauE5-0005nz-Ku
	for tls@ietf.org; Thu, 27 Sep 2007 10:20:25 -0400
Received: from sceptre.pobox.com ([207.106.133.20])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IauDv-0007ky-GN
	for tls@ietf.org; Thu, 27 Sep 2007 10:20:21 -0400
Received: from sceptre (localhost.localdomain [127.0.0.1])
	by sceptre.pobox.com (Postfix) with ESMTP id E957A2F0;
	Thu, 27 Sep 2007 10:19:39 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by sceptre.sasl.smtp.pobox.com (Postfix) with ESMTP id 933DA817C2;
	Thu, 27 Sep 2007 10:19:38 -0400 (EDT)
Message-ID: <46FBBBBE.7000108@pobox.com>
Date: Thu, 27 Sep 2007 07:18:38 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Eric Rescorla <ekr@networkresonance.com>
Subject: Re: [TLS] TLS 1.2 hash agility
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
	<20070926152907.8A60B33C23@delta.rtfm.com>
	<46FA91E8.5020303@pobox.com> <46FB4397.6040203@pobox.com>
In-Reply-To: <46FB4397.6040203@pobox.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 8b30eb7682a596edff707698f4a80f7d
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

> I spent [a lot of time] trying to come up with other valid
> reasons for using the extension to advertise the server's
> capabilities, versus putting them in the CertificateRequest.  The
> only thing I could come up with is that putting the list of
> signature algorithms in the CertificateRequest is a change to the
> format of that message, so it requires version-specific processing,
> whereas if you use the server extension, the format of Certificate
> Request is the same as previous TLS versions.

I came up with a few more ideas, unfortunately at the expense of
not being able to sleep:

   - The extension mechanism was added to TLS to enable the
     addition of functionality without needing to constantly
     change handshake message formats; so I would argue that
     any functionality that -can- be added using an extension
     -should- use an extension instead of modifying messages.
     (Yes, Signature had to change so messages will be
     different, but limiting the damage is a worthy goal.)

   - There is a potential performance benefit on the client
     side: if the client requires better algorithms than the
     defaults and the server either doesn't reply with the
     extension, or if the list doesn't contain an acceptable
     algorithm, then the client can abort the connection
     immediately after parsing the ServerHello message.  It
     can avoid the need to parse the Certificate message to
     determine how it was signed.

The only counter argument I could find is that the server's list
of acceptable algorithms might be different in different places.
Even if so, the client can benefit from knowing the server's
certificate signature algorithms up front, so having the server
respond with the extension is useful.  Then I would suggest
that signature_algorithms in CertificateRequest could be empty,
which would mean, "use the same list given in the server's
signature algorithms extension."

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 27 10:34:39 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IauRY-0004Qk-EL; Thu, 27 Sep 2007 10:34:20 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IauRW-0004Om-Pi
	for tls@ietf.org; Thu, 27 Sep 2007 10:34:18 -0400
Received: from [74.95.2.169] (helo=delta.rtfm.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IauRW-0002qb-BC
	for tls@ietf.org; Thu, 27 Sep 2007 10:34:18 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 7EF4433C21;
	Thu, 27 Sep 2007 07:30:28 -0700 (PDT)
Date: Thu, 27 Sep 2007 07:30:28 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: Mike <mike-list@pobox.com>
Subject: Re: [TLS] TLS 1.2 hash agility
In-Reply-To: <46FBBBBE.7000108@pobox.com>
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
	<20070926152907.8A60B33C23@delta.rtfm.com>
	<46FA91E8.5020303@pobox.com> <46FB4397.6040203@pobox.com>
	<46FBBBBE.7000108@pobox.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070927143028.7EF4433C21@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 082a9cbf4d599f360ac7f815372a6a15
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Thu, 27 Sep 2007 07:18:38 -0700,
Mike wrote:
> 
> > I spent [a lot of time] trying to come up with other valid
> > reasons for using the extension to advertise the server's
> > capabilities, versus putting them in the CertificateRequest.  The
> > only thing I could come up with is that putting the list of
> > signature algorithms in the CertificateRequest is a change to the
> > format of that message, so it requires version-specific processing,
> > whereas if you use the server extension, the format of Certificate
> > Request is the same as previous TLS versions.
> 
> I came up with a few more ideas, unfortunately at the expense of
> not being able to sleep:
> 
>    - The extension mechanism was added to TLS to enable the
>      addition of functionality without needing to constantly
>      change handshake message formats; so I would argue that
>      any functionality that -can- be added using an extension
>      -should- use an extension instead of modifying messages.
>      (Yes, Signature had to change so messages will be
>      different, but limiting the damage is a worthy goal.)

No, I don't agree with this claim about the purpose of the
extension mechanism. Some things are appropriately done
in extensions, some should be part of the main protocol.
It's a *bad* idea to move as much as possible into extensions.




>    - There is a potential performance benefit on the client
>      side: if the client requires better algorithms than the
>      defaults and the server either doesn't reply with the
>      extension, or if the list doesn't contain an acceptable
>      algorithm, then the client can abort the connection
>      immediately after parsing the ServerHello message.  It
>      can avoid the need to parse the Certificate message to
>      determine how it was signed.

As you indicated in your previous message, this is not in fact
an advantage.


> The only counter argument I could find is that the server's list
> of acceptable algorithms might be different in different places.

And yet, I mentioned several other reasons in my previous message:

- Locality of information.
- It works even if the client does not offer the extension.


> Even if so, the client can benefit from knowing the server's
> certificate signature algorithms up front, so having the server
> respond with the extension is useful.

I don't see any significant value in this.

-Ekr



_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 27 10:35:09 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IauS6-0005B8-2G; Thu, 27 Sep 2007 10:34:54 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IauS4-0005AH-Ke
	for tls@ietf.org; Thu, 27 Sep 2007 10:34:52 -0400
Received: from [74.95.2.169] (helo=delta.rtfm.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IauRz-0008JZ-3C
	for tls@ietf.org; Thu, 27 Sep 2007 10:34:52 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 545E533C28;
	Thu, 27 Sep 2007 07:30:42 -0700 (PDT)
Date: Thu, 27 Sep 2007 07:30:42 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: Mike <mike-list@pobox.com>
Subject: Re: [TLS] TLS 1.2 hash agility
In-Reply-To: <46FB44CC.5020509@pobox.com>
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
	<20070926152907.8A60B33C23@delta.rtfm.com>
	<46FA91E8.5020303@pobox.com>
	<20070926171628.824D433C23@delta.rtfm.com>
	<46FB44CC.5020509@pobox.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070927143042.545E533C28@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 798b2e660f1819ae38035ac1d8d5e3ab
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Wed, 26 Sep 2007 22:51:08 -0700,
Mike wrote:
> 
> >>> There is only one place where it's needed: CertificateRequest.
> >> That is true at the moment, but if a future addition to the protocol
> >> also requires a signature, you will need to send the list twice.
> > 
> > Or simply make the change then.
> 
> I see two options:
> 
>    1) use a server extension to advertise signature algorithm support
> 
>    2) modify the format of CertificateRequest now, and possibly
>       have to change it back later and implement choice 1 anyway
> 
> I would choose option 1.

As you say, gentleman can disagree.

-Ekr


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 27 10:39:29 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IauWD-0002J1-0c; Thu, 27 Sep 2007 10:39:09 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IauWB-00025q-Pf
	for tls@ietf.org; Thu, 27 Sep 2007 10:39:07 -0400
Received: from sceptre.pobox.com ([207.106.133.20])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IauW4-00007z-LM
	for tls@ietf.org; Thu, 27 Sep 2007 10:39:01 -0400
Received: from sceptre (localhost.localdomain [127.0.0.1])
	by sceptre.pobox.com (Postfix) with ESMTP id 72AEF2FA;
	Thu, 27 Sep 2007 10:39:11 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by sceptre.sasl.smtp.pobox.com (Postfix) with ESMTP id 16CEB7FF70;
	Thu, 27 Sep 2007 10:39:09 -0400 (EDT)
Message-ID: <46FBC052.9030609@pobox.com>
Date: Thu, 27 Sep 2007 07:38:10 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Pasi.Eronen@nokia.com
Subject: Re: [TLS] TLS 1.2 hash agility
References: <46ABB82D.8090709@pobox.com>
	<46ACCCCB.8000201@pobox.com><B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com><20070914215611.0342933C21@delta.rtfm.com><46EB102E.2070900@pobox.com><20070914225606.9E9B433C21@delta.rtfm.com><46EC2AE7.9040903@pobox.com><20070917185820.6E7CC33C3A@delta.rtfm.com><46FA745A.3070305@pobox.com><20070926152907.8A60B33C23@delta.rtfm.com><46FA91E8.5020303@pobox.com>
	<46FB4397.6040203@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F2404A1F1D7@esebe105.NOE.Nokia.com>
In-Reply-To: <B356D8F434D20B40A8CEDAEC305A1F2404A1F1D7@esebe105.NOE.Nokia.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: bb8f917bb6b8da28fc948aeffb74aa17
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

>> The only thing I could come up with is that putting the list of
>> signature algorithms in the CertificateRequest is a change to the
>> format of that message, so it requires version-specific processing,
>> whereas if you use the server extension, the format of Certificate
>> Request is the same as previous TLS versions.
> 
> CertificateRequest will require version-specific processing anyway,
> because its semantics will change. For example, in TLS 1.0/1.1
> ClientCertificateType "rsa_sign" meant a certificate containing
> an RSA key, and signed with RSA. In TLS 1.2, it will probably
> mean just a cert containing an RSA key; the signature algorithm
> part will be specified separately.

Ok, this is valid.  However, I have too much code that looks like:

    if (version == ssl3)
       do_this;
    else if (version <= tls11)
       do_that;
    else
       do_the_other;

Which is a maintenance nightmare.  In some places I used separate
functions for different TLS versions, all of which are very similar,
so that is not ideal either.  The less of this we need, the better.

> (Another difference is that in TLS 1.0/1.1, clients that didn't
> have certificates often just ignored CertificateRequest; 
> current draft of TLS 1.2 mandates sending an empty Certificate 
> message instead.)

Yes, but you can change your code to always send an empty Certificate
even for the earlier versions.

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 27 11:02:38 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IausF-0001I4-TY; Thu, 27 Sep 2007 11:01:55 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IausF-0000Uo-7n
	for tls@ietf.org; Thu, 27 Sep 2007 11:01:55 -0400
Received: from rune.pobox.com ([208.210.124.79])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1Iaurt-00041F-Lx
	for tls@ietf.org; Thu, 27 Sep 2007 11:01:33 -0400
Received: from rune (localhost [127.0.0.1])
	by rune.pobox.com (Postfix) with ESMTP id A4BE113CE01;
	Thu, 27 Sep 2007 11:01:51 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id 4510113A3FF;
	Thu, 27 Sep 2007 11:01:50 -0400 (EDT)
Message-ID: <46FBC5A1.7020501@pobox.com>
Date: Thu, 27 Sep 2007 08:00:49 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Eric Rescorla <ekr@networkresonance.com>
Subject: Re: [TLS] TLS 1.2 hash agility
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
	<20070926152907.8A60B33C23@delta.rtfm.com>
	<46FA91E8.5020303@pobox.com> <46FB4397.6040203@pobox.com>
	<46FBBBBE.7000108@pobox.com>
	<20070927143028.7EF4433C21@delta.rtfm.com>
In-Reply-To: <20070927143028.7EF4433C21@delta.rtfm.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 21c69d3cfc2dd19218717dbe1d974352
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

>>    - There is a potential performance benefit on the client
>>      side: if the client requires better algorithms than the
>>      defaults and the server either doesn't reply with the
>>      extension, or if the list doesn't contain an acceptable
>>      algorithm, then the client can abort the connection
>>      immediately after parsing the ServerHello message.  It
>>      can avoid the need to parse the Certificate message to
>>      determine how it was signed.
> 
> As you indicated in your previous message, this is not in fact
> an advantage.

It is a different benefit (for the client, not the server), so
yes it is an advantage.

>> The only counter argument I could find is that the server's list
>> of acceptable algorithms might be different in different places.
> 
> And yet, I mentioned several other reasons in my previous message:
> 
> - Locality of information.

For CertificateRequest, yes, but by putting it there, the client
has to parse the Certificate to figure out if it is signed with
an acceptable algorithm.  If the server's list of acceptable
algorithms was passed in a ServerHello extension, the client
would be able to determine if it should even bother.  (That is
the benefit I referred to above.)

> - It works even if the client does not offer the extension.

A client that does not offer the extension doesn't support any
advanced algorithms.  If it did, why wouldn't it tell the server?

>> Even if so, the client can benefit from knowing the server's
>> certificate signature algorithms up front, so having the server
>> respond with the extension is useful.
> 
> I don't see any significant value in this.

In the end, it is your specification, so all I can do is present
my point of view....

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 27 12:15:56 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1Iavzw-00066M-Us; Thu, 27 Sep 2007 12:13:57 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1Iavzv-00066E-PV
	for tls@ietf.org; Thu, 27 Sep 2007 12:13:55 -0400
Received: from [74.95.2.169] (helo=delta.rtfm.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1Iavzv-0006SU-AY
	for tls@ietf.org; Thu, 27 Sep 2007 12:13:55 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 7CB8C33C28;
	Thu, 27 Sep 2007 09:10:05 -0700 (PDT)
Date: Thu, 27 Sep 2007 09:10:04 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: Mike <mike-list@pobox.com>
Subject: Re: [TLS] TLS 1.2 hash agility
In-Reply-To: <46FBC5A1.7020501@pobox.com>
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
	<20070926152907.8A60B33C23@delta.rtfm.com>
	<46FA91E8.5020303@pobox.com> <46FB4397.6040203@pobox.com>
	<46FBBBBE.7000108@pobox.com>
	<20070927143028.7EF4433C21@delta.rtfm.com>
	<46FBC5A1.7020501@pobox.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070927161005.7CB8C33C28@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 02ec665d00de228c50c93ed6b5e4fc1a
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Thu, 27 Sep 2007 08:00:49 -0700,
Mike wrote:
> >> The only counter argument I could find is that the server's list
> >> of acceptable algorithms might be different in different places.
> > 
> > And yet, I mentioned several other reasons in my previous message:
> > 
> > - Locality of information.
> 
> For CertificateRequest, yes, but by putting it there, the client
> has to parse the Certificate to figure out if it is signed with
> an acceptable algorithm.  If the server's list of acceptable
> algorithms was passed in a ServerHello extension, the client
> would be able to determine if it should even bother.  (That is
> the benefit I referred to above.)

I'm sorry, I don't understand your point: the client tells
the server what algorithms it supports. A compliant server
MUST NOT send a certificate with a different algorithm,
but rather abort the connection. The client at this point
needs to assume that the server's certificate is OK and
parse it, yes. But if we're assuming that the server is
noncompliant, then you can't count on the indicator you're
talking about anyway.

You and I seem to be assuming different semantics here:
the design I propose is not a negotiation. The client says
"I will accept stuff signed with X" and the server does
likewise. The only restriction is that the signer use an
algorithm within the other side's set. These sets need
not intersect.


> > - It works even if the client does not offer the extension.
> 
> A client that does not offer the extension doesn't support any
> advanced algorithms.  If it did, why wouldn't it tell the server?

It might have a certificate signed with a better algorithm but that
it can't itself verify. It might simply be configured to prefer
a certain set of algorithms. Remember that the signature over
the client's certificate and CertificateVerify is for the 
client's benefit, not the servers, and vice versa, so just 
because you only trust algorithm X doesn't mean you can't
generate algorithm Y.

> >> Even if so, the client can benefit from knowing the server's
> >> certificate signature algorithms up front, so having the server
> >> respond with the extension is useful.
> > 
> > I don't see any significant value in this.
> 
> In the end, it is your specification, so all I can do is present
> my point of view....

This is a WG document, so it's actually the WG's position that
matters. But given that you and I are the people who have
expressed opinions...

-Ekr


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 27 12:51:47 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IawZj-0005wZ-Lw; Thu, 27 Sep 2007 12:50:55 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IawZj-0005eT-1J
	for tls@ietf.org; Thu, 27 Sep 2007 12:50:55 -0400
Received: from sceptre.pobox.com ([207.106.133.20])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IawZR-0004Ak-SA
	for tls@ietf.org; Thu, 27 Sep 2007 12:50:43 -0400
Received: from sceptre (localhost.localdomain [127.0.0.1])
	by sceptre.pobox.com (Postfix) with ESMTP id 709C12F2;
	Thu, 27 Sep 2007 12:50:37 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by sceptre.sasl.smtp.pobox.com (Postfix) with ESMTP id 1D7F583828;
	Thu, 27 Sep 2007 12:50:35 -0400 (EDT)
Message-ID: <46FBDF1F.4050604@pobox.com>
Date: Thu, 27 Sep 2007 09:49:35 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Eric Rescorla <ekr@networkresonance.com>
Subject: Re: [TLS] TLS 1.2 hash agility
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
	<20070926152907.8A60B33C23@delta.rtfm.com>
	<46FA91E8.5020303@pobox.com> <46FB4397.6040203@pobox.com>
	<46FBBBBE.7000108@pobox.com>
	<20070927143028.7EF4433C21@delta.rtfm.com>
	<46FBC5A1.7020501@pobox.com>
	<20070927161005.7CB8C33C28@delta.rtfm.com>
In-Reply-To: <20070927161005.7CB8C33C28@delta.rtfm.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9466e0365fc95844abaf7c3f15a05c7d
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

> I'm sorry, I don't understand your point: the client tells
> the server what algorithms it supports. A compliant server
> MUST NOT send a certificate with a different algorithm,
> but rather abort the connection.

You understood my point correctly, but it was flawed....

> You and I seem to be assuming different semantics here:
> the design I propose is not a negotiation. The client says
> "I will accept stuff signed with X" and the server does
> likewise. The only restriction is that the signer use an
> algorithm within the other side's set. These sets need
> not intersect.

The only thing we disagree on is where the server should
put its preferences.  You've convinced me that it doesn't
much matter technically.

> Remember that the signature over
> the client's certificate and CertificateVerify is for the 
> client's benefit, not the servers, and vice versa....

I thought that the signature over the client's certificate
was to prove to the server that you have the corresponding
private key, and therefore that you are the entity named in
the certificate (and deserve access to private information
about that entity).

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 27 13:22:48 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1Iax3d-0000Bm-OX; Thu, 27 Sep 2007 13:21:49 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1Iax3c-0008RC-0E
	for tls@ietf.org; Thu, 27 Sep 2007 13:21:48 -0400
Received: from sceptre.pobox.com ([207.106.133.20])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1Iax3H-0008Tc-KV
	for tls@ietf.org; Thu, 27 Sep 2007 13:21:27 -0400
Received: from sceptre (localhost.localdomain [127.0.0.1])
	by sceptre.pobox.com (Postfix) with ESMTP id 04D8F2EF;
	Thu, 27 Sep 2007 13:21:49 -0400 (EDT)
Received: from [192.168.1.8] (wsip-24-234-114-35.lv.lv.cox.net [24.234.114.35])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by sceptre.sasl.smtp.pobox.com (Postfix) with ESMTP id A74727FE7B;
	Thu, 27 Sep 2007 13:21:47 -0400 (EDT)
Message-ID: <46FBE66F.1040501@pobox.com>
Date: Thu, 27 Sep 2007 10:20:47 -0700
From: Mike <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Eric Rescorla <ekr@networkresonance.com>
Subject: Re: [TLS] TLS 1.2 hash agility
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
	<20070926152907.8A60B33C23@delta.rtfm.com>
	<46FA91E8.5020303@pobox.com> <46FB4397.6040203@pobox.com>
	<46FBBBBE.7000108@pobox.com>
	<20070927143028.7EF4433C21@delta.rtfm.com>
	<46FBC5A1.7020501@pobox.com>
	<20070927161005.7CB8C33C28@delta.rtfm.com>
	<46FBDF1F.4050604@pobox.com>
In-Reply-To: <46FBDF1F.4050604@pobox.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7a6398bf8aaeabc7a7bb696b6b0a2aad
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

>> Remember that the signature over
>> the client's certificate and CertificateVerify is for the client's 
>> benefit, not the servers, and vice versa....
> 
> I thought that the signature over the client's certificate
> was to prove to the server that you have the corresponding
> private key, and therefore that you are the entity named in
> the certificate (and deserve access to private information
> about that entity).

Oops, I meant signature in CertificateVerify.

Mike

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 27 13:50:24 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IaxUZ-00055E-Li; Thu, 27 Sep 2007 13:49:39 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IaxUY-000559-Fe
	for tls@ietf.org; Thu, 27 Sep 2007 13:49:38 -0400
Received: from [209.213.211.195] (helo=delta.rtfm.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IaxUS-0005al-9R
	for tls@ietf.org; Thu, 27 Sep 2007 13:49:38 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id 3FD0E33C28;
	Thu, 27 Sep 2007 10:45:26 -0700 (PDT)
Date: Thu, 27 Sep 2007 10:45:26 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: Mike <mike-list@pobox.com>
Subject: Re: [TLS] TLS 1.2 hash agility
In-Reply-To: <46FBDF1F.4050604@pobox.com>
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
	<20070926152907.8A60B33C23@delta.rtfm.com>
	<46FA91E8.5020303@pobox.com> <46FB4397.6040203@pobox.com>
	<46FBBBBE.7000108@pobox.com>
	<20070927143028.7EF4433C21@delta.rtfm.com>
	<46FBC5A1.7020501@pobox.com>
	<20070927161005.7CB8C33C28@delta.rtfm.com>
	<46FBDF1F.4050604@pobox.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070927174526.3FD0E33C28@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: b19722fc8d3865b147c75ae2495625f2
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Thu, 27 Sep 2007 09:49:35 -0700,
Mike wrote:
> > Remember that the signature over
> > the client's certificate and CertificateVerify is for the 
> > client's benefit, not the servers, and vice versa....
> 
> I thought that the signature over the client's certificate
> was to prove to the server that you have the corresponding
> private key, and therefore that you are the entity named in
> the certificate (and deserve access to private information
> about that entity).

Yes, I agree with this. My point is that the enforcement of
the client's identity *must* happen by the server. There
is nothing the client can do to force the server to enforce
a strong policy for client auth.

Consider the following case:

- SHA-1 has been broken.
- I have a classic RSA certificate signed with RSA-SHA-256.
- The server isn't under my control and foolishly accepts SHA-1.

No matter how I configure my client, an attacker can impersonate
me and sign with SHA-1 and the server will accept it.

-Ekr







_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Thu Sep 27 19:59:38 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1Ib3DT-00082h-8C; Thu, 27 Sep 2007 19:56:23 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1Ib3DS-00082I-7x
	for tls@ietf.org; Thu, 27 Sep 2007 19:56:22 -0400
Received: from woodstock.binhost.com ([8.8.40.152])
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1Ib3DL-000614-Ht
	for tls@ietf.org; Thu, 27 Sep 2007 19:56:22 -0400
Received: (qmail 16322 invoked by uid 0); 27 Sep 2007 23:55:51 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.231.48.203)
	by woodstock.binhost.com with SMTP; 27 Sep 2007 23:55:51 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Thu, 27 Sep 2007 12:26:01 -0400
To: <Pasi.Eronen@nokia.com>
From: Russ Housley <housley@vigilsec.com>
Subject: RE: [TLS] TLS 1.2 hash agility
In-Reply-To: <B356D8F434D20B40A8CEDAEC305A1F2404A1F1D7@esebe105.NOE.Noki a.com>
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
	<20070926152907.8A60B33C23@delta.rtfm.com>
	<46FA91E8.5020303@pobox.com> <46FB4397.6040203@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F2404A1F1D7@esebe105.NOE.Nokia.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 1.9 (+)
X-Scan-Signature: 39bd8f8cbb76cae18b7e23f7cf6b2b9f
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org
Message-Id: <E1Ib3DT-00082h-8C@megatron.ietf.org>

For backward compatibility, wouldn't it be cleaner to add a new 
rsa_xxx type to indicate the different semantics.  The new type would 
not be supported by non-TLS v1.2 implementations, nut the handling of 
rsa_sign wouid be the same in all cases.

Russ


  At 05:41 AM 9/27/2007, Pasi.Eronen@nokia.com wrote:
>mike-list@pobox.com wrote:
>
> > The only thing I could come up with is that putting the list of
> > signature algorithms in the CertificateRequest is a change to the
> > format of that message, so it requires version-specific processing,
> > whereas if you use the server extension, the format of Certificate
> > Request is the same as previous TLS versions.
>
>CertificateRequest will require version-specific processing anyway,
>because its semantics will change. For example, in TLS 1.0/1.1
>ClientCertificateType "rsa_sign" meant a certificate containing
>an RSA key, and signed with RSA. In TLS 1.2, it will probably
>mean just a cert containing an RSA key; the signature algorithm
>part will be specified separately.
>
>(Another difference is that in TLS 1.0/1.1, clients that didn't
>have certificates often just ignored CertificateRequest;
>current draft of TLS 1.2 mandates sending an empty Certificate
>message instead.)
>
>Best regards,
>Pasi
>
>_______________________________________________
>TLS mailing list
>TLS@lists.ietf.org
>https://www1.ietf.org/mailman/listinfo/tls


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 28 05:02:34 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IbBhX-0002Nn-3a; Fri, 28 Sep 2007 04:59:59 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IbBhU-0002Nb-UI
	for tls@ietf.org; Fri, 28 Sep 2007 04:59:56 -0400
Received: from smtp.nokia.com ([131.228.20.170] helo=mgw-ext11.nokia.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IbBhM-0001vr-IW
	for tls@ietf.org; Fri, 28 Sep 2007 04:59:54 -0400
Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213])
	by mgw-ext11.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id
	l8S8xHLo026329; Fri, 28 Sep 2007 11:59:36 +0300
Received: from esebh103.NOE.Nokia.com ([172.21.143.33]) by
	esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 28 Sep 2007 11:59:17 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh103.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 28 Sep 2007 11:59:16 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] TLS 1.2 hash agility
Date: Fri, 28 Sep 2007 11:59:16 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2404A52680@esebe105.NOE.Nokia.com>
In-Reply-To: <200709272356.l8RNu5Zr017321@mgw-mx02.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] TLS 1.2 hash agility
Thread-Index: AcgBYf0RetUayb2DT/+R0QRL+OiW0wASrWkA
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
	<20070914215611.0342933C21@delta.rtfm.com>
	<46EB102E.2070900@pobox.com>
	<20070914225606.9E9B433C21@delta.rtfm.com>
	<46EC2AE7.9040903@pobox.com>
	<20070917185820.6E7CC33C3A@delta.rtfm.com>
	<46FA745A.3070305@pobox.com>
	<20070926152907.8A60B33C23@delta.rtfm.com>
	<46FA91E8.5020303@pobox.com> <46FB4397.6040203@pobox.com>
	<B356D8F434D20B40A8CEDAEC305A1F2404A1F1D7@esebe105.NOE.Nokia.com>
	<200709272356.l8RNu5Zr017321@mgw-mx02.nokia.com>
From: <Pasi.Eronen@nokia.com>
To: <housley@vigilsec.com>
X-OriginalArrivalTime: 28 Sep 2007 08:59:16.0867 (UTC)
	FILETIME=[D96A9530:01C801AD]
X-Nokia-AV: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 52f7a77164458f8c7b36b66787c853da
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org


The "_sign" part in "rsa_sign" also means that the cert has to=20
contain a RSA public key that can be used for signing. So
if we defined a new type, it would be called "rsa_sign_v1_2"=20
or something...

At this point of the protocol, we already know what protocol=20
version was negotiated, so changing the semantics is possible=20
without ruining backwards compatibility.

Besides, it wouldn't be enough to define a new "rsa_" type;=20
this issue applies to all client certificate types, so=20
we'd have to obsolete all of them ("MUST NOT send any of these
if TLS 1.2 is negotiated") and assign new numbers. This would=20
also require revising RFC 4492, which I'd rather avoid...

Best regards,
Pasi

> -----Original Message-----
> From: ext Russ Housley [mailto:housley@vigilsec.com]=20
> Sent: 27 September, 2007 19:26
> To: Eronen Pasi (Nokia-NRC/Helsinki)
> Cc: tls@ietf.org
> Subject: RE: [TLS] TLS 1.2 hash agility
>=20
> For backward compatibility, wouldn't it be cleaner to add a new=20
> rsa_xxx type to indicate the different semantics.  The new type would=20
> not be supported by non-TLS v1.2 implementations, nut the handling of=20
> rsa_sign wouid be the same in all cases.
>=20
> Russ
>=20
>=20
>   At 05:41 AM 9/27/2007, Pasi.Eronen@nokia.com wrote:
> >mike-list@pobox.com wrote:
> >
> > > The only thing I could come up with is that putting the list of
> > > signature algorithms in the CertificateRequest is a change to the
> > > format of that message, so it requires version-specific=20
> processing,
> > > whereas if you use the server extension, the format of Certificate
> > > Request is the same as previous TLS versions.
> >
> >CertificateRequest will require version-specific processing anyway,
> >because its semantics will change. For example, in TLS 1.0/1.1
> >ClientCertificateType "rsa_sign" meant a certificate containing
> >an RSA key, and signed with RSA. In TLS 1.2, it will probably
> >mean just a cert containing an RSA key; the signature algorithm
> >part will be specified separately.
> >
> >(Another difference is that in TLS 1.0/1.1, clients that didn't
> >have certificates often just ignored CertificateRequest;
> >current draft of TLS 1.2 mandates sending an empty Certificate
> >message instead.)
> >
> >Best regards,
> >Pasi
> >
> >_______________________________________________
> >TLS mailing list
> >TLS@lists.ietf.org
> >https://www1.ietf.org/mailman/listinfo/tls
>=20
>=20

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 28 05:02:52 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IbBk9-0004BL-2B; Fri, 28 Sep 2007 05:02:41 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IbBk7-0004Ay-Ts
	for tls@ietf.org; Fri, 28 Sep 2007 05:02:39 -0400
Received: from smtp.nokia.com ([131.228.20.172] helo=mgw-ext13.nokia.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IbBk7-00084O-E6
	for tls@ietf.org; Fri, 28 Sep 2007 05:02:39 -0400
Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211])
	by mgw-ext13.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id
	l8S92Zjf015880; Fri, 28 Sep 2007 12:02:37 +0300
Received: from esebh104.NOE.Nokia.com ([172.21.143.34]) by
	esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 28 Sep 2007 12:02:23 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh104.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 28 Sep 2007 12:02:22 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] TLS 1.2 hash agility
Date: Fri, 28 Sep 2007 12:02:22 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2404A52690@esebe105.NOE.Nokia.com>
In-Reply-To: <20070927161005.7CB8C33C28@delta.rtfm.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] TLS 1.2 hash agility
Thread-Index: AcgBIk/HwNcAv3f6RvSwwZ5YkvYMNAAi5GNA
References: <46ABB82D.8090709@pobox.com>
	<46ACCCCB.8000201@pobox.com><B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com><20070914215611.0342933C21@delta.rtfm.com><46EB102E.2070900@pobox.com><20070914225606.9E9B433C21@delta.rtfm.com><46EC2AE7.9040903@pobox.com><20070917185820.6E7CC33C3A@delta.rtfm.com><46FA745A.3070305@pobox.com><20070926152907.8A60B33C23@delta.rtfm.com><46FA91E8.5020303@pobox.com>
	<46FB4397.6040203@pobox.com><46FBBBBE.7000108@pobox.com><20070927143028.7EF4433C21@delta.rtfm.com><46FBC5A1.7020501@pobox.com>
	<20070927161005.7CB8C33C28@delta.rtfm.com>
From: <Pasi.Eronen@nokia.com>
To: <ekr@networkresonance.com>, <mike-list@pobox.com>
X-OriginalArrivalTime: 28 Sep 2007 09:02:22.0918 (UTC)
	FILETIME=[484FB660:01C801AE]
X-Nokia-AV: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 08170828343bcf1325e4a0fb4584481c
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Eric Rescorla wrote:

> This is a WG document, so it's actually the WG's position that
> matters. But given that you and I are the people who have
> expressed opinions...

<all hats off>

Either alternative seems to work technically -- but as the server
already indicates in CertificateRequest what kind of public key
the cert should contain, and which CA issued it, putting the
signature algorithm list there as well seems slightly nicer to me.

Best regards,
Pasi

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 28 16:41:10 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IbMcI-0004LP-1s; Fri, 28 Sep 2007 16:39:18 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IbMcG-0004Hg-O8; Fri, 28 Sep 2007 16:39:16 -0400
Received: from cirrus.av8.net ([130.105.36.66])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43)
	id 1IbMcF-00060p-7z; Fri, 28 Sep 2007 16:39:16 -0400
Received: from [130.105.12.10] ([130.105.12.10]) (authenticated bits=0)
	by cirrus.av8.net (8.12.11/8.12.11) with ESMTP id l8SKd5UV029722
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO);
	Fri, 28 Sep 2007 16:39:05 -0400
Date: Fri, 28 Sep 2007 16:39:05 -0400 (EDT)
From: Dean Anderson <dean@av8.com>
X-X-Sender: dean@citation2.av8.net
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <Pine.LNX.4.44.0709281636580.1991-100000@citation2.av8.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by cirrus.av8.net id
	l8SKd5UV029722
X-Spam-Score: 0.0 (/)
X-Scan-Signature: fca741f5016e6ff607eaed2fd431d10d
Cc: ipr-wg@ietf.org, Tim Polk <tim.polk@nist.gov>, ietf@ietf.org,
	Brad Hards <bradh@frogmouth.net>, tls@ietf.org
Subject: [TLS] Re: Third Last Call: draft-housley-tls-authz-extns
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org


I cannot post to the IETF list (because of prior misconduct by Housley
and others regarding my previous complaints of failures to file IPR
disclosures on other drafts). I would appreciate it if someone would
repost this to the ietf list.


---------- Forwarded message ----------
Date: Fri, 21 Sep 2007 15:04:56 -0400 (EDT)
From: Dean Anderson <dean@av8.com>
To: Tim Polk <tim.polk@nist.gov>
Cc: Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: future of tls-authz

I have cc'd Sam Hartman on this so that he can comment on the assert by
Tim Polk that Hartman believes the technical content merits publication.

On Fri, 21 Sep 2007, Tim Polk wrote:

>=20
> On Sep 20, 2007, at 6:33 PM, Dean Anderson wrote:
>=20
> > On Wed, 19 Sep 2007, Tim Polk wrote:
> >
> >> Dean,
> >>
> >> On Sep 18, 2007, at 5:28 PM, Dean Anderson wrote:
> >>
> >>> It looks like you already picked a strategy; The datatracker shows
> >>> that last Monday you changed the status to Experimental, Publicatio=
n
> >>> Requested.
> >>>
> >>
> >> You will also find a number of other documents in the same state.
> >> Some of them will be progressed, and some probably will not.  As I
> >> stated in my original message, I believe that Experimental =20
> >> publication
> >> is appropriate for this document.
> >
> > I thought that was just one option you were considering.
> >
>=20
> I think my original email was clear wrt my intentions, and the rational=
e
> for doing so.  I was asking for guidance on process.  You chose not to
> provide any input.

Not so. You took action before I could respond. While you reported you
were waiting until 9/13 for my input, you acted on 9/10. That doesn't
seem quite straight.

I trust there will have been no decisions or discussions relevant to
Redphone Security that will have been affected by your unilateral and
surprising action on September 10th.

> >>> Since there is no community consensus supporting this document in
> >>> either the TLS working group or in the larger IETF, how do you
> >>> plan to show that there is an ISOC/IETF interest in advancing this
> >>> draft? You do know that anything you do has to be in the interest
> >>> of the IETF.  Since there is no consensus supporting this
> >>> document, it is difficult to see that the ISOC IETF Activity has
> >>> an objective interest in promoting the patented standard,
> >>> especially in light of the prior misconduct.
> >>>
> >>
> >> I agree that consensus does not exist for standards track
> >> publication.
> >
> > I haven't seen any consensus for any kind of publication.
> >
>=20
> The community has not been asked about publication as Experimental =20
> Track.

They were asked if they support the document.  People said they didn't
support the patented protocol.  Your motion does not address any=20
objection that if addressed, would create consensus supporting the=20
document.

> >> That is why I am leaning towards yet another Last Call, to determine
> >> if consensus exists for progression as an Experimental RFC.
> >
> > I notice that there is no state transition out of state "Dead". How
> > is it that the process allows a transition from state "Dead" to
> > state "Publication Requested"?  As you have altered the state in the
> > datatracker database, I suppose you can next go directly to "IESG
> > Evaluation", and then to "Approved - ..." etc.  Of course, this
> > seems to violate the notion of an open process, especially after the
> > community has rejected the document several times.
> >
>=20
> Resurrecting a "Dead" ID requires manual processing by the IETF
> Secretariat. I initiated the process with an email request.  I do not
> know why they don't include state transition information.

Possibly, this state transition is not shown because it is a violation
of process???

Does the IETF Secretariat enforce the process rules against improper
state changes by an IESG member?  If they do not enforce process rules,
then the fact that they just did what you asked does not imply that what
you asked for was proper.

> What part of this process is not open?  I am the sponsor, and I am
> initiating another Last Call to gauge consensus for Experimental
> track. As I understand the IETF process, I could have taken the
> document straight to the IESG, and asked them to approve as
> experimental based on the results of the second Last Call.  I chose
> not to do so - I elected the *most* open process of those available to
> me...

That is just about the same as what Sam Hartman and Eric Rescorla did:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Date: Mon, 28 May 2007 11:38:51 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: tls@ietf.org
Subject: [TLS] Comments on draft-housley-tls-authz-extns-07

Folks,

We have a request from the IESG re draft-housley-tls-authz-extns-07.

The IESG is considering publication of this document as a Proposed
Standard. The IESG has requested that the TLS WG provide input
(positive or negative) on this proposal. Please post comments to the
list before Monday June 11.

-Ekr
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

The comments were negative; people didn't want to support a patented
proposed standard. A patented experimental standard doesn't seem to be
any different.

> >> I believe that publication is in the best interest of the
> >> community, *in spite* of the document's history.  I was hoping that
> >> you could help identify the best way to determine if the community
> >> agreed with me...
> >
> > I rather think the community disagrees with you, and has expressed
> > that lack of interest through non-support in the TLS working group,
> > and non-support on the IETF main list, and in the comments of Sam
> > Hartman withdrawing his support as sponsoring A.D.
>
> The TLS working group declined to take this work on.  That is
> different from not supporting publication.

The above isn't a true statement.  The name of the draft
"draft-housley-tls-authz-extns" contains the name of the working group,
a fact that indicates it is a working group document.  After the fraud
by Housley was discovered, and the approval was removed, the TLS Working
Group was asked, but no longer supported the protocol because of the
patent.  See Rescorla's message, quoted above.

> Many, many documents declined by WGs are published as individual
> submissions. Sam determined that consensus to publish as standards
> track did not exist, but still believes the technical content merits
> publication.

I haven't seen such a statement from Sam Hartman saying that he believes
the document merits publication. The statements I've seen from Hartman
seem to imply or state just the opposite belief.

> >>> I would also expect that since your are government employee, that
> >>> your conflict of interest needs to comply with NIST/Government
> >>> regulations covering conflict of interest. Do you agree?
> >>
> >> My actions need to meet IETF process requirements, government
> >> regulations, and my own moral compass.  I believe that my own moral
> >> compass is more restrictive than either of the others.  I do not
> >> have any personal interest in this document; to be frank, I expect
> >> that sponsoring it will be a painful experience.  The fact that it
> >> is self-inflicted won't provide much solace.  But, I took the job
> >> and this apparently comes with the territory.
> >
> > Your job doesn't compel you to revive this document after after the
> > community did not support the document and the other security A.D.
> > withdrew his support. You have already disclosed (to me) your
> > personal interest in your close family relationship to Housley. =20
> > So, it appears that, your moral compass needs some adjustment. To
> > help you with that, I'd like to give you a quote from the
> > "Restatement of the Law of Agency, Second":
> >
>=20
> I believe it was my responsibility to take on tls-authz, and stated as
> much in my first email.  The reasons have nothing to do with any
> personal relationships.

See below.

> Since we have never met, I believed you might be one of the few
> IETFers that was not aware Russ and I were friends.  It is irrelevant
> to any actions I have taken or will take in my posiiton on the IESG. =20
> However, I did not want you to believe that I hid this fact; that
> would have undermined my attempts for constructive dialogue.  So, I
> noted that fact up front.

It was good to disclose this. However, it is relevant to whether you are=20
acting impartially in the interests of the IETF and NIST.

> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
> > =A7 394. Acting for One with Conflicting Interests
> >
> > Unless otherwise agreed, an agent is subject to a duty not to act or
> > to agree to act during the period of his agency for persons whose
> > interests conflict with those of the principal in matters in which
> > the agent is employed.
> >
> > =A7 394 Comment a. The rule stated in this section goes beyond that
> > stated in Section 391, which is limited to situations in which the
> > agent acts for an adverse party in a transaction to which the
> > principal is a party. Under the rule stated in this Section, the
> > agent commits a breach of duty to his principal by acting for
> > another in an undertaking which has a substantial tendency to cause
> > him to disregard his duty to serve his principal with only his
> > principal=E2s purposes in mind. [...]
> >
> > This is true although the agent does not agree to give his full time
> > to the principal=E2s business and does not use the time paid for by
> > the principal in acting for another. The danger that he will not be
> > impartial and that he will use confidential information obtained in
> > the business of one in the affairs of the other makes it improper
> > for him to act for both.=20
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
> >
> > The "Restatement of the Law of <X>" series is produced by the
> > American Law Institute as a guide for lawyers to the law. Besides
> > distilled rules, it contains and index of citations to cases
> > establishing the rule.  Most law offices will have copies, or you
> > can find them at your local law library.
> >
> > Housley violated this rule by acting for Brown, while on the IESG.
> > You are violating it for acting for Housley.
> >
>=20
> I am not a lawyer, and will not debate such issues.  I will note that
> I am not "acting for Housley".

The law has been quoted to you. The law is quite plain. Ignorance is not
a defense.

Your assertion that you are not influenced by your close family friend
lacks credibility.



> > This section (also under duties of loyalty) and its comments are also
> > relevant:
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > =A7 390. Acting as Adverse Party with Principal=E2s Consent
> >
> > An agent who, to the knowledge of the principal, acts on his own
> > account in a transaction in which he is employed has a duty to deal
> > fairly with the principal and to disclose to him all facts which the
> > agent knows or should know would reasonably affect the principal=E2s
> > judgment, unless the principal has manifested that he knows such
> > facts or that he does not care to know them.
> >
> > =A7 390 Comment a. Facts to be disclosed. One employed as agent
> > violates no duty to the principal by acting for his own benefit if
> > he makes a full disclosure of the facts to an acquiescent principal
> > and takes no unfair advantage of him. Before dealing with the
> > principal on his own account, however, an agent has a duty, not only
> > to make no misstatements of fact, but also to disclose to the
> > principal all relevant facts fully and completely. A fact is
> > relevant if it is one which the agent should realize would be likely
> > to affect the judgment of the principal in giving his consent to the
> > agent to enter into the particular transaction on the specified
> > terms.
> >
> > =A7 390 Comment c. Fairness. The agent must not take advantage of his
> > position to persuade the principal into making a hard or improvident
> > bargain.=20
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >
> > Housley violated this duty by not disclosing the patent while working
> > for Brown on the draft.
> >
> > This document still represents a "hard or improvident bargain" for th=
e
> > membership of the ISOC, the ISOC, and the ISOC IETF Activity.
> >
> > The IETF has no interest in document, as expressed through the TLS
> > Working Group, the main IETF list, and Security Director Hartman's
> > comments.  No IETF rule has compelled you take up this effort; No IET=
F
> > official has compelled you to take up this effort;  you have taken =20
> > it up
> > on your own initiative on behalf of your friend Housley and Brown.
>=20
> Let's be clear: I took this up on my initiative, to fulfill my
> responsibilities as a member of the IESG.  This action is not on
> behalf of anyone.

Your statement is untrue: There is no obligation for an IESG member to
revive a document in state "Dead".  There is no responsibility goes
unfilled if this is not performed. I do not think that you really
believe there is such an obligation.  Your asserted motive is a false
motivation to hide a true motivation;  this statement demonstrates
deception.

You've also acknowledged that reviving this document will be a painful=20
experience. There must be a corresponding motivation for enduring that=20
pain.

Repeating that your close personal family friend has no influence still
lacks credibility.

> > That is ethical misconduct.  I expect that the NIST has similar
> > rules on conflict of interest.
> >
> > 		--Dean
> >
> >
> >
> > --=20
> > Av8 Internet   Prepared to pay a premium for better service?
> > www.av8.net         faster, more reliable, better service
> > 617 344 9000
> >
> >
> >
>=20
>=20
>=20

--=20
Av8 Internet   Prepared to pay a premium for better service?
www.av8.net         faster, more reliable, better service
617 344 9000  =20









_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 28 16:41:10 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IbMaU-0001cK-7g; Fri, 28 Sep 2007 16:37:26 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IbMaS-0001U4-2g; Fri, 28 Sep 2007 16:37:24 -0400
Received: from cirrus.av8.net ([130.105.36.66])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1IbMaH-0004xZ-PY; Fri, 28 Sep 2007 16:37:19 -0400
Received: from [130.105.12.10] ([130.105.12.10]) (authenticated bits=0)
	by cirrus.av8.net (8.12.11/8.12.11) with ESMTP id l8SKaRf4029719
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO);
	Fri, 28 Sep 2007 16:36:27 -0400
Date: Fri, 28 Sep 2007 16:36:26 -0400 (EDT)
From: Dean Anderson <dean@av8.com>
X-X-Sender: dean@citation2.av8.net
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <46FC0847.8030408@gmail.com>
Message-ID: <Pine.LNX.4.44.0709281605030.1991-100000@citation2.av8.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 386e0819b1192672467565a524848168
Cc: ipr-wg@ietf.org, Tim Polk <tim.polk@nist.gov>, ietf@ietf.org,
	Brad Hards <bradh@frogmouth.net>, tls@ietf.org
Subject: [TLS] Re: Third Last Call: draft-housley-tls-authz-extns
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

I cannot post to the IETF list (because of prior misconduct by Housley
and others regarding my previous complaints of failures to file IPR
disclosures on other drafts). I would appreciate it if someone would
repost this to the ietf list.

Following will be my last response to Polk.

Inline:

On Fri, 28 Sep 2007, Brian E Carpenter wrote:

> I think the IETF already sent a very strong signal that it won't
> close its eyes to late disclosures for standards track documents,
> by removing this from the standards track. It seems like double
> jeopardy to use this as an argument against Experimental status
> too - as Tim has said, there's nothing in our rules to block
> publication as Experimental after an IPR disclosure.

"Double jeopardy" is the legal term for twice being at risk for the same
crime.  I suppose it is good to implicitly recognize that something
wrong happened, here.  But the IETF has not explicitly recognized the
gravity of the problem, and therefore has not rehabilitated Housley or
Brown.  Indeed, nothing bad at all seems to have happened to them as a
result of their misconduct; not even an official email censuring their
conduct; no resignation; nothing. (see
http://www.av8.net/IETF-watch/People/Housley/index.html). Housley and
Brown very nearly succeeded in circumventing the IETF process by not
properly disclosing the facts according to their obligations and duties.

Their near success and lack of penalty has emboldened Tim Polk to
attempt to circumvent the process again. Consequently, we have yet
another, new violation of the rules:

Tim Polk admits to me privately that he is a close personal friend of
Housley, and that their families vacation together. This is a conflict
of interest in violation of the ISOC conflict of interest policy for
senior staff, because the patent directly and indirectly benefits Brown,
Housley, and Polk by more than $10,000.  

The ISOC has a conflict of interest policy at 
http://www.isoc.org/isoc/general/trustees/conflictofinterest.shtml

The ISOC policy applies to "Trustees, Institutional Officers and Senior
Staff". The IESG members are "Senior Staff", because they are volunteer
senior management employees insured by the ISOC.

Polk says he doesn't need to announce his conflict of interest because
'Dean Anderson is one of the few IETFers who doesn't know of Housley and
Polk's close friendship'

I have also quoted the law of agency to Mr. Polk;  The Law of Agency
defines his duties to an employer. Polk has apparently ignored the law.

It is not in the interests of the IETF or the ISOC to approve this
patented protocol, and nor to effectively ignore the misconduct
involved.

It is not double jeopardy to prevent Housley and Brown from further
circumventing the IETF process.



> > 2. The authorisation extensions have recently been implemented by a free 
> > software library, and problems were found in a couple of areas:
> > http://www1.ietf.org/mail-archive/web/tls/current/msg01518.html
> 
> I agree that these points would need to be addressed by the authors
> while reviewing Last Call comments, but they don't seem critical
> for an Experimental document, do they? Also see
> http://www1.ietf.org/mail-archive/web/tls/current/msg01519.html

What does seem critical for an experimental document is real research 
and development. There is none of that here.  This is a proprietary 
commercial protocol promoted by Red Phone Security, IETF Chair Russ 
Housley (employed by Red Phone Security to produce this draft), and the 
cronies of Housley, including Polk.  

		--Dean


-- 
Av8 Internet   Prepared to pay a premium for better service?
www.av8.net         faster, more reliable, better service
617 344 9000   









_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 28 17:03:56 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IbMyk-00043F-PK; Fri, 28 Sep 2007 17:02:30 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IbMyi-00042w-Fn; Fri, 28 Sep 2007 17:02:28 -0400
Received: from [209.213.211.195] (helo=delta.rtfm.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1IbMyh-0005aw-9q; Fri, 28 Sep 2007 17:02:28 -0400
Received: from delta.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by delta.rtfm.com (Postfix) with ESMTP id D141433C21;
	Fri, 28 Sep 2007 13:58:31 -0700 (PDT)
Date: Fri, 28 Sep 2007 13:58:31 -0700
From: Eric Rescorla <ekr@networkresonance.com>
To: Dean Anderson <dean@av8.com>
Subject: Re: [TLS] Re: Third Last Call: draft-housley-tls-authz-extns
In-Reply-To: <Pine.LNX.4.44.0709281636580.1991-100000@citation2.av8.net>
References: <Pine.LNX.4.44.0709281636580.1991-100000@citation2.av8.net>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <20070928205831.D141433C21@delta.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: e5ba305d0e64821bf3d8bc5d3bb07228
Cc: ietf@ietf.org, Brad Hards <bradh@frogmouth.net>,
	Tim Polk <tim.polk@nist.gov>, ipr-wg@ietf.org, tls@ietf.org,
	Brian E Carpenter <brian.e.carpenter@gmail.com>
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

At Fri, 28 Sep 2007 16:39:05 -0400 (EDT),
Dean Anderson wrote:
> On Fri, 21 Sep 2007, Tim Polk wrote:
> > The TLS working group declined to take this work on.  That is
> > different from not supporting publication.
> 
> The above isn't a true statement.  The name of the draft
> "draft-housley-tls-authz-extns" contains the name of the working group,
> a fact that indicates it is a working group document.  After the fraud
> by Housley was discovered, and the approval was removed, the TLS Working
> Group was asked, but no longer supported the protocol because of the
> patent.  See Rescorla's message, quoted above.

Dean,

Your statement above is inaccurate. The -tls- in the document name
does not mean that the document is a WG document. It's quite common
to have draft-<individual>-<wg> documents, which generally indicates
that the named individual believes the document is targets at that
WG. As an example, consider the following documents:

  draft-bryan-p2psip-reload-01.txt
  draft-jennings-p2psip-asp-00.txt
  draft-matthews-p2psip-hip-hop-00.txt

These are all alternative documents targeted at the P2PSIP WG
(there are about 5 more, too) but none have been accepted by the WG.

This document has never been a work item of the TLS WG.

-Ekr

_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 28 18:24:53 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IbOEX-0002xi-CG; Fri, 28 Sep 2007 18:22:53 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IbOEW-00024o-9j; Fri, 28 Sep 2007 18:22:52 -0400
Received: from cirrus.av8.net ([130.105.36.66])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1IbOEL-0007h0-9y; Fri, 28 Sep 2007 18:22:48 -0400
Received: from vista.av8.net (vista.av8.net [130.105.36.10])
	(authenticated bits=0)
	by cirrus.av8.net (8.12.11/8.12.11) with ESMTP id l8SMLwsF029815
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO);
	Fri, 28 Sep 2007 18:21:58 -0400
Date: Fri, 28 Sep 2007 18:21:58 -0400 (EDT)
From: Dean Anderson <dean@av8.com>
X-X-Sender: dean@vista.av8.net
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <Pine.LNX.4.44.0709281636580.1991-100000@citation2.av8.net>
Message-ID: <Pine.LNX.4.44.0709281738130.21859-100000@vista.av8.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 5011df3e2a27abcc044eaa15befcaa87
Cc: ipr-wg@ietf.org, Tim Polk <tim.polk@nist.gov>, ietf@ietf.org,
	Brad Hards <bradh@frogmouth.net>, tls@ietf.org
Subject: [TLS] Re: Third Last Call: draft-housley-tls-authz-extns
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

I cannot post to the IETF list (because of prior misconduct by Housley
and others regarding my previous complaints of failures to file IPR
disclosures on other drafts). I would appreciate it if someone would
repost this to the ietf list.


It was brought to my attention that the document wasn't ever a TLS
working group document. Therefore, my response quoted in below, is
incorrect:

> The name of the draft "draft-housley-tls-authz-extns" contains the
> name of the working group, a fact that indicates it is a working group
> document.

The above is incorrect and I stand corrected.


However, it remains true that:

> After the fraud by Housley was discovered, and the approval was
> removed, the TLS Working Group was asked, but no longer supported the
> protocol because of the patent.  See Rescorla's message, quoted above.

See Sam Hartman's datatracker entry.
https://datatracker.ietf.org/idtracker/draft-housley-tls-authz-extns/comment/68197/?
[This whole comment is a very good read, and I'm tempted to include more
of it here.]


Polk was arguing that it is somehow in the best interests of the
community, and that the community somehow hasn't expressed non-support
for the publication. Polk's argument is still wrong:

Hartman writes in the above datatracker entry:

  Comments were provided, but there was not a consensus in favor of
  publication on the standards track either there or on the ietf list.

  I think there is a rough consensus against publication on the
  standards track.  However it is quite clear that there is not a rough
  consensus in favor of publication on the standards track which would
  be required to do so.

So, Polk's assertions are still incorrect.

The non-free, patented, commercial protocol remains a hard and
improvident bargain for the IETF community, contrary to the interests of
the IETF community. It seems the only interests that this document
advances are those of Brown and Housley and their interested cronies,
including Polk.

Hartman also states another reason this unseemly effort will fail:

  Publishing this document via the rfc editor independent submissions
  track is basically not an option because the IANA assignments require
  IETF consensus or standards action.

As Brian Carpenter pointed out, an Experimental RFC isn't a standards
action.  The reason to use an Informational or Experimental RFC is that
a consensus isn't required to approve the RFC. The category was chosen
in this case because there hasn't been a consensus to approve the
document.  Instead, there is a consensus against this document.  So
there is no justification for the IANA assignments on the non-free,
patented, proprietary protocol.

Indeed, IANA should remove mention of draft-housley-tls-authz-extns from
http://www.iana.org/assignments/tls-extensiontype-values since the
document doesn't have an IETF Consensus.  IANA should have done this
months ago.


		--Dean


On Fri, 28 Sep 2007, Dean Anderson wrote:

> > >> I believe that publication is in the best interest of the
> > >> community, *in spite* of the document's history.  I was hoping that
> > >> you could help identify the best way to determine if the community
> > >> agreed with me...
> > >
> > > I rather think the community disagrees with you, and has expressed
> > > that lack of interest through non-support in the TLS working group,
> > > and non-support on the IETF main list, and in the comments of Sam
> > > Hartman withdrawing his support as sponsoring A.D.
> >
> > The TLS working group declined to take this work on.  That is
> > different from not supporting publication.
>
> The above isn't a true statement.  The name of the draft
> "draft-housley-tls-authz-extns" contains the name of the working group,
> a fact that indicates it is a working group document.  After the fraud
> by Housley was discovered, and the approval was removed, the TLS Working
> Group was asked, but no longer supported the protocol because of the
> patent.  See Rescorla's message, quoted above.





_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 28 22:46:18 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IbSHv-00073P-F9; Fri, 28 Sep 2007 22:42:39 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IbSHt-0006z9-C7; Fri, 28 Sep 2007 22:42:37 -0400
Received: from cirrus.av8.net ([130.105.36.66])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1IbSHe-0003et-C4; Fri, 28 Sep 2007 22:42:28 -0400
Received: from [130.105.12.10] ([130.105.12.10]) (authenticated bits=0)
	by cirrus.av8.net (8.12.11/8.12.11) with ESMTP id l8T2fXUw030010
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO);
	Fri, 28 Sep 2007 22:41:36 -0400
Date: Fri, 28 Sep 2007 22:41:32 -0400 (EDT)
From: Dean Anderson <dean@av8.com>
X-X-Sender: dean@citation2.av8.net
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Subject: Re: [TLS] Re: Third Last Call: draft-housley-tls-authz-extns
In-Reply-To: <46FD72A9.6010207@gmail.com>
Message-ID: <Pine.LNX.4.44.0709282158540.2038-100000@citation2.av8.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Spam-Score: 0.0 (/)
X-Scan-Signature: cd26b070c2577ac175cd3a6d878c6248
Cc: ietf@ietf.org, Brad Hards <bradh@frogmouth.net>,
	Tim Polk <tim.polk@nist.gov>, tls@ietf.org, ipr-wg@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

On Sat, 29 Sep 2007, Brian E Carpenter wrote:

> On 2007-09-29 08:58, Eric Rescorla wrote:
> ...
> >> After the fraud
> >> by Housley was discovered, 
> 
> I don't know who wrote this libel that Eric replied to
> (apparently it was someone whose email gets magically deleted
> before it reaches me), 

Yet another petty lie.  However truth is an absolute defense to libel.  
Fortunately, the law gives a definition of actionable fraud and that
definition states the necessary elements:  The essential elements are
representation, falsity, scienter, deception, reliance, and injury.  All 
of those elements are present. See
http://www.av8.net/IETF-watch/Housley/index.html

> but I would like to remind people that the late IPR disclosure in this
> case had nothing whatever to do with Russ Housley.

A less petty lie, but still not true. Brown has said it was all Brown's
fault. But Brown's claim isn't credible. Housley admits he knew through
all 7 versions that an undisclosed patent existed, and it was Housley
that produced all 7 drafts that contained mis-statements of fact.
Housley wasn't misled by Brown;  Housley and Brown misled the IETF.

> Sorry about the excessive cross-posting, but it does seem necessary
> to correct libels. Being falsely accused of fraud seems to be an
> occupational hazard for IETF Chairs, but that doesn't mean it
> should go unrefuted.

Its less an occupational hazard if the Chair's were actually honest, and
there wasn't such overflowing evidence of unsavory activities.

What Carpenter has omitted (by pretending not to know who made the
accusation) is that Carpenter committed misconduct against me
(Anderson), by (at least) falsely reporting a consensus in a PR-action
against me. Carpenter, then IETF chair, was responsible for a false
report to the IAB that there was a consensus approving the PR-action. In
fact, the consensus was against the PR-action: 15 out of 17 people who
responded indicated they were against the PR-action.
http://www.av8.net/IETF-watch/IESG/IESG-PR-discussion.html

The IAB was apparently told that there was less than 10 messages on the
IETF list.  Though, even that is still not a consensus! [See section 5.4
of http://www.iab.org/appeals/2006-07-13-anderson-response.html]

Incidentally, it also turns out the PR-action is contrary to the law
governing corporations (the IETF is an activity of the ISOC, a US
corporation):  under the law, without bylaw on suspension or expulsion,
a corporation cannot suspend or expel a member without a vote of the
membership.  The ISOC has no such bylaw, and no vote of the membership
was held. There are some other conditions that also weren't met.
Carpenter, while still IETF chair, was informed of this, but he
apparently has no respect for the law.  
http://www.av8.net/IETF-watch/Suspension_and_Expulsion_Requirements.pdf
(it wouldn't matter if the IETF weren't part of the ISOC. Essentialy the
same rules apply to unincorporated associations and clubs)

There were loads of other problems, not the least of which was the fact
that none of the messages that Carpenter/Kessens/Crocker complained
about were in the least way abusive. 

What is libelous is false charges of misconduct, as in the false charges 
contained in the PR-action.

		--Dean



-- 
Av8 Internet   Prepared to pay a premium for better service?
www.av8.net         faster, more reliable, better service
617 344 9000   





_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



From tls-bounces@lists.ietf.org Fri Sep 28 23:38:04 2007
Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IbT8e-0000gY-AY; Fri, 28 Sep 2007 23:37:08 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IbT8b-0000fk-GB; Fri, 28 Sep 2007 23:37:05 -0400
Received: from cirrus.av8.net ([130.105.36.66])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43)
	id 1IbT8a-0006jv-Uj; Fri, 28 Sep 2007 23:37:05 -0400
Received: from [130.105.12.10] ([130.105.12.10]) (authenticated bits=0)
	by cirrus.av8.net (8.12.11/8.12.11) with ESMTP id l8T3aqBq030048
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO);
	Fri, 28 Sep 2007 23:36:52 -0400
Date: Fri, 28 Sep 2007 23:36:51 -0400 (EDT)
From: Dean Anderson <dean@av8.com>
X-X-Sender: dean@citation2.av8.net
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Subject: Re: [TLS] Re: Third Last Call: draft-housley-tls-authz-extns (fwd)
Message-ID: <Pine.LNX.4.44.0709282324560.2038-100000@citation2.av8.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 32b73d73e8047ed17386f9799119ce43
Cc: ietf@ietf.org, Brad Hards <bradh@frogmouth.net>,
	Tim Polk <tim.polk@nist.gov>, tls@ietf.org, ipr-wg@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Oops. This got out before it was fully edited.

On Sat, 29 Sep 2007, Brian E Carpenter wrote:

> On 2007-09-29 08:58, Eric Rescorla wrote:
> ...
> >> After the fraud
> >> by Housley was discovered, 
> 
> I don't know who wrote this libel that Eric replied to
> (apparently it was someone whose email gets magically deleted
> before it reaches me), 

Yet another petty lie. Carpenter edited my name out of Rescorla's
message.  Carpenter can killfile anyone he wants;  advertising that here
just an ad hominem attack. An ad hominem has 2 elements: personal and
irrelevant. It is irrelevant who is in Carpenter's killfile. By
contrast, complaint of official misconduct is not an ad hominem because
it is relevant to proper official conduct.

However, I haven't libeled anyone: Truth is an absolute defense to
libel.  Fortunately, the law gives a definition of actionable fraud and
that definition states the necessary elements:  The essential elements
are representation, falsity, scienter, deception, reliance, and injury.  
All of those elements are present. See
http://www.av8.net/IETF-watch/People/Housley/index.html

> but I would like to remind people that the late IPR disclosure in this
> case had nothing whatever to do with Russ Housley.

A less petty lie, but still not true. Brown has said it was all Brown's
fault. But Brown's claim isn't credible. Housley admits he knew through
all 7 versions that an undisclosed patent existed, and it was Housley
that produced all 7 drafts that contained mis-statements of fact.
Housley wasn't misled by Brown;  Housley and Brown misled the IETF.

> Sorry about the excessive cross-posting, but it does seem necessary
> to correct libels. Being falsely accused of fraud seems to be an
> occupational hazard for IETF Chairs, but that doesn't mean it
> should go unrefuted.

Its less an occupational hazard if the Chair's were actually honest, and
there wasn't such overflowing evidence of unsavory activities.

What Carpenter has omitted (by pretending not to know who made the
accusation) is that Carpenter committed misconduct against me
(Anderson), by (at least) falsely reporting a consensus in a PR-action
against me. Carpenter, then IETF chair, was responsible for a false
report to the IAB that there was a consensus approving the PR-action. In
fact, the consensus was against the PR-action: 15 out of 17 people who
responded indicated they were against the PR-action.
http://www.av8.net/IETF-watch/IESG/IESG-PR-discussion.html

The IAB was apparently told that there was less than 10 messages on the
IETF list.  Though, even that is still not a consensus! [See section 5.4
of http://www.iab.org/appeals/2006-07-13-anderson-response.html]

Incidentally, it also turns out the PR-action is contrary to the law
governing corporations (the IETF is an activity of the ISOC, a US
corporation):  under the law, without a bylaw on suspension or
expulsion, a corporation cannot suspend or expel a member without a vote
of the membership.  The ISOC has no such bylaw, and no vote of the
membership was held. There are some other conditions that also weren't
met. Carpenter, while still IETF chair, was informed of this, but he
apparently has no respect for the law.  
http://www.av8.net/IETF-watch/Suspension_and_Expulsion_Requirements.pdf
(it wouldn't matter if the IETF weren't part of the ISOC. Essentialy the
same rules apply to unincorporated associations and clubs)

There were loads of other problems, not the least of which was the fact
that none of the messages that Carpenter/Kessens/Crocker complained
about were in the least way abusive.  As you might guess, money was the 
motive behind the false charges, and silencing criticism was a way to 
continue to make money with the IETF.

What is libelous is false charges of misconduct, as in the false charges
contained in the PR-action.

		--Dean



-- 
Av8 Internet   Prepared to pay a premium for better service?
www.av8.net         faster, more reliable, better service
617 344 9000   






_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



