From 7683fa718767837f8c02dc58e908461175dcf48e Mon Sep 17 00:00:00 2001 From: Scott Kitterman Date: Sun, 4 Mar 2018 13:18:06 -0500 Subject: [PATCH] - Fixed a bug where dkim fail might be reported as pass when verifying multiple signatures and a previous signature had passed --- CHANGES | 2 ++ dkimpy_milter/__init__.py | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGES b/CHANGES index 2d51516..461f266 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,8 @@ requirements - Added information about creating a dedicated user and PID file directory creation to README + - Fixed a bug where dkim fail might be reported as pass when verifying + multiple signatures and a previous signature had passed 0.9.3 2018-03-02 - Fixup csl dataset processing for single item lists diff --git a/dkimpy_milter/__init__.py b/dkimpy_milter/__init__.py index 12f3128..479b269 100644 --- a/dkimpy_milter/__init__.py +++ b/dkimpy_milter/__init__.py @@ -250,6 +250,7 @@ class dkimMilter(Milter.Base): result = 'pass' else: result = 'fail' + res = False self.arresults.append( authres.DKIMAuthenticationResult(result=result, header_i = self.header_i, header_d = self.header_d, header_a = self.header_a,