- Correct signature indexing error introduced in 1.0.0 that prevents

verification of multiple signatures in a single message
This commit is contained in:
Scott Kitterman
2020-01-15 11:03:07 -05:00
parent dc2f7f07f2
commit 443aed143a
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -1,3 +1,7 @@
Version 1.1
- Correct signature indexing error introduced in 1.0.0 that prevents
verification of multiple signatures in a single message
2019-12-31 Version 1.0.2
- dknewkey: On posix operating systems set file permissions to 600 for
ed25519 private key files (as is already done for RSA) (LP: #1857827)
+1 -1
View File
@@ -934,7 +934,7 @@ class DKIM(DomainSigner):
#: @return: True if signature verifies or False otherwise
#: @raise DKIMException: when the message, signature, or key are badly formed
def verify(self,idx=0,dnsfunc=get_txt):
sig, include_headers, sigheaders = self.verify_headerprep(idx=0)
sig, include_headers, sigheaders = self.verify_headerprep(idx)
return self.verify_sig(sig, include_headers, sigheaders[idx], dnsfunc)