1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

gpg: Change the way v5 fingerprints are printed.

* g10/gpg.h (MAX_FORMATTED_FINGERPRINT_LEN): Increase by one.
* g10/keyid.c (format_hexfingerprint): Change v5 key formatting.
--

The new format are groups of 5 letters to resemble the CW speed
measurement rules.  Many hams are used to such blocks from their CW
lessons.  Note that there is no double blank in the middle as with the
v4 keys.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2019-11-28 12:02:41 +01:00
parent 7244666926
commit d2ff62dbdf
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
3 changed files with 7 additions and 16 deletions

View file

@ -2059,9 +2059,9 @@ print_fingerprint (ctrl_t ctrl, estream_t override_fp,
{
if (!i)
;
else if (!(i%8))
else if (!(i%10))
tty_fprintf (fp, "\n%*s ", (int)strlen(text)+1, "");
else if (!(i%4))
else if (!(i%5))
tty_fprintf (fp, " ");
else
tty_fprintf (fp, " ");