Re: [openpgp] New fingerprint: which hash algo

Alessandro Barenghi <alessandro.barenghi.polimi@gmail.com> Fri, 09 October 2015 16:47 UTC

Return-Path: <alessandro.barenghi.polimi@gmail.com>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CC3501B479B for <openpgp@ietfa.amsl.com>; Fri, 9 Oct 2015 09:47:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 FpLMAyi6I3xi for <openpgp@ietfa.amsl.com>; Fri, 9 Oct 2015 09:47:09 -0700 (PDT)
Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 895F21B479C for <openpgp@ietf.org>; Fri, 9 Oct 2015 09:47:06 -0700 (PDT)
Received: by wiclk2 with SMTP id lk2so75038189wic.1 for <openpgp@ietf.org>; Fri, 09 Oct 2015 09:47:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=wdH6lLi+FpGkwyI2BoIuzumLaBpbbw3C0KTIjLa9dzc=; b=ULK/ybNpH1vP30/9CBCobkoKTXqSTlJlraopAElOznPLFgn+TS+bX/9MiiLRSkWQDt UtZ5+dV7E+IHVZXLWQZ1SAZ9FL+at/Q9aUQfCUH29Gq6pYK9y4SIS6pHYoQ4I4MKw1y2 sAU3qGg3cKCQPAdRbyCDKUIP8jMVQB47eB1N4ds380L5ZyZn7ZOjiRbGsBC5xCKDWKbq JaMPU4G2bBnctw3j+sza0GS20JgT4iRXf/mZ0ToeslNlqg6T4bXrNgSypAzJcNhVNSH+ qewJrc4qAE2ICFHgssoI0dSsy08hZO5hGEaIVIP3DC56M8ryZLFNJv1O7hQTeZSvnJfo UnJg==
X-Received: by 10.194.62.46 with SMTP id v14mr15222342wjr.112.1444409225009; Fri, 09 Oct 2015 09:47:05 -0700 (PDT)
Received: from [131.175.121.117] (pc121-117.elet.polimi.it. [131.175.121.117]) by smtp.googlemail.com with ESMTPSA id jq10sm3042665wjc.40.2015.10.09.09.47.04 for <openpgp@ietf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Oct 2015 09:47:04 -0700 (PDT)
From: Alessandro Barenghi <alessandro.barenghi.polimi@gmail.com>
X-Google-Original-From: Alessandro Barenghi <alessandro.barenghi@polimi.it>
To: openpgp@ietf.org
References: <878u84zy4r.fsf@vigenere.g10code.de> <55FD7CF0.8030200@iang.org> <87io742kz7.fsf@latte.josefsson.org> <87mvw4ctv5.fsf_-_@vigenere.g10code.de> <CA+cU71n1OUq4TtmY+8S2yfu2bvjAr+=DwtN-4xRW4xitjDpFXg@mail.gmail.com> <20151006110330.38b38ea4@latte.josefsson.org> <5616F2AE.5050106@iang.org>
X-Enigmail-Draft-Status: N1110
Message-ID: <5617EF87.6020300@polimi.it>
Date: Fri, 09 Oct 2015 16:47:03 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <5616F2AE.5050106@iang.org>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/Q8pwrmYajQY5d5X10-BSG0xAzqM>
Subject: Re: [openpgp] New fingerprint: which hash algo
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Oct 2015 16:47:10 -0000

On 10/08/2015 10:48 PM, ianG wrote:

> 2.  The reason SHA-256 is the most popular these days is that, in the
> wake of the 2004 Shandong hashquake, we've made a stunning amount of
> progress in upgrading.  We've almost decided against SHA1 in
> certificates.  We're almost serious about it.  And now that freestart
> collisions are chewing it down to its last 4 bits, 

Actually, they finished chewing
https://sites.google.com/site/itstheshappening/

(still only a freestart collision, but full 80 rounds)

> we might actually ... do it.

Yep, and IMHO picking a hash function with a different inner structure
from SHA-1, and designed to address the issue coming with it, such as
SHA-3 may quite be a good idea.
After all, ~89% of the signatures currently present on the sks keyserver
network are made over a SHA-1 hash, and it may take a while to update
them all.

Cheers

Alessandro