Re: [dane] Digest Algorithm Agility discussion

Mark Andrews <marka@isc.org> Sun, 23 March 2014 23:01 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 2C3331A6F7E for <dane@ietfa.amsl.com>; Sun, 23 Mar 2014 16:01:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.411
X-Spam-Level:
X-Spam-Status: No, score=-1.411 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, J_CHICKENPOX_12=0.6, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 rbRb9f4bhXqJ for <dane@ietfa.amsl.com>; Sun, 23 Mar 2014 16:01:46 -0700 (PDT)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) by ietfa.amsl.com (Postfix) with ESMTP id AE38D1A07F9 for <dane@ietf.org>; Sun, 23 Mar 2014 16:01:46 -0700 (PDT)
Received: from mx.pao1.isc.org (localhost [127.0.0.1]) by mx.pao1.isc.org (Postfix) with ESMTP id 5DE80C94B6 for <dane@ietf.org>; Sun, 23 Mar 2014 23:01:33 +0000 (UTC) (envelope-from marka@isc.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isc.org; s=dkim2012; t=1395615706; bh=gA1opKnV/ehNPE5aR53HjvgGlQycyFGHRp5SElNHKoE=; h=To:From:References:Subject:In-reply-to:Date; b=uzXiu1xcG8kh3rarFedC+XzkPVhxzlP7hDR4Rhuw2gHLIYzcjJnq98VTEVJM77J3q 7QHIcK6B4790tH26fv31dri3Osg/WV8YI0zq4cK2D2GDEfN6ueeMUAss9T/GWEY+on QSl7ib4Whd19fZXPXLAETwMAxLoM2u5VqZFsRvjQ=
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) by mx.pao1.isc.org (Postfix) with ESMTP for <dane@ietf.org>; Sun, 23 Mar 2014 23:01:33 +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 2CDF6160060 for <dane@ietf.org>; Sun, 23 Mar 2014 23:02:41 +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 55881160047 for <dane@ietf.org>; Sun, 23 Mar 2014 23:02:40 +0000 (UTC)
Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id EF23411B4816 for <dane@ietf.org>; Mon, 24 Mar 2014 10:01:25 +1100 (EST)
To: dane@ietf.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> <20140323192557.7716111B342A@rock.dv.isc.org> <20140323200008.GB1469@anguilla.noreply.org> <20140323202831.GB13649@mournblade.imrryr.org>
In-reply-to: Your message of "Sun, 23 Mar 2014 20:28:31 -0000." <20140323202831.GB13649@mournblade.imrryr.org>
Date: Mon, 24 Mar 2014 10:01:25 +1100
Message-Id: <20140323230125.EF23411B4816@rock.dv.isc.org>
X-DCC--Metrics: post.isc.org; whitelist
Archived-At: http://mailarchive.ietf.org/arch/msg/dane/NVnrtFrUA7Ec6syWzZ5DL7RefQE
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 23:01:48 -0000

In message <20140323202831.GB13649@mournblade.imrryr.org>, Viktor Dukhovni writ
es:
> On Sun, Mar 23, 2014 at 09:00:08PM +0100, Peter Palfrader wrote:
> 
> > On Mon, 24 Mar 2014, Mark Andrews wrote:
> > 
> > > > Site A only publishes SHA1 entries.  Would rather do unauthenticated TL
> S
> > > > than trust SHA1?
> > > 
> > > You left out - report and refuse to send until fixed.
> > 
> > No, that's not what the SMTP draft suggests.  When DANE is not there,
> > then servers just fall back to not authenticating a peer's cert, as they
> > do nowadays.

The SMTP draft says how to securely go from a email domain to a
CERT using DNSSEC and TLSA.  It does not say whether one should use
a non secure connection or not.  That is seperate policy.

> Indeed if one simply considers (again hypothetically) SHA1 to be
> "unusable", then with no "usable" TLSA records, the connection
> would fall back to unauthenticated TLS.

It might or it might not.  That is a seperate policy decision.
 
> To do what Mark suggests, we'd have to treat SHA1 as usable, but
> always fails.  That is new code to make SHA1 never match.  

	One will have something like

		if (!supported(match))
			skip record;


>  And
> still I don't see anyone shooting themselves in the foot with
> self-imposed flag days for a long time after an algorithm becomes
> suspect.
> 
> I sees that, the unstated objection must be a belief that SHA2-256
> will never fail, and thus we're wasting time designing solutions
> to a non-problem.  While I don't believe in eternal unbounded
> progress, and (barring a P=NP revolution) it is likely that at some
> point we'll have algorithms that never need replacement, it is
> perhaps premature to declare mission-complete with SHA2.

I don't assume that it will never be broken.  I also don't think we
need to "if has_alg(a) then {} else {}".
 
> For if we are to take the threat of gradual degradation of our
> confidence in SHA2 seriously, we need usable approaches for phasing
> it out.  Flag days don't look like usable approaches to me.
> 
> -- 
> 	Viktor.
> 
> _______________________________________________
> dane mailing list
> dane@ietf.org
> https://www.ietf.org/mailman/listinfo/dane
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org