[svn] GnuPG - r4760 - trunk/g10
svn author wk
cvs at cvs.gnupg.org
Thu May 8 12:10:29 CEST 2008
Author: wk
Date: 2008-05-08 12:10:27 +0200 (Thu, 08 May 2008)
New Revision: 4760
Modified:
trunk/g10/ChangeLog
trunk/g10/sig-check.c
Log:
Print a note for revoked signing keys.
Modified: trunk/g10/ChangeLog
===================================================================
--- trunk/g10/ChangeLog 2008-05-07 18:19:41 UTC (rev 4759)
+++ trunk/g10/ChangeLog 2008-05-08 10:10:27 UTC (rev 4760)
@@ -1,3 +1,8 @@
+2008-05-08 Werner Koch <wk at g10code.com>
+
+ * sig-check.c (do_check_messages): Print a revocation diagnostic
+ in verbose mode.
+
2008-05-07 Werner Koch <wk at g10code.com>
* gpg.c: New command --locate-keys. New options --with-sig-list
Modified: trunk/g10/sig-check.c
===================================================================
--- trunk/g10/sig-check.c 2008-05-07 18:19:41 UTC (rev 4759)
+++ trunk/g10/sig-check.c 2008-05-08 10:10:27 UTC (rev 4760)
@@ -220,8 +220,14 @@
*r_expired = 1;
}
- if(pk->is_revoked && r_revoked)
- *r_revoked=1;
+ if (pk->is_revoked)
+ {
+ if (opt.verbose)
+ log_info (_("NOTE: signature key %s has been revoked\n"),
+ keystr_from_pk(pk));
+ if (r_revoked)
+ *r_revoked=1;
+ }
return 0;
}
More information about the Gnupg-commits
mailing list