Re: [openpgp] Fingerprints

ianG <iang@iang.org> Tue, 28 April 2015 11:16 UTC

Return-Path: <iang@iang.org>
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 E11D21A886E for <openpgp@ietfa.amsl.com>; Tue, 28 Apr 2015 04:16:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.2
X-Spam-Level:
X-Spam-Status: No, score=-1.2 tagged_above=-999 required=5 tests=[BAYES_50=0.8, GB_I_LETTER=-2] 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 jqPVyeLu9rC1 for <openpgp@ietfa.amsl.com>; Tue, 28 Apr 2015 04:16:11 -0700 (PDT)
Received: from virulha.pair.com (virulha.pair.com [209.68.5.166]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7C3251A885E for <openpgp@ietf.org>; Tue, 28 Apr 2015 04:16:11 -0700 (PDT)
Received: from tormenta.local (iang.org [209.197.106.187]) by virulha.pair.com (Postfix) with ESMTPSA id EB7A16D775; Tue, 28 Apr 2015 07:16:09 -0400 (EDT)
Message-ID: <553F6BF8.2080501@iang.org>
Date: Tue, 28 Apr 2015 12:16:08 +0100
From: ianG <iang@iang.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: openpgp@ietf.org
References: <CAMm+LwhbB+-MnGRBCvprgAGOuu+5CJ2rgod7EBGOQR5UNVrspQ@mail.gmail.com> <87d232lkb6.fsf@alice.fifthhorseman.net>
In-Reply-To: <87d232lkb6.fsf@alice.fifthhorseman.net>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/N_ajG6A5nAb-OI_90XFvx-3KrbI>
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: Tue, 28 Apr 2015 11:16:13 -0000

On 17/04/2015 18:46 pm, Daniel Kahn Gillmor wrote:

>   * human-representable form of the digest: e.g. hex, base32, common
>     hyphenation patterns, etc.  there are legibility/usability factors
>     here that i don't know enough to comment on.




Just on that, I recently went through an exercise where phones get 
introduced to phones.  Once introduced the phones can speak to servers 
directly naming their new friends and get high quality information in 
dense cryptographic form.  Users need not be bothered by the arcania.

But two people meeting for the first time is a bother, especially as 
there are no presentations of cryptographic information in the app at 
all, and we can't rely on the various bluetooth and so forth local 
interactions.

We tried some variants, and in the end, I settled on a 4-letter base26. 
  It is created on one phone (register on server) and typed into the 
other phone (lookup on server).

The base26 alpha was chosen because many phones have tiny keyboards 
which require hitting a meta key to get out to numerics.  This made the 
Base32, hex and other mixed alphanumerics a pain, it about doubled the 
workload and more than doubled the error rate.

A count of 4 characters was settled on because it was enough to provide 
some discrimination but not enough to seriously challenge the users. 
Users found 6 characters to be a bit testy (I include myself in this) 
whereas people felt that if they couldn't handle 4 characters felt they 
could blame themselves for the errors not the system.



iang


ps;  The codes themselves once created are only valid for an hour, 
suitable for a face to face meeting, so there is a lot more space available.

ps2;  4 uppercase letters was also used by the military back in the old 
pencil & paper tactical codes days.  At least my military.