Re: [openpgp] Mining protection in fingerprint schemes
"Hilarie Orman" <hilarie@purplestreak.com> Fri, 08 April 2016 01:28 UTC
Return-Path: <hilarie@purplestreak.com>
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 09DD712D5CD for <openpgp@ietfa.amsl.com>; Thu, 7 Apr 2016 18:28:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.62
X-Spam-Level:
X-Spam-Status: No, score=-2.62 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] 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 Bt6RWxWlu1gg for <openpgp@ietfa.amsl.com>; Thu, 7 Apr 2016 18:28:35 -0700 (PDT)
Received: from out02.mta.xmission.com (out02.mta.xmission.com [166.70.13.232]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E5D012D1CF for <openpgp@ietf.org>; Thu, 7 Apr 2016 18:28:35 -0700 (PDT)
Received: from in01.mta.xmission.com ([166.70.13.51]) by out02.mta.xmission.com with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <hilarie@purplestreak.com>) id 1aoLDt-00069I-Ab for openpgp@ietf.org; Thu, 07 Apr 2016 19:28:33 -0600
Received: from [72.250.219.84] (helo=rumpleteazer.rhmr.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from <hilarie@purplestreak.com>) id 1aoLDr-0003bR-5t for openpgp@ietf.org; Thu, 07 Apr 2016 19:28:33 -0600
Received: from rumpleteazer.rhmr.com (localhost [127.0.0.1]) by rumpleteazer.rhmr.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u381RxLo014334 for <openpgp@ietf.org>; Thu, 7 Apr 2016 19:27:59 -0600
Received: (from hilarie@localhost) by rumpleteazer.rhmr.com (8.14.4/8.14.4/Submit) id u381RxEI014333; Thu, 7 Apr 2016 19:27:59 -0600
Date: Thu, 07 Apr 2016 19:27:59 -0600
Message-Id: <201604080127.u381RxEI014333@rumpleteazer.rhmr.com>
From: Hilarie Orman <hilarie@purplestreak.com>
To: openpgp@ietf.org
In-reply-to: Yourmessage <6E221A61-7AB2-4E0B-B64D-60F210A0131F@callas.org>
X-XM-AID: U2FsdGVkX1/Gz0uaEaZq9AJSaB6yUQXi
X-SA-Exim-Connect-IP: 72.250.219.84
X-SA-Exim-Mail-From: hilarie@purplestreak.com
X-Spam-DCC: XMission; sa06 1397; Body=1 Fuz1=1 Fuz2=1
X-Spam-Combo: ;openpgp@ietf.org
X-Spam-Relay-Country:
X-Spam-Timing: total 1763 ms - load_scoreonly_sql: 0.04 (0.0%), signal_user_changed: 4.2 (0.2%), b_tie_ro: 3.0 (0.2%), parse: 0.91 (0.1%), extract_message_metadata: 25 (1.4%), get_uri_detail_list: 2.8 (0.2%), tests_pri_-1000: 7 (0.4%), tests_pri_-950: 1.96 (0.1%), tests_pri_-900: 1.36 (0.1%), tests_pri_-400: 30 (1.7%), check_bayes: 28 (1.6%), b_tokenize: 9 (0.5%), b_tok_get_all: 7 (0.4%), b_comp_prob: 4.3 (0.2%), b_tok_touch_all: 2.7 (0.2%), b_finish: 1.12 (0.1%), tests_pri_0: 1652 (93.7%), check_dkim_signature: 1.09 (0.1%), check_dkim_adsp: 306 (17.4%), tests_pri_500: 10 (0.6%), rewrite_mail: 0.00 (0.0%)
X-SA-Exim-Version: 4.2.1 (built Wed, 24 Sep 2014 11:00:52 -0600)
X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com)
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/MKkCxZYb-4JDu3eKA9Zay4pHiHs>
Subject: Re: [openpgp] Mining protection in fingerprint schemes
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Hilarie Orman <hilarie@purplestreak.com>
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 01:28:38 -0000
> Date: Thu, 7 Apr 2016 16:36:09 -0700 > > 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 Millions of people every year are victims of fake business card attacks. I read that somewhere. Hilarie
- [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