Re: [openpgp] Fingerprints

Christoph Anton Mitterer <calestyo@scientia.net> Wed, 15 April 2015 20:57 UTC

Return-Path: <calestyo@scientia.net>
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 0CC6A1A8BB5 for <openpgp@ietfa.amsl.com>; Wed, 15 Apr 2015 13:57:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] 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 WFCcLDLi15-c for <openpgp@ietfa.amsl.com>; Wed, 15 Apr 2015 13:57:46 -0700 (PDT)
Received: from mailgw02.dd24.net (mailgw-02.dd24.net [193.46.215.43]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A27DE1A8BB1 for <openpgp@ietf.org>; Wed, 15 Apr 2015 13:57:45 -0700 (PDT)
Received: from mailpolicy-01.live.igb.homer.key-systems.net (mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.27]) by mailgw02.dd24.net (Postfix) with ESMTP id 8219A5FB59 for <openpgp@ietf.org>; Wed, 15 Apr 2015 20:57:44 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at mailpolicy-02.live.igb.homer.key-systems.net
Received: from mailgw02.dd24.net ([192.168.1.36]) by mailpolicy-01.live.igb.homer.key-systems.net (mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.25]) (amavisd-new, port 10236) with ESMTP id tkCkM0wJIcfc for <openpgp@ietf.org>; Wed, 15 Apr 2015 20:57:42 +0000 (UTC)
Received: from heisenberg.fritz.box (ppp-93-104-124-136.dynamic.mnet-online.de [93.104.124.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailgw02.dd24.net (Postfix) with ESMTPSA for <openpgp@ietf.org>; Wed, 15 Apr 2015 20:57:42 +0000 (UTC)
Message-ID: <1429131461.1702.52.camel@scientia.net>
From: Christoph Anton Mitterer <calestyo@scientia.net>
To: "openpgp@ietf.org" <openpgp@ietf.org>
Date: Wed, 15 Apr 2015 22:57:41 +0200
In-Reply-To: <E07D3736-038C-4C97-B96B-77284A5A9B02@jabberwocky.com>
References: <CAMm+LwhbB+-MnGRBCvprgAGOuu+5CJ2rgod7EBGOQR5UNVrspQ@mail.gmail.com> <87y4m0ozlt.fsf@vigenere.g10code.de> <20150415135105.GJ3106@singpolyma-liberty> <FE2717DC-3950-4536-B83D-BD005D2F26A6@callas.org> <1429128262.1702.41.camel@scientia.net> <E07D3736-038C-4C97-B96B-77284A5A9B02@jabberwocky.com>
Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-RsimBgbR83q0CNqQ88Gd"
X-Mailer: Evolution 3.12.9-1+b1
Mime-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/eqX-PrkfEKa3j20WmL2GDmSxrqA>
Subject: Re: [openpgp] Fingerprints
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: <http://www.ietf.org/mail-archive/web/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: Wed, 15 Apr 2015 20:57:47 -0000

On Wed, 2015-04-15 at 16:21 -0400, David Shaw wrote:
> Using a string is fine, but even with numbers, there is no rule that
> the number has to be a single byte.  After enough years and algorithms
> added, it could be "100000:ABCDEF0123..."
But numbers would make problems if we're using the binary representation
of the fingerprint (i.e. not the ASCII/UTF8 version of it).
How should one know where the algo type ends, 0x0 can't be used since it
may be part of the number.
So it can only be done if the algo type is defined to be a (null
terminated) string.

Cheers,
Chris.