Re: [openpgp] Fingerprint schemes versus what to fingerprint

Werner Koch <wk@gnupg.org> Thu, 07 April 2016 14:36 UTC

Return-Path: <wk@gnupg.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 6A06A12D816 for <openpgp@ietfa.amsl.com>; Thu, 7 Apr 2016 07:36:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] 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 vTdOWgH0Glqy for <openpgp@ietfa.amsl.com>; Thu, 7 Apr 2016 07:36:05 -0700 (PDT)
Received: from kerckhoffs.g10code.com (kerckhoffs.g10code.com [IPv6:2001:aa8:fff1:100::22]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8B1C712D95C for <openpgp@ietf.org>; Thu, 7 Apr 2016 07:20:21 -0700 (PDT)
Received: from uucp by kerckhoffs.g10code.com with local-rmail (Exim 4.80 #2 (Debian)) id 1aoAnD-0000AW-82 for <openpgp@ietf.org>; Thu, 07 Apr 2016 16:20:19 +0200
Received: from wk by wheatstone.g10code.de with local (Exim 4.84 #3 (Debian)) id 1aoAkt-00007V-Rs; Thu, 07 Apr 2016 16:17:55 +0200
From: Werner Koch <wk@gnupg.org>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>
References: <43986BDA-010F-4DBF-8989-53E71B74E66A@gmail.com> <20151110021943.GH3896@vauxhall.crustytoothpaste.net> <72665D15-F685-41F6-A477-8E65DBBC5A04@gmail.com> <9A043F3CF02CD34C8E74AC1594475C73F4C42AC4@uxcn10-5.UoA.auckland.ac.nz>
Organisation: g10 Code GmbH
X-message-flag: Mails containing HTML will not be read! Please send only plain text.
OpenPGP: url=https://k.gnupg.net/80615870F5BAD690333686D0F2AD85AC1E42B367
Mail-Followup-To: Peter Gutmann <pgut001@cs.auckland.ac.nz>, Bryan Ford <brynosaurus@gmail.com>, "openpgp\@ietf.org" <openpgp@ietf.org>
Date: Thu, 07 Apr 2016 16:17:55 +0200
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73F4C42AC4@uxcn10-5.UoA.auckland.ac.nz> (Peter Gutmann's message of "Thu, 7 Apr 2016 11:02:50 +0000")
Message-ID: <87lh4psdt8.fsf@wheatstone.g10code.de>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/Dv4NQj5ecNXI6G4tvvUWPmg5ZO0>
Cc: "openpgp@ietf.org" <openpgp@ietf.org>, Bryan Ford <brynosaurus@gmail.com>
Subject: Re: [openpgp] Fingerprint schemes versus what to fingerprint
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 14:36:07 -0000

On Thu,  7 Apr 2016 13:02, pgut001@cs.auckland.ac.nz said:

> fact the locatability, because the search key is no longer just a hash of the
> public key but a hash of the public key and some other metadata that you may
> or may not have.

In other words: With the current fingerprint scheme it is not possible
to find the fingerprint for given public key parameters.  For example
this inhibits the use of arbitrary smartcards because there is no way to
get the fingerprint form the smartcard data.  To help with that we had
to add creation timestamp fields to the OpenPGP smartcard specs.  For
other smartcards special hacks are required.

Some expressed concerns about cross-protocol attacks w/o an OpenPGP
specific fingerprint.  This could be fixed by including a few _constant_
magic bytes into the OpenPGP fingerprint computation.  Similar to the
yesterday proposed signature prefix to distinguish OpenPGP signatures
from signatures uses by other protocols.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.