Re: [openpgp] Mining protection in fingerprint schemes

Daniel Kahn Gillmor <dkg@fifthhorseman.net> Sat, 09 April 2016 02:36 UTC

Return-Path: <dkg@fifthhorseman.net>
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 1129412D614 for <openpgp@ietfa.amsl.com>; Fri, 8 Apr 2016 19:36:10 -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 249Te3Nkuv3k for <openpgp@ietfa.amsl.com>; Fri, 8 Apr 2016 19:36:08 -0700 (PDT)
Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108]) by ietfa.amsl.com (Postfix) with ESMTP id 78ADA12D1DC for <openpgp@ietf.org>; Fri, 8 Apr 2016 19:36:08 -0700 (PDT)
Received: from fifthhorseman.net (unknown [201.140.212.132]) by che.mayfirst.org (Postfix) with ESMTPSA id 58DD6FFCB; Fri, 8 Apr 2016 22:36:00 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id BB0E32003D; Fri, 8 Apr 2016 23:35:50 -0300 (ART)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: "brian m. carlson" <sandals@crustytoothpaste.net>, "openpgp@ietf.org" <openpgp@ietf.org>
In-Reply-To: <20160408215053.GA191287@vauxhall.crustytoothpaste.net>
References: <4C08CDDD-4C06-41AD-9797-7DD6F08ECD06@gmail.com> <2AA5B912-0AE6-4722-8BC7-66E37559C0B1@callas.org> <D17B23A3-633F-4E4E-BC14-69ED6060F357@gmail.com> <9A043F3CF02CD34C8E74AC1594475C73F4C46D17@uxcn10-5.UoA.auckland.ac.nz> <20160408215053.GA191287@vauxhall.crustytoothpaste.net>
User-Agent: Notmuch/0.21+124~gbf604e9 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu)
Date: Fri, 08 Apr 2016 23:35:50 -0300
Message-ID: <874mbbqzjt.fsf@alice.fifthhorseman.net>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/FVHyC1SXcFFD5VG4rsP_du6_h4k>
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: Sat, 09 Apr 2016 02:36:10 -0000

On Fri 2016-04-08 18:50:53 -0300, brian m. carlson wrote:
>   I agree.  I think we're approaching this problem the wrong way.  The
>   approach I like is what OpenKeychain is doing with QR codes: you scan
>   the QR code, which contains the fingerprint.  No manual verification is
>   necessary.  We should design systems that make it easy for people to get
>   right, instead of trying to defeat people being lazy.  People are always
>   going to be lazy, and we should aim to have that have as little impact
>   on security as possible.

I agree that entirely mechanized, user-friendly, non-MITM-able key
transfer is superior to asking humans to deal with fingerprints.

But this is not the use case for fingerprints -- we can ignore
fingerprints entirely if we're talking about mechanized key transfer
(and there's no reason that OpenKeychain needs to use the fingerprint --
for Ed25519 keys, they could just put the public key itself in the QR
Code)

However, we will still need fingerprints for the use case where people
meet up but don't have any machines handy that are capable of doing an
automated transfer.  We're going to need a transcribable or
copy/pasteable string for people to use in that case.  We're also going
to need such a string for the situations where people want to look up a
key in a directory someplace after having done such a non-mechanized
transfer.

So please, by all means, help people solve the "directory lookup" and
"in-person key exchange" use cases in user-friendly ways that do not
involve fingerprints.  But unless the WG is convinced that those
solutions can completely replace the fingerprint everywhere, we'll still
need to decide how to compute and structure the fingerprint.

The presence of better in-person schemes than fingerprint exchange do
suggest that making a complex fingerprint scheme is unlikely to be a
good use of the energy of the WG group, though.

It would be great to decide on something simple, unambiguous, and secure
soon so that we can focus on the harder work we have on our plate.

     --dkg