Re: [openpgp] Mining protection in fingerprint schemes

Derek Atkins <derek@ihtfp.com> Mon, 11 April 2016 16:11 UTC

Return-Path: <derek@ihtfp.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 4145012DF25 for <openpgp@ietfa.amsl.com>; Mon, 11 Apr 2016 09:11:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ihtfp.com
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 PfchqLu1XK2Q for <openpgp@ietfa.amsl.com>; Mon, 11 Apr 2016 09:11:02 -0700 (PDT)
Received: from mail2.ihtfp.org (MAIL2.IHTFP.ORG [204.107.200.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4F8CE12DA67 for <openpgp@ietf.org>; Mon, 11 Apr 2016 09:11:02 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 59938E2038; Mon, 11 Apr 2016 12:10:59 -0400 (EDT)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 06921-06; Mon, 11 Apr 2016 12:10:53 -0400 (EDT)
Received: from securerf.ihtfp.org (tacc-24-54-172-229.smartcity.com [24.54.172.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mocana.ihtfp.org", Issuer "IHTFP Consulting Certification Authority" (verified OK)) by mail2.ihtfp.org (Postfix) with ESMTPS id 399E5E2030; Mon, 11 Apr 2016 12:10:52 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1460391053; bh=3Z5B19iVwGVOOfRC+BOIMyl2iS7mS5EbBPCxO4fPKZ8=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=hCdUXzUkAsqSDvKDGJxXkgl61tgh7hnEoVnTgqlAkxNLPfKzKbMsPuKEzM/iLWJ0d ydxaBJ9A37M0+aCh9JTjY8J9Yk2M4Cr8fYBnUawK2IotRLkisjOpjfZFJ1yMXEo5D7 sgxSmpfmPM9UrBawk9COdrthhUjjq0rr+pwIfbss=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.15.2/8.14.8/Submit) id u3BGAlYX023771; Mon, 11 Apr 2016 12:10:47 -0400
From: Derek Atkins <derek@ihtfp.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.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> <874mbbqzjt.fsf@alice.fifthhorseman.net> <87egafkt6d.fsf@wheatstone.g10code.de>
Date: Mon, 11 Apr 2016 12:10:45 -0400
In-Reply-To: <87egafkt6d.fsf@wheatstone.g10code.de> (Werner Koch's message of "Sat, 09 Apr 2016 11:50:02 +0200")
Message-ID: <sjmshys2kje.fsf@securerf.ihtfp.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/CcEKuHDxMx4anoSTeq0xh3U2RMs>
Cc: "openpgp@ietf.org" <openpgp@ietf.org>, "brian m. carlson" <sandals@crustytoothpaste.net>
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: Mon, 11 Apr 2016 16:11:04 -0000

Werner Koch <wk@gnupg.org> writes:

> On Sat,  9 Apr 2016 04:35, dkg@fifthhorseman.net said:
>
>> (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
>
> Which would also encourage not to add a salt (creation timestamp) so
> that there is no need to somehow also convey the creation timestamp.

Wait, is this for the authentication string or the DB lookup handle?  I
still think we're conflating the two.  And for an authentication string
I including the additional data is just fine.

When someone hands me the business card I would expect it to contain the
authentication string, not the DB Handle.  But there is also additional
data available to me, like the userID (email address).

>From a user process point of view I would expect to lookup the key using
the userid and then use the authentication string from the business card
to make sure I got the right key.

At this point, including the metadata (timestamp) in the authentication
string is fine, because I have the public key certificate including all
the metadata.

If you're doing automated key transfer then you could just use the
Database Lookup Handle.  But again, at that point where you have the
handle and need to look up the key, the only question is whether you
have a database or just raw material.

> Shalom-Salam,
>
>    Werner

-derek

-- 
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant