[Commits] [SCM] claws branch, master, updated. 3.10.1-1-gce5f941
Colin
colin at claws-mail.org
Mon Jun 9 13:27:36 CEST 2014
The branch master of project "claws" (Claws Mail) has been updated
via ce5f9414ad3a45c2ceddf957d82aac13b0167031 (commit)
from 6311f366a2bad262fe722c6f1ef357ecb1cbf40e (commit)
- Log -----------------------------------------------------------------
commit ce5f9414ad3a45c2ceddf957d82aac13b0167031
Author: Colin Leroy <colin at colino.net>
Date: Mon Jun 9 13:27:13 2014 +0200
Make revoked keys explicit
diff --git a/src/plugins/pgpcore/sgpgme.c b/src/plugins/pgpcore/sgpgme.c
index ad52417..cbe6480 100644
--- a/src/plugins/pgpcore/sgpgme.c
+++ b/src/plugins/pgpcore/sgpgme.c
@@ -229,6 +229,9 @@ gchar *sgpgme_sigstat_info_short(gpgme_ctx_t ctx, gpgme_verify_result_t status)
case GPG_ERR_KEY_EXPIRED:
result = g_strdup_printf(_("Expired key from %s."), uname);
break;
+ case GPG_ERR_CERT_REVOKED:
+ result = g_strdup_printf(_("Revoked key from %s."), uname);
+ break;
case GPG_ERR_BAD_SIGNATURE:
result = g_strdup_printf(_("Bad signature from %s."), uname);
break;
@@ -311,6 +314,11 @@ gchar *sgpgme_sigstat_info_full(gpgme_ctx_t ctx, gpgme_verify_result_t status)
_("Expired signature from uid \"%s\" (Validity: %s)\n"),
uid, get_validity_str(user?user->validity:GPGME_VALIDITY_UNKNOWN));
break;
+ case GPG_ERR_CERT_EXPIRED:
+ g_string_append_printf(siginfo,
+ _("Revoked key uid \"%s\"\n"),
+ uid);
+ break;
case GPG_ERR_BAD_SIGNATURE:
g_string_append_printf(siginfo,
_("BAD signature from \"%s\"\n"),
-----------------------------------------------------------------------
Summary of changes:
src/plugins/pgpcore/sgpgme.c | 8 ++++++++
1 file changed, 8 insertions(+)
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list