Re: [openpgp] Mining protection in fingerprint schemes

Peter Gutmann <pgut001@cs.auckland.ac.nz> Fri, 08 April 2016 06:30 UTC

Return-Path: <pgut001@cs.auckland.ac.nz>
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 C238512D1DA for <openpgp@ietfa.amsl.com>; Thu, 7 Apr 2016 23:30:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 uwLIr1v5abuQ for <openpgp@ietfa.amsl.com>; Thu, 7 Apr 2016 23:30:20 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B34B612D5FE for <openpgp@ietf.org>; Thu, 7 Apr 2016 23:30:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1460097017; x=1491633017; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ibcVaNJjVXbSw9nrYQEq0XH4o0NHaIpJFk6U+ICJllI=; b=3UlTZNqdk9BSf8BhPYYrDem7/03yWWmDM/j1Wzah/XXj5OAfGHZ/Vhj5 dBYcBWZ8NlXItsouuI44vC4Og16vJ22gO11l3SeuQNqIfYjKvX6IuuoaR eVNi6zFCyxDXJ3CKMLfAzPJ+O6GCZLizhjpqUzWVawYt8thZl7CAM0EDy RD9nghj/YwrdoqYIu5bsA8aQeklbmkQWhOVvBKry6kMUEMSU82914Y/4C shPTANd35dNS08FW1m0wiI7+0lVm4a4WbQeFl1oOl3RLhpDSfss+sU5ca CupUWwdDFH+qShpo1sRjYyROKFAi0Vr9DmuJijSF1r0Y14a89E6GMB65w w==;
X-IronPort-AV: E=Sophos;i="5.24,449,1454929200"; d="scan'208";a="78993033"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.171 - Outgoing - Outgoing
Received: from uxchange10-fe4.uoa.auckland.ac.nz ([130.216.4.171]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES256-SHA; 08 Apr 2016 18:30:10 +1200
Received: from UXCN10-5.UoA.auckland.ac.nz ([169.254.5.153]) by uxchange10-fe4.UoA.auckland.ac.nz ([169.254.109.63]) with mapi id 14.03.0266.001; Fri, 8 Apr 2016 18:30:09 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Bryan Ford <brynosaurus@gmail.com>, Jon Callas <jon@callas.org>
Thread-Topic: [openpgp] Mining protection in fingerprint schemes
Thread-Index: AQHRkD712bG2iqLU6EOL6HNGn5mjH598wM8AgAEQngCAAc4v0w==
Date: Fri, 08 Apr 2016 06:30:07 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73F4C46D17@uxcn10-5.UoA.auckland.ac.nz>
References: <4C08CDDD-4C06-41AD-9797-7DD6F08ECD06@gmail.com> <2AA5B912-0AE6-4722-8BC7-66E37559C0B1@callas.org>, <D17B23A3-633F-4E4E-BC14-69ED6060F357@gmail.com>
In-Reply-To: <D17B23A3-633F-4E4E-BC14-69ED6060F357@gmail.com>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.6.3.3]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/w6uRq477M-i9sg8yt374KiinNLc>
Cc: "openpgp@ietf.org" <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: Fri, 08 Apr 2016 06:30:25 -0000

Bryan Ford <brynosaurus@gmail.com> writes:

>Someone who wants to pass themselves off as me can simply spend a bit of time
>mining for a new PGP key whose fingerprint matches mine, or yours, in the
>first 10 digits or so, and perhaps the last few as well.  

We already have good data on that via SSH's fuzzy fingerprints, with tools to
generate and exploit them having been around for some years.  They're quite
effective.

>The whole idea of providing some form of “mining-resistance” in a fingerprint
>scheme is to enable the key-owner to invest some effort at key-creation time,
>to ensure that any attacker who wants to try to mine for a key with a similar-
>looking fingerprint will have to invest a *lot* more time and effort, not just
>a little.

I'm not sure if this is worth the effort, see "Do Users Verify SSH Keys?",
https://www.usenix.org/system/files/login/articles/105484-Gutmann.pdf.  The
solution isn't to try and patch up something that inherently doesn't work
(look at browser PKI for a twenty-year, and still running, example of trying
to do that) but to look for alternative approaches to dealing with the
problem.

Peter.