From: Andrew Engelbrecht Date: Wed, 12 Aug 2015 16:50:20 +0000 (-0400) Subject: search for pub keys in inline signatures X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c230113ef4968a6e06cebd055c9f4f1bc4d4c3c6;p=edward.git search for pub keys in inline signatures these ascii-armored signature blocks are obfuscated until they are decoded. they may contain public keys, so edward now looks inside. --- diff --git a/edward b/edward index 7809b8b..3dd4d5b 100755 --- a/edward +++ b/edward @@ -810,6 +810,10 @@ def prepare_for_reply_sig (piece, replyinfo_obj): if replyinfo_obj.fallback_target_key == None: replyinfo_obj.fallback_target_key = piece.gpg_data.sigs[0] + if (piece.piece_type == TxtType.signature): + # to catch public keys in signature blocks + prepare_for_reply(piece.gpg_data.plainobj, replyinfo_obj) + def flatten_decrypted_payloads (eddymsg_obj, replyinfo_obj, get_signed_part): """For creating a string representation of a signed, encrypted part.