From 5c40e67609905c8a50c990239f83e83ebf36593f Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Thu, 23 Jul 2015 13:56:48 -0400 Subject: [PATCH] don't check message block for encryption status if it was only an armored signature, then it had its piece_type field changed and this code would not be reached in that case. --- edward | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/edward b/edward index aeead6a..beb17f1 100755 --- a/edward +++ b/edward @@ -361,11 +361,7 @@ def prepare_for_reply_message (piece, replyinfo_obj): replyinfo_obj.failed_decrypt = True return - if piece.gpg_data.decrypted == False: - prepare_for_reply_sig(piece, replyinfo_obj) - return - else: - replyinfo_obj.success_decrypt = True + replyinfo_obj.success_decrypt = True # we already have a key (and a message) if replyinfo_obj.target_key != None: -- 2.25.1