do_to_eddys_pieces(prepare_for_reply_pieces, eddymsg_obj, replyinfo_obj)
- if replyinfo_obj.target_key == None:
- replyinfo_obj.target_key = replyinfo_obj.fallback_target_key
-
- if replyinfo_obj.target_key == None:
- replyinfo_obj.no_public_key = True
-
-
def prepare_for_reply_pieces (eddymsg_obj, replyinfo_obj):
for piece in eddymsg_obj.payload_pieces:
def get_key_from_fp (replyinfo_obj, gpgme_ctx):
+ if replyinfo_obj.target_key == None:
+ replyinfo_obj.target_key = replyinfo_obj.fallback_target_key
+
if replyinfo_obj.target_key != None:
try:
encrypt_to_key = gpgme_ctx.get_key(replyinfo_obj.target_key)