mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Store key origin info for new DANE and WKD retrieved keys.
* g10/import.c (apply_meta_data): Remove arg 'merge'. Add arg 'url'. Implement WKD and DANE key origin. (import_keys_internal): Add arg 'url' and change all callers. (import_keys_es_stream): Ditto. (import): Ditto. (import_one): Ditto. * g10/keylist.c (list_keyblock_print): Fix update URL printing. * g10/call-dirmngr.c (gpg_dirmngr_wkd_get): Add arg 'r_url' to return the SOURCE. Pass ks_status_cb to assuan_transact. * g10/keyserver.c (keyserver_import_wkd): Get that URL and pass it to the import function. -- Note that this only for new keys. Merging this info will be added soon. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
f6f0dd4d5e
commit
e7068bf92e
7 changed files with 101 additions and 38 deletions
|
@ -1012,9 +1012,9 @@ list_keyblock_print (ctrl_t ctrl, kbnode_t keyblock, int secret, int fpr,
|
|||
key_origin_string (uid->keyorg),
|
||||
mk_datestr (updatestr, sizeof updatestr,
|
||||
uid->keyupdate),
|
||||
pk->updateurl? "url=":"");
|
||||
if (pk->updateurl)
|
||||
print_utf8_string (es_stdout, pk->updateurl);
|
||||
uid->updateurl? "url=":"");
|
||||
if (uid->updateurl)
|
||||
print_utf8_string (es_stdout, uid->updateurl);
|
||||
es_putc ('\n', es_stdout);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue