From 8329b828b015d86156c90617f78269b23041cda6 Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Tue, 4 Aug 2015 17:52:38 -0400 Subject: [PATCH] always complain about missing signature --- edward | 2 +- tests/flatten-4.out | 2 ++ tests/flatten-5.out | 2 ++ tests/flatten-6.out | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) 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 -- 2.25.1