From: Andrew Engelbrecht Date: Tue, 4 Aug 2015 21:52:38 +0000 (-0400) Subject: always complain about missing signature X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8329b828b015d86156c90617f78269b23041cda6;p=edward.git always complain about missing signature --- diff --git a/edward b/edward index 509fd95..797fc92 100755 --- a/edward +++ b/edward @@ -928,7 +928,7 @@ def write_reply (replyinfo_obj): reply_plain += "\n\n" reply_plain += replyinfo_obj.replies['sig_success'] - elif replyinfo_obj.sig_failure == True: + else: reply_plain += "\n\n" reply_plain += replyinfo_obj.replies['sig_failure'] diff --git a/tests/flatten-4.out b/tests/flatten-4.out index eec4110..ec68436 100644 --- a/tests/flatten-4.out +++ b/tests/flatten-4.out @@ -1,5 +1,7 @@ +Your signature could not be verified. + I'm sorry, I was not able to find your public key. Did you remember to attach it? - Edward, the friendly GnuPG bot diff --git a/tests/flatten-5.out b/tests/flatten-5.out index e95ca68..caecd47 100644 --- a/tests/flatten-5.out +++ b/tests/flatten-5.out @@ -1,5 +1,7 @@ I'm sorry, I was not able to decrypt your message. Are you sure you encrypted it with my public key? +Your signature could not be verified. + I'm sorry, I was not able to find your public key. Did you remember to attach it? - Edward, the friendly GnuPG bot diff --git a/tests/flatten-6.out b/tests/flatten-6.out index eec4110..ec68436 100644 --- a/tests/flatten-6.out +++ b/tests/flatten-6.out @@ -1,5 +1,7 @@ +Your signature could not be verified. + I'm sorry, I was not able to find your public key. Did you remember to attach it? - Edward, the friendly GnuPG bot