Re: [openpgp] New fingerprint: to v5 or not to v5

Peter Gutmann <pgut001@cs.auckland.ac.nz> Thu, 08 October 2015 15:17 UTC

Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8EB401A6F8E for <openpgp@ietfa.amsl.com>; Thu, 8 Oct 2015 08:17:12 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, T_FILL_THIS_FORM_SHORT=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 fQYTIuXw3szv for <openpgp@ietfa.amsl.com>; Thu, 8 Oct 2015 08:17:11 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB86F1A8AFE for <openpgp@ietf.org>; Thu, 8 Oct 2015 08:16:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1444317413; x=1475853413; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=kMBlks9YgNp5UOgXUVB2oNF6WZszauGD95NrlfNLaXk=; b=hAqtxq9CSkNg8OhYAOO+/K1cJj8+OSZX5meCKkhjHnTzzdnvr/ngGFAU AGRH7dWganqVmFilxCD88RyO6pLCm04GjOTb1mauBHcIAs5yt95BNd/wy eZC7cAs4F19AwM1Nvvb38apG5T1Atowg1v7iOFDLCHduAWOjwDQvF8i1M NH+L2G8C3T2WSFh93eDtKoqCnqYuvhLx7xQhggF8YspM6bxeBNfN/4ZLk TbVsuq5m8LLUtYxZoBT2v40SQLgKVNvtyId9G9+GFo+QmxUbeD6U9RGwC 7WNmTqIR97PZCeNx9maWILwv8r+DmG2sJwR1LdfX0gB+EEC2VtI+y9jMj g==;
X-IronPort-AV: E=Sophos;i="5.17,655,1437393600"; d="scan'208";a="47361759"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.106 - Outgoing - Outgoing
Received: from exchangemx.uoa.auckland.ac.nz (HELO uxchange10-fe2.UoA.auckland.ac.nz) ([130.216.4.106]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES128-SHA; 09 Oct 2015 04:16:52 +1300
Received: from UXCN10-5.UoA.auckland.ac.nz ([169.254.5.51]) by uxchange10-fe2.UoA.auckland.ac.nz ([130.216.4.106]) with mapi id 14.03.0174.001; Fri, 9 Oct 2015 04:16:52 +1300
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Werner Koch <wk@gnupg.org>
Thread-Topic: [openpgp] New fingerprint: to v5 or not to v5
Thread-Index: AQHRATcNGRFnZAPwNU68Rcs3/4z3Np5hta52
Date: Thu, 08 Oct 2015 15:16:50 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73F4B2D5B1@uxcn10-5.UoA.auckland.ac.nz>
References: <878u84zy4r.fsf@vigenere.g10code.de> <87fv1xxe5w.fsf@alice.fifthhorseman.net> <87r3lgcup8.fsf@vigenere.g10code.de> <CACsn0c=-LKagSqTbgOV1W4Gu4u-f6vpVq82-nWSLGogjoeFKeg@mail.gmail.com> <CAMm+LwjeKDKnN2ZAisbKhWVS4kwCEm_VvcZ1MtftYzEJQpGdhg@mail.gmail.com> <87y4fi5wa9.fsf@vigenere.g10code.de> <9A043F3CF02CD34C8E74AC1594475C73F4B278ED@uxcn10-5.UoA.auckland.ac.nz> <8737xp5z45.fsf@vigenere.g10code.de> <9A043F3CF02CD34C8E74AC1594475C73F4B279C6@uxcn10-5.UoA.auckland.ac.nz> <87fv1o4e9n.fsf@vigenere.g10code.de> <9A043F3CF02CD34C8E74AC1594475C73F4B2C5EE@uxcn10-5.UoA.auckland.ac.nz>, <87wpuy1njl.fsf@vigenere.g10code.de>
In-Reply-To: <87wpuy1njl.fsf@vigenere.g10code.de>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [130.216.158.4]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/g198eCfW8l0OabgI7ts8KfBmbak>
Cc: Watson Ladd <watsonbladd@gmail.com>, Phillip Hallam-Baker <phill@hallambaker.com>, Daniel Kahn Gillmor <dkg@fifthhorseman.net>, IETF OpenPGP <openpgp@ietf.org>
Subject: Re: [openpgp] New fingerprint: to v5 or not to v5
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.15
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, 08 Oct 2015 15:17:12 -0000

Werner Koch <wk@gnupg.org> writes:

>Which is not defined by any standard.

You don't need a standard to tell you that a SHA-1 hash of a certificate is
obtained by taking a certificate and hashing it with SHA-1.  Pretty much
everything has supported this for years, typically under the name of
certificate fingerprint.

>It will only take a few days until the first wags create multiple different
>keys with the same identifier to confuse software.

X.509 has been using this mechanism for about twenty years without any
problems.  Sure, someone could do that, but what would they gain by it?  The
same wags could create a key with a colliding email address attached to it,
and they've been able to do that for twenty years as well but the world hasn't
ended because of it.

>I call this corrupt data.  The self-signature would not verify and thus the
>key is unusable.  Time to remember where you stored the backup.

It's not corrupted, someone just updated their key info, the signatures on the
new key data are all valid.  The fact that the exact same key that was used
earlier, with the exact same name/email address attached to it, now has a
totally different identifier associated with it, is a problem with how PGP
identifiers are handled.  No data corruption has taken place.

Peter.