A usability gap in fingerprint rendering and parsing

Jerome Baum jerome at jeromebaum.com
Fri Jan 6 14:18:17 CET 2012

On 2012-01-06 13:41, Werner Koch wrote:
> Note that leading and trailing spaces are allowed but the double space
> in the middle of the fingerprint is required:
>   $ gpg2 -k '  8061 5870 F5BA D690 3336 86D0 F2AD 85AC 1E42 B367   ' 
>   gpg: error reading key: No public key

Is this necessary for a technical reason? I'm just thinking about the
scenario where transmits his human-readable fingerprint in a medium that
collapses repeated spaces (think e.g. HTML).

I know we can say it's their fault (and rightfully so), but I'm just
thinking from a usability standpoint, if there is no security benefit
and it's not a lot of work to add this, it could be useful.

(In fact I think I'd rather see a requirement to not have surrounding
whitespace and instead be less sensitive about inner whitespace.)

But enough nit-picking, the "complaint to code" time was amazing! :)

PGP: A0E4 B2D4 94E6 20EE 85BA E45B 63E4 2BD8 C58C 753A
PGP: 2C23 EBFF DF1A 840D 2351 F5F5 F25B A03F 2152 36DA
No situation is so dire that panic cannot make it worse.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 878 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20120106/8381fc6c/attachment.pgp>

More information about the Gnupg-users mailing list