Re: [saag] SHA-1 is a Shambles: First Chosen-Prefix Collision on SHA-1

Alan DeKok <aland@deployingradius.com> Wed, 08 January 2020 03:22 UTC

Return-Path: <aland@deployingradius.com>
X-Original-To: saag@ietfa.amsl.com
Delivered-To: saag@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C8B561200F5 for <saag@ietfa.amsl.com>; Tue, 7 Jan 2020 19:22:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 OViSAFyP8Ht1 for <saag@ietfa.amsl.com>; Tue, 7 Jan 2020 19:22:16 -0800 (PST)
Received: from mail.networkradius.com (mail.networkradius.com [62.210.147.122]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F092F1200EB for <saag@ietf.org>; Tue, 7 Jan 2020 19:22:15 -0800 (PST)
Received: from [192.168.46.129] (24-52-251-6.cable.teksavvy.com [24.52.251.6]) by mail.networkradius.com (Postfix) with ESMTPSA id 31D40795; Wed, 8 Jan 2020 03:22:14 +0000 (UTC)
Authentication-Results: NetworkRADIUS; dmarc=none header.from=deployingradius.com
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\))
From: Alan DeKok <aland@deployingradius.com>
In-Reply-To: <CAKUk3buBYquPGDhEubCSrKPc7E1sYwiGZqind-gXNofDdP8WxA@mail.gmail.com>
Date: Tue, 07 Jan 2020 22:22:12 -0500
Cc: Phillip Hallam-Baker <phill@hallambaker.com>, IETF SAAG <saag@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <F678AE3D-EED9-4BCF-AD98-B6760376D7D8@deployingradius.com>
References: <A6C5B299-54AE-48E8-98BF-981C85B9D3BE@vigilsec.com> <CAH8yC8=DWfzTw=meTG0_jGDt_qDmw20khR_U1Z0df0R-K0hN6Q@mail.gmail.com> <CAMm+LwisLm78peKYk7N_C1y3f8vjRgOrf9Ut9XwGGZZ-vK5zFA@mail.gmail.com> <CAKUk3buBYquPGDhEubCSrKPc7E1sYwiGZqind-gXNofDdP8WxA@mail.gmail.com>
To: Andrey Jivsov <crypto@brainhub.org>
X-Mailer: Apple Mail (2.3608.40.2.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/saag/rT1ui3JJkUmYaX298xGqAynK2i0>
Subject: Re: [saag] SHA-1 is a Shambles: First Chosen-Prefix Collision on SHA-1
X-BeenThere: saag@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Advisory Group <saag.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/saag>, <mailto:saag-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/saag/>
List-Post: <mailto:saag@ietf.org>
List-Help: <mailto:saag-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/saag>, <mailto:saag-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Jan 2020 03:22:18 -0000


> On Jan 7, 2020, at 10:18 PM, Andrey Jivsov <crypto@brainhub.org> wrote:
> 
> Even more precise, the hash algorithm in X.509 certificate trust anchors doesn't matter for security. Self-signed X.509 certs are the most common trust anchors. 
> 
> If a self-signed cert is a part of a certificate chain, it must be a trust anchor. Therefore, the hash algorithm in a self-signed X.509 certificate never matters for security. This should include compliance reasons of "no SHA-1" because the signature field on self-signed cert should never be verified (we can, but it just wastes compute cycles).
> 
> Remarkably, the above straightforward facts are for some reason not well-understood and companies make an effort to remove X.509 trust anchors with SHA-1 in signatures over them.

  My $0.02 is it's because it's easier to say "get rid of SHA1" than to explain to people where / when it can be used, and why.  I'm not sure that they're wrong.

  Alan DeKok.