Re: [dane] Digest Algorithm Agility discussion

Mark Andrews <marka@isc.org> Sun, 23 March 2014 19:26 UTC

Return-Path: <marka@isc.org>
X-Original-To: dane@ietfa.amsl.com
Delivered-To: dane@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 24D491A09BA for <dane@ietfa.amsl.com>; Sun, 23 Mar 2014 12:26:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8hxPTrUrI9lx for <dane@ietfa.amsl.com>; Sun, 23 Mar 2014 12:26:14 -0700 (PDT)
Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) by ietfa.amsl.com (Postfix) with ESMTP id CCBD51A09AE for <dane@ietf.org>; Sun, 23 Mar 2014 12:26:13 -0700 (PDT)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) by mx.ams1.isc.org (Postfix) with ESMTP id 308632383E9; Sun, 23 Mar 2014 19:26:01 +0000 (UTC) (envelope-from marka@isc.org)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 5BADE160060; Sun, 23 Mar 2014 19:27:08 +0000 (UTC)
Received: from rock.dv.isc.org (c211-30-183-50.carlnfd1.nsw.optusnet.com.au [211.30.183.50]) by zmx1.isc.org (Postfix) with ESMTPSA id 2E395160047; Sun, 23 Mar 2014 19:27:08 +0000 (UTC)
Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id 7716111B342A; Mon, 24 Mar 2014 06:25:57 +1100 (EST)
To: Peter Palfrader <peter@palfrader.org>
From: Mark Andrews <marka@isc.org>
References: <20140315051704.GY21390@mournblade.imrryr.org> <0l4n2sa5a0.fsf@wjh.hardakers.net> <20140322074737.GA5739@anguilla.noreply.org> <20140323174205.63C6111B2111@rock.dv.isc.org> <20140323182106.GX24183@mournblade.imrryr.org> <20140323185718.7A84711B2CB8@rock.dv.isc.org> <20140323191037.GA1469@anguilla.noreply.org>
In-reply-to: Your message of "Sun, 23 Mar 2014 20:10:37 +0100." <20140323191037.GA1469@anguilla.noreply.org>
Date: Mon, 24 Mar 2014 06:25:57 +1100
Message-Id: <20140323192557.7716111B342A@rock.dv.isc.org>
Archived-At: http://mailarchive.ietf.org/arch/msg/dane/XH-pGgrGvUy2uy0Tju_Cez1GZRw
Cc: dane@ietf.org
Subject: Re: [dane] Digest Algorithm Agility discussion
X-BeenThere: dane@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DNS-based Authentication of Named Entities <dane.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dane>, <mailto:dane-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dane/>
List-Post: <mailto:dane@ietf.org>
List-Help: <mailto:dane-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dane>, <mailto:dane-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 23 Mar 2014 19:26:15 -0000

In message <20140323191037.GA1469@anguilla.noreply.org>, Peter Palfrader writes
:
> On Mon, 24 Mar 2014, Mark Andrews wrote:
> 
> > If you don't trust a algorithm you should not be using it.  Period.
> > This fall back to this untrusted/broken algorithm is bad engingeering
> > and bad security practice.
> > 
> > If the site you want to email only has broken TLSA records, get
> > them on the phone to fix the problem.
> 
> Assume we may have reason to believe that SHA1 is within reach of well
> funded adversaries, and assume it had a code-point in DANE.
> 
> Site A only publishes SHA1 entries.  Would rather do unauthenticated TLS
> than trust SHA1?

You left out - report and refuse to send until fixed.
 
> Site B publishes both SHA2-512 and SHA1 entries.  Would you still want
> to trust SHA1?

Once you decide SHA1 is not acceptable you ignore the records with SHA1
hashes.

Publishing new hashes is trivial and will remain trivial.

Once a algorithm has reached the state where you don't trust it for a
purpose you don't use it for thar purpose.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org