mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-13 22:21:09 +02: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:
parent
4017bbc683
commit
23b36f4e47
@ -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>
|
2002-12-05 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* keygen.c (ask_algo): Make the Elgamal sign+encrypt warning
|
* keygen.c (ask_algo): Make the Elgamal sign+encrypt warning
|
||||||
|
@ -478,7 +478,8 @@ static ARGPARSE_OPTS opts[] = {
|
|||||||
{ aExportOwnerTrust, "list-ownertrust",0 , "@"}, /* alias */
|
{ aExportOwnerTrust, "list-ownertrust",0 , "@"}, /* alias */
|
||||||
{ aPrintMDs, "print-mds" , 256, "@"}, /* old */
|
{ aPrintMDs, "print-mds" , 256, "@"}, /* old */
|
||||||
{ aListTrustDB, "list-trustdb",0 , "@"},
|
{ aListTrustDB, "list-trustdb",0 , "@"},
|
||||||
{ aListTrustPath, "list-trust-path",0, "@"},
|
/* Not yet used */
|
||||||
|
/* { aListTrustPath, "list-trust-path",0, "@"}, */
|
||||||
{ aPipeMode, "pipemode", 0, "@" },
|
{ aPipeMode, "pipemode", 0, "@" },
|
||||||
{ oKOption, NULL, 0, "@"},
|
{ oKOption, NULL, 0, "@"},
|
||||||
{ oPasswdFD, "passphrase-fd",1, "@" },
|
{ oPasswdFD, "passphrase-fd",1, "@" },
|
||||||
|
@ -1581,6 +1581,10 @@ proc_tree( CTX c, KBNODE node )
|
|||||||
else if( node->pkt->pkttype == PKT_SIGNATURE ) {
|
else if( node->pkt->pkttype == PKT_SIGNATURE ) {
|
||||||
PKT_signature *sig = node->pkt->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 )
|
if( sig->sig_class != 0x00 && sig->sig_class != 0x01 )
|
||||||
log_info(_("standalone signature of class 0x%02x\n"),
|
log_info(_("standalone signature of class 0x%02x\n"),
|
||||||
sig->sig_class);
|
sig->sig_class);
|
||||||
@ -1641,8 +1645,7 @@ proc_tree( CTX c, KBNODE node )
|
|||||||
else if (!opt.quiet)
|
else if (!opt.quiet)
|
||||||
log_info(_("old style (PGP 2.x) signature\n"));
|
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, node );
|
||||||
check_sig_and_print( c, n1 );
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
dump_kbnode (c->list);
|
dump_kbnode (c->list);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user