Hello community, here is the log from the commit of package python-dkimpy for openSUSE:Factory checked in at 2020-12-08 13:24:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dkimpy (Old) and /work/SRC/openSUSE:Factory/.python-dkimpy.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dkimpy" Tue Dec 8 13:24:53 2020 rev:4 rq:853746 version:1.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dkimpy/python-dkimpy.changes 2020-05-28 09:18:05.305072601 +0200 +++ /work/SRC/openSUSE:Factory/.python-dkimpy.new.5913/python-dkimpy.changes 2020-12-08 13:26:02.046771308 +0100 @@ -1,0 +2,9 @@ +Tue Dec 8 07:18:07 UTC 2020 - Jiri Slaby <[email protected]> + +- update to 1.0.5 + - Update dnsplug for DNS Python (dns) 2.0 compatibility (LP: #1888583) + - Fix @param srv_id typos (LP: #1890532) + - Correct dkim.verify processing to avoid errors when verifying messages + with no DKIM signatures + +------------------------------------------------------------------- Old: ---- dkimpy-1.0.3.tar.gz New: ---- dkimpy-1.0.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dkimpy.spec ++++++ --- /var/tmp/diff_new_pack.ODrIYS/_old 2020-12-08 13:26:02.678772247 +0100 +++ /var/tmp/diff_new_pack.ODrIYS/_new 2020-12-08 13:26:02.682772253 +0100 @@ -20,7 +20,7 @@ %define commands arcsign arcverify dkimsign dkimverify dknewkey %define skip_python2 1 Name: python-dkimpy -Version: 1.0.3 +Version: 1.0.5 Release: 0 Summary: DKIM (DomainKeys Identified Mail) License: BSD-2-Clause ++++++ dkimpy-1.0.3.tar.gz -> dkimpy-1.0.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dkimpy-1.0.3/ChangeLog new/dkimpy-1.0.5/ChangeLog --- old/dkimpy-1.0.3/ChangeLog 2020-01-15 17:04:31.000000000 +0100 +++ new/dkimpy-1.0.5/ChangeLog 2020-08-09 04:34:58.000000000 +0200 @@ -1,3 +1,11 @@ +2020-08-08 Version 1.0.5 + - Update dnsplug for DNS Python (dns) 2.0 compatibility (LP: #1888583) + - Fix @param srv_id typos (LP: #1890532) + +2020-04-06 Version 1.0.4 + - Correct dkim.verify processing to avoid errors when verifying messages + with no DKIM signatures + 2020-01-15 Version 1.0.3 - Correct signature indexing error introduced in 1.0.0 that prevents verification of multiple signatures in a single message diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dkimpy-1.0.3/PKG-INFO new/dkimpy-1.0.5/PKG-INFO --- old/dkimpy-1.0.3/PKG-INFO 2020-01-15 17:07:50.000000000 +0100 +++ new/dkimpy-1.0.5/PKG-INFO 2020-08-09 04:35:02.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: dkimpy -Version: 1.0.3 +Version: 1.0.5 Summary: DKIM (DomainKeys Identified Mail), ARC (Authenticated Receive Chain), and TLSRPT (TLS Report) email signing and verification Home-page: https://launchpad.net/dkimpy Author: Scott Kitterman @@ -21,7 +21,7 @@ # VERSION - This is dkimpy 1.0.3. + This is dkimpy 1.0.5. # REQUIREMENTS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dkimpy-1.0.3/README.md new/dkimpy-1.0.5/README.md --- old/dkimpy-1.0.3/README.md 2020-01-15 17:05:09.000000000 +0100 +++ new/dkimpy-1.0.5/README.md 2020-08-08 23:04:57.000000000 +0200 @@ -13,7 +13,7 @@ # VERSION -This is dkimpy 1.0.3. +This is dkimpy 1.0.5. # REQUIREMENTS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dkimpy-1.0.3/dkim/__init__.py new/dkimpy-1.0.5/dkim/__init__.py --- old/dkimpy-1.0.3/dkim/__init__.py 2020-01-15 17:03:55.000000000 +0100 +++ new/dkimpy-1.0.5/dkim/__init__.py 2020-08-08 23:05:10.000000000 +0200 @@ -934,8 +934,11 @@ #: @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) - return self.verify_sig(sig, include_headers, sigheaders[idx], dnsfunc) + prep = self.verify_headerprep(idx) + if prep: + sig, include_headers, sigheaders = prep + return self.verify_sig(sig, include_headers, sigheaders[idx], dnsfunc) + return False # No signature #: Hold messages and options during ARC signing and verification. @@ -993,7 +996,7 @@ #: @param selector: the DKIM selector value for the signature #: @param domain: the DKIM domain value for the signature #: @param privkey: a PKCS#1 private key in base64-encoded text form - #: @param srv_id: an srv_id for identitfying AR headers to sign & extract cv from + #: @param srv_id: a srv_id for identifying AR headers to sign & extract cv from #: @param include_headers: a list of strings indicating which headers #: are to be signed (default rfc4871 recommended headers) #: @return: list of ARC set header fields diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dkimpy-1.0.3/dkim/dnsplug.py new/dkimpy-1.0.5/dkim/dnsplug.py --- old/dkimpy-1.0.3/dkim/dnsplug.py 2020-01-01 17:03:29.000000000 +0100 +++ new/dkimpy-1.0.5/dkim/dnsplug.py 2020-08-08 22:55:43.000000000 +0200 @@ -31,7 +31,7 @@ a = dns.resolver.query(name, dns.rdatatype.TXT,raise_on_no_answer=False, lifetime=timeout) for r in a.response.answer: if r.rdtype == dns.rdatatype.TXT: - return b"".join(r.items[0].strings) + return b"".join(list(r.items)[0].strings) except dns.resolver.NXDOMAIN: pass return None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dkimpy-1.0.3/dkim/tests/test_dkim.py new/dkimpy-1.0.5/dkim/tests/test_dkim.py --- old/dkimpy-1.0.3/dkim/tests/test_dkim.py 2020-01-01 17:03:29.000000000 +0100 +++ new/dkimpy-1.0.5/dkim/tests/test_dkim.py 2020-08-08 23:04:57.000000000 +0200 @@ -206,6 +206,11 @@ res = dkim.verify(sig + self.message, dnsfunc=self.dnsfunc) self.assertTrue(res) + def test_verifies_nosig(self): + # A message without signature does not verify. + res = dkim.verify(self.message, dnsfunc=self.dnsfunc) + self.assertFalse(res) + def test_double_verifies(self): # A message also containing a ed25519 signature verifies after being signed with rsa. for header_algo in (b"simple", b"relaxed"): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dkimpy-1.0.3/dkimpy.egg-info/PKG-INFO new/dkimpy-1.0.5/dkimpy.egg-info/PKG-INFO --- old/dkimpy-1.0.3/dkimpy.egg-info/PKG-INFO 2020-01-15 17:07:50.000000000 +0100 +++ new/dkimpy-1.0.5/dkimpy.egg-info/PKG-INFO 2020-08-09 04:35:02.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: dkimpy -Version: 1.0.3 +Version: 1.0.5 Summary: DKIM (DomainKeys Identified Mail), ARC (Authenticated Receive Chain), and TLSRPT (TLS Report) email signing and verification Home-page: https://launchpad.net/dkimpy Author: Scott Kitterman @@ -21,7 +21,7 @@ # VERSION - This is dkimpy 1.0.3. + This is dkimpy 1.0.5. # REQUIREMENTS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dkimpy-1.0.3/dkimpy.egg-info/requires.txt new/dkimpy-1.0.5/dkimpy.egg-info/requires.txt --- old/dkimpy-1.0.3/dkimpy.egg-info/requires.txt 2020-01-15 17:07:50.000000000 +0100 +++ new/dkimpy-1.0.5/dkimpy.egg-info/requires.txt 2020-08-09 04:35:02.000000000 +0200 @@ -1,4 +1,4 @@ -Py3DNS +dnspython>=1.16.0 [ARC] authres diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dkimpy-1.0.3/setup.py new/dkimpy-1.0.5/setup.py --- old/dkimpy-1.0.3/setup.py 2020-01-15 17:04:42.000000000 +0100 +++ new/dkimpy-1.0.5/setup.py 2020-08-08 23:04:57.000000000 +0200 @@ -25,7 +25,7 @@ import os import sys -version = "1.0.3" +version = "1.0.5" kw = {} # Work-around for lack of 'or' requires in setuptools. try: _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
