1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch b047388d57
gpg: Implement --keyid-format=none.
* g10/gpg.c (main): Add option "none" to --keyid-format.
* g10/options.h (KF_NONE): New.
* g10/keyid.c (format_keyid): Implement that.
(keystr): Use format "long" is KF_NONE is in use.
(keystr_with_sub): Ditto.
* g10/keylist.c (list_keyblock_print): Adjust indentaion for KF_NONE.
Factor some code out to ...
(print_key_line): new.
(print_fingerprint): Add mode 20.
* g10/mainproc.c (list_node): Use print_key_line.  Replace MAINKEY by
flags.primary in the PK.  Fix putting a " revoked..." string into the
colons format.
* g10/pkclist.c (do_edit_ownertrust): Use print_key_line.  This
slightly changes the putput format.
* g10/revoke.c (gen_standard_revoke): Use print_key_line.  This may
also put "expires: " into the output.
--

Due to user experience problems with the keyid and we better allow to
show the fingerprint instead.  Note that we do not support v3 keys
anymore and thus there is no technical need for a user to know the
keyid.

GnuPG-bug-id: 2379
Signed-off-by: Werner Koch <wk@gnupg.org>
2016-06-06 16:03:22 +02:00
..
2016-02-14 14:46:30 +01:00
2014-10-31 14:21:34 +01:00
2007-07-04 19:49:40 +00:00
2016-05-23 15:03:59 +02:00
2014-11-13 12:01:42 +01:00
2015-02-04 09:15:34 +01:00
2016-06-06 16:03:22 +02:00
2015-02-04 09:15:34 +01:00
2016-06-06 16:03:22 +02:00
2016-06-06 16:03:22 +02:00
2016-06-06 16:03:22 +02:00
2016-06-06 16:03:22 +02:00
2016-06-06 16:03:22 +02:00
2016-01-22 10:54:10 +01:00
2016-05-31 15:51:18 +02:00
2016-06-06 16:03:22 +02:00
2016-06-06 16:03:22 +02:00
2008-12-12 08:54:50 +00:00
2016-05-11 19:27:03 +09:00
2016-03-08 14:08:49 +01:00
2016-05-03 11:26:06 +02:00
2016-05-21 20:38:18 +02:00
2014-01-29 17:45:05 +01:00