mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Sync print of additional sig data in --edit-key.
* g10/keylist.c (show_policy_url): Implement MODE -1. (show_keyserver_url): Ditto. (show_notation): Ditto. * g10/keyedit.c (print_one_sig): Print policy URL, keyserver URL and notation data to the tty. -- With this change the listing of signatures in the key edit menu does now include policy URLs et al in order and not possible after leaving the menu (it used to go to stdout and not the tty). Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
bae42e5437
commit
766c25018b
2 changed files with 44 additions and 47 deletions
|
@ -281,11 +281,11 @@ print_one_sig (int rc, KBNODE keyblock, KBNODE node,
|
|||
|
||||
if (sig->flags.policy_url
|
||||
&& ((opt.list_options & LIST_SHOW_POLICY_URLS) || extended))
|
||||
show_policy_url (sig, 3, 0);
|
||||
show_policy_url (sig, 3, -1);
|
||||
|
||||
if (sig->flags.notation
|
||||
&& ((opt.list_options & LIST_SHOW_NOTATIONS) || extended))
|
||||
show_notation (sig, 3, 0,
|
||||
show_notation (sig, 3, -1,
|
||||
((opt.
|
||||
list_options & LIST_SHOW_STD_NOTATIONS) ? 1 : 0) +
|
||||
((opt.
|
||||
|
@ -293,7 +293,7 @@ print_one_sig (int rc, KBNODE keyblock, KBNODE node,
|
|||
|
||||
if (sig->flags.pref_ks
|
||||
&& ((opt.list_options & LIST_SHOW_KEYSERVER_URLS) || extended))
|
||||
show_keyserver_url (sig, 3, 0);
|
||||
show_keyserver_url (sig, 3, -1);
|
||||
|
||||
if (extended)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue