RE: [TLS] TLS 1.2 hash agility

<Pasi.Eronen@nokia.com> Thu, 09 August 2007 09:34 UTC

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 1IJ4PK-00052m-3g; Thu, 09 Aug 2007 05:34:18 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IJ4PG-00052g-Tn for tls@ietf.org; Thu, 09 Aug 2007 05:34:14 -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 1IJ4PG-0006hA-7d for tls@ietf.org; Thu, 09 Aug 2007 05:34:14 -0400
Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-ext12.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id l799XrgZ030107; Thu, 9 Aug 2007 12:34:11 +0300
Received: from esebh103.NOE.Nokia.com ([172.21.143.33]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 9 Aug 2007 12:34:08 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by esebh103.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 9 Aug 2007 12:34:08 +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, 09 Aug 2007 12:34:07 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24046B2496@esebe105.NOE.Nokia.com>
In-Reply-To: <46ACCCCB.8000201@pobox.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [TLS] TLS 1.2 hash agility
Thread-Index: AcfSBNF7OVhlsjbTRSqAbpHRF19ogQIYxI5Q
References: <46ABB82D.8090709@pobox.com> <46ACCCCB.8000201@pobox.com>
From: Pasi.Eronen@nokia.com
To: mike-list@pobox.com, tls@ietf.org
X-OriginalArrivalTime: 09 Aug 2007 09:34:08.0569 (UTC) FILETIME=[6F837A90:01C7DA68]
X-Nokia-AV: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: ea4ac80f790299f943f0a53be7e1a21a
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 (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?

Best regards,
Pasi

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