From: Andrew Engelbrecht Date: Wed, 22 Jul 2015 19:42:03 +0000 (-0400) Subject: fixed detached signature verification X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6d240f6825c7afcc87a0f85e270124736a8206d2;p=edward.git fixed detached signature verification the indentation was wrong. --- 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