Re: [openpgp] Should fingerprints be "key-canonical"?
Jon Callas <jon@callas.org> Sat, 09 April 2016 04:07 UTC
Return-Path: <jon@callas.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 B10F312D0C4 for <openpgp@ietfa.amsl.com>; Fri, 8 Apr 2016 21:07:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 z6L2WEd3YKOd for <openpgp@ietfa.amsl.com>; Fri, 8 Apr 2016 21:07:45 -0700 (PDT)
Received: from mail.merrymeet.com (merrymeet.com [173.164.244.100]) by ietfa.amsl.com (Postfix) with ESMTP id 1DDFA12D724 for <openpgp@ietf.org>; Fri, 8 Apr 2016 21:07:44 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.merrymeet.com (Postfix) with ESMTP id 985259473DB8; Fri, 8 Apr 2016 21:07:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at merrymeet.com
Received: from mail.merrymeet.com ([127.0.0.1]) by localhost (merrymeet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nzvSIVDZl+-s; Fri, 8 Apr 2016 21:07:34 -0700 (PDT)
Received: from keys.merrymeet.com (keys.merrymeet.com [173.164.244.97]) by mail.merrymeet.com (Postfix) with ESMTPSA id 52D179473DA0; Fri, 8 Apr 2016 21:07:34 -0700 (PDT)
Received: from [10.0.23.7] ([173.164.244.98]) by keys.merrymeet.com (PGP Universal service); Fri, 08 Apr 2016 21:07:34 -0700
X-PGP-Universal: processed; by keys.merrymeet.com on Fri, 08 Apr 2016 21:07:34 -0700
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Jon Callas <jon@callas.org>
In-Reply-To: <87fuuvo4l9.fsf@alice.fifthhorseman.net>
Date: Fri, 08 Apr 2016 21:07:33 -0700
Message-Id: <3E66B089-8D26-42EE-998D-5C2B6340131C@callas.org>
References: <FF8FBD12-70BC-4417-ACFF-085F1044E536@gmail.com> <5CA36ED3-92DB-4E93-A685-89011D0E0B24@callas.org> <0DBED279-2F24-4330-90C9-F79FE4893657@gmail.com> <8F744860-B361-41C2-9AC1-954E42CAFEDF@callas.org> <87fuuvo4l9.fsf@alice.fifthhorseman.net>
To: openpgp@ietf.org
X-Mailer: Apple Mail (2.3124)
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/O-NiSHEPMpukQTUlEQ4UgnssWEM>
Cc: Jon Callas <jon@callas.org>
Subject: Re: [openpgp] Should fingerprints be "key-canonical"?
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 04:07:46 -0000
> On Apr 8, 2016, at 8:15 PM, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote: > > On Thu 2016-04-07 20:33:56 -0300, Jon Callas <jon@callas.org> wrote: >> Yes, because I can tell you that it's *really* useful to be able to >> reuse the key material from alice@example.com for (e.g.) >> jobs@example.com or security, or whatever. I've done it a lot over >> the years. > > What is the utility here, specifically? > > I appreciate making tracking/linkability harder as a goal, but i'm not > conivnced that this achieves that purpose. Let me rewind then. PGP 2 had key-canonical fingerprints. There were issues with them. Nothing particularly horrible, but they we all of the sort of fun and games that you can play with the emergent properties of hash functions. And really, I can't remember them all that well because that was ages ago. PGP 3 and thus OpenPGP threw the creation time in there as a quickie salt. I didn't do it. I don't know the full reasons. I originally thought this was dumb. I got turned around, and believe that salting the hash is a good thing. I know that I have used this property so that I can re-use key material, but it's not the total reason. I can think of a bunch of half-assed things someone can do with key-canonical fingerprints if they are, say, the NSA. Nothing that's an attack, but just stuff. If anything, I think that salting the hash ought to be with more than the timestamp. But really, I'd keep the fingerprint computation the same, just with a more modern algorithm than SHA-1. The problem we're trying to solve is that SHA-1 is old. I like to change only one knob at a time. Most of all, I think that semantic properties like this shouldn't change without a reason. At present, there are uses, questionable as they are, for this, and why break it just because? Right now, we know that for every fingerprint there is a key (modulo hash collisions), but a key can have many fingerprints. Why to we want to change it so that there's one-to-one correspondence between keys and fingerprints? This sounds to me like it's vaguely surveillance-friendly. > > Anyone who has the keys for alice@example.com and jobs@example.com can > tell that these are the same keys, and can just join them in their > linkability/trackability database. > > Furthermore, it introduces additional management problems for Alice; if > she loses control of the secret key material, she now has to ensure that > she's generated a revocation certificate for each "flavor" of it, > because the revocations are bound to the same material that the > fingerprint is bound to. So? The reason to break the binding between key material and a certificate is so that there's no binding. Actually -- this sounds like as much a reason to salt it. There are more reasons to revoke than loss of key material, and this means that revocation is even less useful. Jon
- [openpgp] Should fingerprints be "key-canonical"? Bryan Ford
- Re: [openpgp] Should fingerprints be "key-canonic… Jon Callas
- Re: [openpgp] Should fingerprints be "key-canonic… Bryan Ford
- Re: [openpgp] Should fingerprints be "key-canonic… Jon Callas
- Re: [openpgp] Should fingerprints be "key-canonic… Daniel Kahn Gillmor
- Re: [openpgp] Should fingerprints be "key-canonic… Jon Callas
- Re: [openpgp] Should fingerprints be "key-canonic… Daniel Kahn Gillmor
- Re: [openpgp] Should fingerprints be "key-canonic… KellerFuchs
- Re: [openpgp] Should fingerprints be "key-canonic… Derek Atkins
- Re: [openpgp] Should fingerprints be "key-canonic… KellerFuchs