1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-10 13:04:23 +01:00

* mainproc.c (proc_tree): Handle multiple detached sigs concatenated

together by warning the user and processing only the first.

* g10.c (main): Comment out --list-trust-path until it can be implemented.
This commit is contained in:
David Shaw 2002-12-11 15:17:10 +00:00
parent 4017bbc683
commit 23b36f4e47
3 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,12 @@
2002-12-11 David Shaw <dshaw@jabberwocky.com>
* mainproc.c (proc_tree): Handle multiple detached sigs
concatenated together by warning the user and processing only the
first.
* g10.c (main): Comment out --list-trust-path until it can be
implemented.
2002-12-05 David Shaw <dshaw@jabberwocky.com>
* keygen.c (ask_algo): Make the Elgamal sign+encrypt warning

View File

@ -478,7 +478,8 @@ static ARGPARSE_OPTS opts[] = {
{ aExportOwnerTrust, "list-ownertrust",0 , "@"}, /* alias */
{ aPrintMDs, "print-mds" , 256, "@"}, /* old */
{ aListTrustDB, "list-trustdb",0 , "@"},
{ aListTrustPath, "list-trust-path",0, "@"},
/* Not yet used */
/* { aListTrustPath, "list-trust-path",0, "@"}, */
{ aPipeMode, "pipemode", 0, "@" },
{ oKOption, NULL, 0, "@"},
{ oPasswdFD, "passphrase-fd",1, "@" },

View File

@ -1581,6 +1581,10 @@ proc_tree( CTX c, KBNODE node )
else if( node->pkt->pkttype == PKT_SIGNATURE ) {
PKT_signature *sig = node->pkt->pkt.signature;
if(find_next_kbnode(node, PKT_SIGNATURE))
log_info(_("WARNING: multiple signatures detected. "
"Only the first will be checked.\n"));
if( sig->sig_class != 0x00 && sig->sig_class != 0x01 )
log_info(_("standalone signature of class 0x%02x\n"),
sig->sig_class);
@ -1641,8 +1645,7 @@ proc_tree( CTX c, KBNODE node )
else if (!opt.quiet)
log_info(_("old style (PGP 2.x) signature\n"));
for( n1 = node; n1; (n1 = find_next_kbnode(n1, PKT_SIGNATURE )) )
check_sig_and_print( c, n1 );
check_sig_and_print( c, node );
}
else {
dump_kbnode (c->list);