From 6d240f6825c7afcc87a0f85e270124736a8206d2 Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Wed, 22 Jul 2015 15:42:03 -0400 Subject: [PATCH] fixed detached signature verification the indentation was wrong. --- edward | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/edward b/edward index aaa52e2..28f3aeb 100755 --- a/edward +++ b/edward @@ -293,12 +293,13 @@ def gpg_on_payloads (eddy_obj, gpgme_ctx, prev_parts=[]): elif piece.piece_type == "detachedsig": for prev in prev_parts: payload_bytes = prev.payload_bytes - sig_fps = verify_detached_signature(piece.string, payload_bytes, gpgme_ctx) + sig_fps = verify_detached_signature(piece.string, payload_bytes, gpgme_ctx) - if sig_fps != []: - piece.gpg_data = GPGData() - piece.gpg_data.sigs = sig_fps - piece.gpg_data.plainobj = prev + if sig_fps != []: + piece.gpg_data = GPGData() + piece.gpg_data.sigs = sig_fps + piece.gpg_data.plainobj = prev + break else: pass -- 2.25.1