Re: [openpgp] Fingerprints and their collisions resistance

Andrey Jivsov <openpgp@brainhub.org> Thu, 03 January 2013 22:38 UTC

Return-Path: <openpgp@brainhub.org>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08C7B21F8DA6 for <openpgp@ietfa.amsl.com>; Thu, 3 Jan 2013 14:38:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.437
X-Spam-Level:
X-Spam-Status: No, score=-0.437 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_NET=0.611, RDNS_NONE=0.1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sMGPdkrdN9MS for <openpgp@ietfa.amsl.com>; Thu, 3 Jan 2013 14:38:38 -0800 (PST)
Received: from qmta11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:44:76:96:27:211]) by ietfa.amsl.com (Postfix) with ESMTP id 8813621F8D7F for <openpgp@ietf.org>; Thu, 3 Jan 2013 14:38:38 -0800 (PST)
Received: from omta21.emeryville.ca.mail.comcast.net ([76.96.30.88]) by qmta11.emeryville.ca.mail.comcast.net with comcast id jTPy1k0041u4NiLABaeeaR; Thu, 03 Jan 2013 22:38:38 +0000
Received: from [192.168.1.8] ([69.181.162.123]) by omta21.emeryville.ca.mail.comcast.net with comcast id jaec1k00X2g33ZR8haedDo; Thu, 03 Jan 2013 22:38:37 +0000
Message-ID: <50E6086C.2080108@brainhub.org>
Date: Thu, 03 Jan 2013 14:38:36 -0800
From: Andrey Jivsov <openpgp@brainhub.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0
MIME-Version: 1.0
To: openpgp@ietf.org
References: <50E530D6.6020609@brainhub.org> <CAAu18hc87Qe3d0mCxzw5CpPRWv3i2YmZCB42sttRyyOtFD2jDw@mail.gmail.com> <50E5DB59.9090109@att.com>
In-Reply-To: <50E5DB59.9090109@att.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1357252718; bh=GMysEjnD/iEe3weUKiaLcdTKvOmv73G2FcwqolrU4Gk=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=M47bHg87sMZeLqS5ZQgH6/isX389cMkYLH5wdK1X9NgmOfNWKasJWJ6BL2bNHDbKM EnbJRdL9VULaffmP2fDPjSgSyQWGR2LZzJjEI1H4FlWwXcqJW3Rxbe1n207geji9RA +V/NBXPGiP30p4JYO0RFGa7INJC+pSAkdzsRoFgzvgSK23P46Z88esRlW+RY8YQnoa 1ub3+/aeePrm8ddKKix8WG9j1rkjmqIH4/hhBYRHi84/tuAxV1qwXI/90tEon9/1io HCP9NeHpAvH8/rKHPF4OFGheUInfC6vAcXAaPrg/GU1RpvK4rxNIEB3GF6dKZFdGAn SMr5MWZEB0GLg==
Subject: Re: [openpgp] Fingerprints and their collisions resistance
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 03 Jan 2013 22:38:39 -0000

On 01/03/2013 11:26 AM, Tony Hansen wrote:
> On 1/3/2013 4:33 AM, Nicholas Cole wrote:
>> One issue with SHA-3 is that the fingerprints are going to be very
>> long.  How should these be displayed to the user?  Hex strings seem
>> unsuitable for this task, and I think any new standard should
>> recommend that fingerprints be displayed in some other way - probably
>> using a different base.
>
> SHA3 is defined for a variety of hash sizes. Using SHA3 does not imply a
> long fingerprint.

I would argue for SHA-3-384 and then possible truncation.

Keccak of different sizes is pretty much implemented as internal 
truncation anyway (of a large sponge structure), plus there is no 
different initialization vectors as for SHA-2 for different hash sizes.

The KeyIDs are the truncation of the fingerprint already.