Re: [openpgp] Mining protection in fingerprint schemes

Vincent Breitmoser <look@my.amazin.horse> Sun, 10 April 2016 21:14 UTC

Return-Path: <look@my.amazin.horse>
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 DE0B212D157 for <openpgp@ietfa.amsl.com>; Sun, 10 Apr 2016 14:14:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 AnWoEeTNNW0I for <openpgp@ietfa.amsl.com>; Sun, 10 Apr 2016 14:14:58 -0700 (PDT)
Received: from mail.mugenguild.com (mugenguild.com [5.135.189.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F1F1012D124 for <openpgp@ietf.org>; Sun, 10 Apr 2016 14:14:57 -0700 (PDT)
Received: from localhost (unknown [217.13.173.17]) by mail.mugenguild.com (Postfix) with ESMTPSA id 693615FC83; Sun, 10 Apr 2016 23:14:55 +0200 (CEST)
Date: Sun, 10 Apr 2016 23:14:49 +0200
From: Vincent Breitmoser <look@my.amazin.horse>
To: Bryan Ford <brynosaurus@gmail.com>
Message-ID: <20160410211449.GA12408@littlepip.fritz.box>
References: <4C08CDDD-4C06-41AD-9797-7DD6F08ECD06@gmail.com> <2AA5B912-0AE6-4722-8BC7-66E37559C0B1@callas.org> <D17B23A3-633F-4E4E-BC14-69ED6060F357@gmail.com> <6E221A61-7AB2-4E0B-B64D-60F210A0131F@callas.org> <E9A5B4B3-0EEC-4E86-8CEC-6680A24BE44F@gmail.com> <0D7A75AB-74C6-40E9-87C5-BA6F05FCDBF7@callas.org> <87oa9jo5sp.fsf@alice.fifthhorseman.net> <9C461E78-DC60-4B9D-A0DF-170F4759A57D@callas.org> <5E793A3D-128D-470A-8DF7-50827F39E02F@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5"
Content-Disposition: inline
In-Reply-To: <5E793A3D-128D-470A-8DF7-50827F39E02F@gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/xfzhS2G_eSxG-kocwV7ptPf-vD0>
Cc: openpgp@ietf.org
Subject: Re: [openpgp] Mining protection in fingerprint schemes
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.17
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: Sun, 10 Apr 2016 21:15:00 -0000

Bryan Ford(brynosaurus@gmail.com)@Sat, Apr 09, 2016 at 12:55:42PM -0300:
> - V5 “key ID” is derived from the V5 fingerprint and shortened for presentation
> to the user - but shortened only to ~256 bits, not shortened to the point of
> insecurity like V3/V4 key IDs are.  That shortening could easily include simple
> Key ID mining-protection.

This was discussed before, but bringing this up again because I see you
saying 256 bit fingerprint for comparison like it's the natural
conclusion:

It's perfectly valid to go for stronger bitsizes in algorithms with the
argument that computers get better at crunching numbers all the time -
but humans don't. We should not increase the bit size here just because
that feels like the thing to do while revising a standard

Instead, we need to carefully consider the requirements for a string
used for authentication by manual comparison, the result of which I'm
pretty sure will be nowhere near 32 bytes of data.

 - V