* options.h, g10.c (main): Add a more flexible --keyid-format option to
authorDavid Shaw <dshaw@jabberwocky.com>
Wed, 3 Mar 2004 05:47:51 +0000 (05:47 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Wed, 3 Mar 2004 05:47:51 +0000 (05:47 +0000)
commit2d7fe1d3a1eaaf77957a6726280136a6dd02691b
tree73be1a1760719399e4766a94a01c4dc05b47fe0d
parentc57262fd5743b96f54e930f9dec57efbe0c53b69
* options.h, g10.c (main): Add a more flexible --keyid-format option to
replace the list-option (and eventually verify-option) show-long-keyids.
The format can be short, long, 0xshort, and 0xlong.

* keydb.h, keyid.c (keystr, keystrlen): New functions to generate a
printable keyid.

* keyedit.c (print_and_check_one_sig, show_key_with_all_names), keylist.c
(list_keyblock_print): Use new keystr() function here to print keyids.
g10/ChangeLog
g10/g10.c
g10/keydb.h
g10/keyedit.c
g10/keyid.c
g10/keylist.c
g10/options.h