Re: [openpgp] Fingerprints and their collisions resistance
Andrey Jivsov <openpgp@brainhub.org> Sun, 06 January 2013 06:50 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 C6B3921F881A for <openpgp@ietfa.amsl.com>; Sat, 5 Jan 2013 22:50:45 -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 O7uTDBXnE3bQ for <openpgp@ietfa.amsl.com>; Sat, 5 Jan 2013 22:50:44 -0800 (PST)
Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:44:76:96:27:227]) by ietfa.amsl.com (Postfix) with ESMTP id E9C8121F879E for <openpgp@ietf.org>; Sat, 5 Jan 2013 22:50:44 -0800 (PST)
Received: from omta15.emeryville.ca.mail.comcast.net ([76.96.30.71]) by qmta12.emeryville.ca.mail.comcast.net with comcast id kWbL1k0021Y3wxoACWqj10; Sun, 06 Jan 2013 06:50:43 +0000
Received: from [192.168.1.8] ([69.181.162.123]) by omta15.emeryville.ca.mail.comcast.net with comcast id kWqi1k00E2g33ZR8bWqibU; Sun, 06 Jan 2013 06:50:43 +0000
Message-ID: <50E91EC2.7050008@brainhub.org>
Date: Sat, 05 Jan 2013 22:50:42 -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> <D3684BB5-FDC6-4834-8FAE-C482A25E3FB0@callas.org> <50E675EC.60400@iang.org> <50E741AE.7060601@brainhub.org>
In-Reply-To: <50E741AE.7060601@brainhub.org>
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=1357455043; bh=5J+fvTSPdbcy3WbxNT2UH/OWOnCOn72XpbUklB8Fe7Q=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=bhfFWXNByeeFLStqFECN97oqhwQR/GcJjI4sctgQs895xQHEZxKUTBleR55/CdQGw /1LaEcguvFK1KlIa0VGAEm6OJ6WQqAdT7RLGlv+IxflffS+jx5KehqcpB4y6JrZZHC +d9UDHXhJsUTAzuqcrzxd7krIvfGPzBt5TX8LWW8Gg44U9wAGSVDtYeGWasNlE6xHG WPyjrAlhEuIRrJXlbsUktcMyHUvNmgzz+v5AMlu67xDI2+odajIPTTmPFaI7XKEIPc xuqsBtpM3mhRCOvsig//ttP51XAZmHbg2fHOG0dwphc9C/d8AKT8LjHpacJ3RzCaoQ Eb3EXBh4Z2hyQ==
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: Sun, 06 Jan 2013 06:50:45 -0000
On 01/04/2013 12:55 PM, Andrey Jivsov wrote: > On 01/03/2013 10:25 PM, ianG wrote: > ... >> Hence my earlier question - has anyone allocated the OpenPGP numbers for >> Keccak as yet? The reason I asked is because I stumbled on the code >> last week and thought what a fine idea it would be to at least prepare >> the way.... Strawman? >> >> SHA3-224 4 12 >> SHA3-256 5 13 >> SHA3-384 6 14 >> SHA3-512 7 15 >> >> Strawman? I'm not sure why there is a gap 4-7 in rfc4880. Are there >> any spots already allocated? >> > > One point I wanted bring up here based on the draft that I wrote last > year is that let's think for a moment about the usefulness of the SHA3-224. > > I would like to see an argument for it. Algorithms like DSA/ECDSA are > capable to deal with hash truncation or padding. RSA mod has sufficient > space to always use SHA3-512. > > The question is especially relevant if you familiarize yourself with the > Keccak. Keccak is basically a single hash algorithm which output is > truncated to 256, 384, 512, etc bits. The only difference between > SHA3-256 and SHA3-512, for example, is one integer used in the internal > loop. > > You can always go with stronger security. Who are those people who would > not be OK with SHA3-256 but are happy with SHA3-224 ? Why can't they use > shorter public keys (to solve space concerns?) ? I think I found some support to my suggestion in the latest SHA2 spec: FIPS 180-4 "Secure Hash Standard (SHS)": > 7. TRUNCATION OF A MESSAGE DIGEST > Some application may require a hash function with a message digest length different than those > provided by the hash functions in this Standard. In such cases, a truncated message digest may be > used, whereby a hash function with a larger message digest length is applied to the data to be > hashed, and the resulting message digest is truncated by selecting an appropriate number of the > leftmost bits. For guidelines on choosing the length of the truncated message digest and > information about its security implications for the cryptographic application that uses it, see SP > 800-107 [SP 800-107]. In SHA2 SHA-224 is the SHA-256 with different IV. NIST was worrying about some theoretical concerns with examples that show non-uniform distribution of the SHA2 hash output (see http://csrc.nist.gov/groups/ST/hash/documents/Kelsey_Truncation.pdf) Given that there are no IVs in Keccak, the section 7 of FIPS 180-4 allows the truncation, and the truncation should be happening anyway in practice when you use mismatched weaker DSA keys with stronger hashes, benefits of SHA3-224 are even harder to see.
- [openpgp] Fingerprints and their collisions resis… Andrey Jivsov
- Re: [openpgp] Fingerprints and their collisions r… ianG
- Re: [openpgp] Fingerprints and their collisions r… Nicholas Cole
- Re: [openpgp] Fingerprints and their collisions r… Jon Callas
- Re: [openpgp] Fingerprints and their collisions r… Arturo 'Buanzo' Busleiman
- Re: [openpgp] Fingerprints and their collisions r… Andrey Jivsov
- Re: [openpgp] Fingerprints and their collisions r… Tony Hansen
- Re: [openpgp] Fingerprints and their collisions r… Andrey Jivsov
- Re: [openpgp] Fingerprints and their collisions r… Andrey Jivsov
- Re: [openpgp] Fingerprints and their collisions r… Werner Koch
- Re: [openpgp] Fingerprints and their collisions r… Daniel Kahn Gillmor
- Re: [openpgp] Fingerprints and their collisions r… Andrey Jivsov
- Re: [openpgp] Fingerprints and their collisions r… Andrey Jivsov
- Re: [openpgp] Fingerprints and their collisions r… Daniel Kahn Gillmor
- Re: [openpgp] Fingerprints and their collisions r… Andrey Jivsov
- Re: [openpgp] Fingerprints and their collisions r… ianG
- Re: [openpgp] Fingerprints and their collisions r… ianG
- Re: [openpgp] Fingerprints and their collisions r… ianG
- Re: [openpgp] Fingerprints and their collisions r… Christian Aistleitner
- Re: [openpgp] Fingerprints and their collisions r… Andrey Jivsov
- Re: [openpgp] Fingerprints and their collisions r… Andrey Jivsov
- Re: [openpgp] Fingerprints and their collisions r… jbar
- Re: [openpgp] Fingerprints and their collisions r… Christian Aistleitner
- Re: [openpgp] Fingerprints and their collisions r… Daniel Kahn Gillmor
- Re: [openpgp] Fingerprints and their collisions r… Andrey Jivsov
- Re: [openpgp] Fingerprints and their collisions r… ianG
- Re: [openpgp] Fingerprints and their collisions r… Jon Callas
- Re: [openpgp] Fingerprints and their collisions r… Werner Koch
- Re: [openpgp] Fingerprints and their collisions r… Daniel Kahn Gillmor
- Re: [openpgp] Fingerprints and their collisions r… Jon Callas
- Re: [openpgp] Fingerprints and their collisions r… Andrey Jivsov
- Re: [openpgp] Fingerprints and their collisions r… Andrey Jivsov
- Re: [openpgp] Fingerprints and their collisions r… Andrey Jivsov
- Re: [openpgp] Fingerprints and their collisions r… Werner Koch
- Re: [openpgp] Fingerprints and their collisions r… Werner Koch
- Re: [openpgp] Fingerprints and their collisions r… Bill Frantz
- Re: [openpgp] Fingerprints and their collisions r… Jon Callas
- Re: [openpgp] Fingerprints and their collisions r… Nicholas Cole
- Re: [openpgp] Fingerprints and their collisions r… ianG