on signature check, where key exists, print the Key ID
authorPaul Mangan <paul@claws-mail.org>
Sun, 28 Sep 2003 08:49:02 +0000 (08:49 +0000)
committerPaul Mangan <paul@claws-mail.org>
Sun, 28 Sep 2003 08:49:02 +0000 (08:49 +0000)
ChangeLog.claws
configure.ac
src/rfc2015.c

index 907acf0..2b073a1 100644 (file)
@@ -1,3 +1,9 @@
+2003-09-28 [paul]      0.9.5claws35
+
+       * src/rfc2015.c
+               on signature check, where key exists, print the
+               Key ID
+
 2003-09-27 [alfons]    0.9.5claws34
 
        * src/action.c
index 0a59e98..fb1e0d2 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=34
+EXTRA_VERSION=35
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index cb9bc18..3de9201 100644 (file)
@@ -307,7 +307,13 @@ sig_status_full (GpgmeCtx ctx)
                                                   _("Key fingerprint: %s\n"),
                                                   fpr);
                } else {
+                       const char *key_id_str;
+                       
                        sig_status_for_key (str, ctx, status, key, fpr);
+                       key_id_str = gpgme_key_get_string_attr(key, 
+                                               GPGME_ATTR_KEYID, NULL, 0);
+                       key_id_str += 8;
+                       g_string_sprintfa (str, _("Key ID: %s\n"), key_id_str);
                        gpgme_key_unref (key);
                }
                g_string_append (str, "\n\n");