1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* options.skel: Use new hkp://subkeys.pgp.net as sample keyserver since

they at least handle subkeys correctly.

* mainproc.c (print_notation_data), parse-packet.c (dump_sig_subpkt,
parse_one_sig_subpkt, can_handle_critical): Add read-only support for
preferred keyserver subpackets.  They're basically policy URLs with a
different name.

* g10.c (main): Add "--set-notation" as alias to "--notation-data" this is
to make things consistent with --set-policy-url meaning both sigs and
certs.
This commit is contained in:
David Shaw 2003-06-04 22:27:05 +00:00
parent c8abff498a
commit a72b1e0a57
5 changed files with 38 additions and 10 deletions

View file

@ -796,6 +796,15 @@ print_notation_data( PKT_signature *sig )
write_status_buffer ( STATUS_POLICY_URL, p, n, 0 );
}
seq=0;
while((p=enum_sig_subpkt(sig->hashed,SIGSUBPKT_PREF_KS,&n,&seq,NULL))) {
log_info(_("Preferred keyserver: ") );
print_string( log_stream(), p, n, 0 );
putc( '\n', log_stream() );
/* TODO: put in a status-fd tag for preferred keyservers */
}
/* Now check whether the key of this signature has some
* notation data */