Re: [openpgp] Mining protection in fingerprint schemes
Jon Callas <jon@callas.org> Thu, 07 April 2016 23:36 UTC
Return-Path: <jon@callas.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 5F43712D12E for <openpgp@ietfa.amsl.com>; Thu, 7 Apr 2016 16:36:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 qtmvvUGD-LbG for <openpgp@ietfa.amsl.com>; Thu, 7 Apr 2016 16:36:11 -0700 (PDT)
Received: from mail.merrymeet.com (merrymeet.com [173.164.244.100]) by ietfa.amsl.com (Postfix) with ESMTP id 23B4712D11E for <openpgp@ietf.org>; Thu, 7 Apr 2016 16:36:11 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.merrymeet.com (Postfix) with ESMTP id EC3D994546E4; Thu, 7 Apr 2016 16:36:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at merrymeet.com
Received: from mail.merrymeet.com ([127.0.0.1]) by localhost (merrymeet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RTYa0nTgY1kL; Thu, 7 Apr 2016 16:36:09 -0700 (PDT)
Received: from keys.merrymeet.com (keys.merrymeet.com [173.164.244.97]) by mail.merrymeet.com (Postfix) with ESMTPSA id B9B5994546CF; Thu, 7 Apr 2016 16:36:09 -0700 (PDT)
Received: from [10.0.23.7] ([173.164.244.98]) by keys.merrymeet.com (PGP Universal service); Thu, 07 Apr 2016 16:36:09 -0700
X-PGP-Universal: processed; by keys.merrymeet.com on Thu, 07 Apr 2016 16:36:09 -0700
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Jon Callas <jon@callas.org>
In-Reply-To: <D17B23A3-633F-4E4E-BC14-69ED6060F357@gmail.com>
Date: Thu, 07 Apr 2016 16:36:09 -0700
Message-Id: <6E221A61-7AB2-4E0B-B64D-60F210A0131F@callas.org>
References: <4C08CDDD-4C06-41AD-9797-7DD6F08ECD06@gmail.com> <2AA5B912-0AE6-4722-8BC7-66E37559C0B1@callas.org> <D17B23A3-633F-4E4E-BC14-69ED6060F357@gmail.com>
To: Bryan Ford <brynosaurus@gmail.com>
X-Mailer: Apple Mail (2.3124)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/yWbBWtyiaxCcBxZHO6CUyWcSIk4>
Cc: openpgp@ietf.org, Jon Callas <jon@callas.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: Thu, 07 Apr 2016 23:36:12 -0000
> On Apr 7, 2016, at 7:55 AM, Bryan Ford <brynosaurus@gmail.com> wrote: > > * PGP - S/MIME Signed by an unverified key: 04/07/2016 at 07:55:36 AM > > >> On Apr 6, 2016, at 7:39 PM, Jon Callas <jon@callas.org> wrote: >> >> I don't get it. What problem are you trying to solve. Along with the previous note -- the fingerprint is in fact merely a hash of the key. It's a handle you can use in a database to identify the key with a fixed string. That's it. > > The problem is that one of the most common uses of fingerprints in practice is to verify consistency. > > A lot of the people I meet at conferences who use PGP at all tend to put their PGP key fingerprint on their business card. People also put their PGP key fingerprints on their websites, etc. Given the general unusability of the “web-of-trust” model as originally envisioned and the lack of any better form of effective PKI in the PGP ecosystem, this casual fingerprint verification often tends to be “the best we can do” in terms of actually ensuring that you have the key you think you have. > > But when eyeball-verifying a fingerprint, how many people really look/compare beyond the first 10 digits or so? Whether mentally or verbally, we’re all tempted just to say, “oh yeah, that’s the fingerprint that starts with …” and assume we’re done. > > Which leaves a huge attack vulnerability, at least in principle (although I don’t know if it’s actually happened in practice). 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. They post their key with my E-mail address on one or more PGP key servers, and people download it and assume it’s my key because it “looks like” the fingerprint on my business card or web site in the first and/or last digits, the only ones they actually look at. They might not be able to fool everyone that way, but still it seems like a pretty serious concern. > > 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. > > Does this make sense? I believe I understand you. You're complexifying key creation for a hypothetical, movie-plot attack. Jon
- [openpgp] Mining protection in fingerprint schemes Bryan Ford
- Re: [openpgp] Mining protection in fingerprint sc… Jon Callas
- Re: [openpgp] Mining protection in fingerprint sc… Bryan Ford
- Re: [openpgp] Mining protection in fingerprint sc… Jon Callas
- Re: [openpgp] Mining protection in fingerprint sc… Bryan Ford
- Re: [openpgp] Mining protection in fingerprint sc… Peter Gutmann
- Re: [openpgp] Mining protection in fingerprint sc… Robert J. Hansen
- Re: [openpgp] Mining protection in fingerprint sc… Jon Callas
- Re: [openpgp] Mining protection in fingerprint sc… Daniel Kahn Gillmor
- Re: [openpgp] Mining protection in fingerprint sc… Jon Callas
- Re: [openpgp] Mining protection in fingerprint sc… Peter Gutmann
- Re: [openpgp] Mining protection in fingerprint sc… Bryan Ford
- Re: [openpgp] Mining protection in fingerprint sc… Vincent Breitmoser
- Re: [openpgp] Mining protection in fingerprint sc… Phillip Hallam-Baker
- Re: [openpgp] Mining protection in fingerprint sc… Vincent Breitmoser
- Re: [openpgp] Mining protection in fingerprint sc… Daniel Kahn Gillmor
- Re: [openpgp] Mining protection in fingerprint sc… Phillip Hallam-Baker
- Re: [openpgp] Mining protection in fingerprint sc… Hilarie Orman
- Re: [openpgp] Mining protection in fingerprint sc… Peter Gutmann
- Re: [openpgp] Mining protection in fingerprint sc… brian m. carlson
- Re: [openpgp] Mining protection in fingerprint sc… Daniel Kahn Gillmor
- Re: [openpgp] Mining protection in fingerprint sc… Werner Koch
- Re: [openpgp] Mining protection in fingerprint sc… Derek Atkins
- Re: [openpgp] Mining protection in fingerprint sc… Bryan Ford
- Re: [openpgp] Mining protection in fingerprint sc… Bryan Ford
- Re: [openpgp] Mining protection in fingerprint sc… Peter Gutmann