Re: [keyassure] Opening issue #21: "Need to specify which crypto

Yoav Nir <ynir@checkpoint.com> Mon, 07 March 2011 14:51 UTC

Return-Path: <ynir@checkpoint.com>
X-Original-To: keyassure@core3.amsl.com
Delivered-To: keyassure@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 448963A67D3 for <keyassure@core3.amsl.com>; Mon, 7 Mar 2011 06:51:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.562
X-Spam-Level:
X-Spam-Status: No, score=-10.562 tagged_above=-999 required=5 tests=[AWL=0.037, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IKUF3HP6Ux5a for <keyassure@core3.amsl.com>; Mon, 7 Mar 2011 06:51:40 -0800 (PST)
Received: from michael.checkpoint.com (smtp.checkpoint.com [194.29.34.68]) by core3.amsl.com (Postfix) with ESMTP id EFD8228C0F7 for <keyassure@ietf.org>; Mon, 7 Mar 2011 06:51:39 -0800 (PST)
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id p27EqplE010200; Mon, 7 Mar 2011 16:52:51 +0200
X-CheckPoint: {4D74F135-9-1B221DC2-FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Mon, 7 Mar 2011 16:52:51 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: "mrex@sap.com" <mrex@sap.com>
Date: Mon, 07 Mar 2011 16:52:54 +0200
Thread-Topic: [keyassure] Opening issue #21: "Need to specify which crypto
Thread-Index: Acvc11TVaECLx+c7RnSXV6DVHmORBw==
Message-ID: <208C68A5-568B-4447-854C-70A4A229B84C@checkpoint.com>
References: <201103071425.p27EPvrB000688@fs4113.wdf.sap.corp>
In-Reply-To: <201103071425.p27EPvrB000688@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
Cc: "keyassure@ietf.org" <keyassure@ietf.org>, Phillip Hallam-Baker <hallam@gmail.com>, "paul.hoffman@vpnc.org" <paul.hoffman@vpnc.org>
Subject: Re: [keyassure] Opening issue #21: "Need to specify which crypto
X-BeenThere: keyassure@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Key Assurance With DNSSEC <keyassure.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/keyassure>, <mailto:keyassure-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/keyassure>
List-Post: <mailto:keyassure@ietf.org>
List-Help: <mailto:keyassure-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/keyassure>, <mailto:keyassure-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Mar 2011 14:51:42 -0000

On Mar 7, 2011, at 4:25 PM, Martin Rex wrote:

>> So SHA2-384 is to be preferred over SHA2-512 because even though it is
>> easier to break, it has a much higher safety factor.
>> 
>> If someone comes up with an attack against SHA2-512 with O(2^480/2)
>> complexity it would reduce the cost of attacking SHA2-512 but not the cost
>> of attacking SHA2-384. So the 512 bit version would be 'compromised' but the
>> 384 version would not.
> 
> That is marketing nonsense.
> 
> With that reasoning, we should use SHA-512/256 rather than SHA-256
> 
>  http://www.schneier.com/blog/archives/2011/02/nist_defines_ne.html
>  http://csrc.nist.gov/publications/PubsDrafts.html#fips-180-4

The point of SHA-512/256 is not marketing or even security, but speed.
http://eprint.iacr.org/2010/548.pdf

> I don't see any value in mandating any algorithm beyond SHA-256
> at this point -- anticipating that there is going to be SHA-3
> in the not so far future and a desire to support SHA-3 in DANE.

I disagree. SHA-512 (and -384) are touted for longevity - we hope that they will be resistant to pre-image and collision attacks for longer than SHA-256. This is important for document signing and somewhat for certificates, but not so much for resource records. If it takes a year from "sha-256 broken" to "exploit in the wild", that's plenty of time to replace all resource records.

So it doesn't make sense to publish SHA-384 resource records now, but we need the consumers of such records to be ready for SHA-384 records. The reason that the transition from MD5 to SHA-1 certificates was so smooth is that all browsers at the time supported SHA-1. 

Yoav