Hello community, here is the log from the commit of package python-authheaders for openSUSE:Factory checked in at 2020-04-14 15:09:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-authheaders (Old) and /work/SRC/openSUSE:Factory/.python-authheaders.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-authheaders" Tue Apr 14 15:09:59 2020 rev:4 rq:793393 version:0.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-authheaders/python-authheaders.changes 2020-01-24 13:13:10.585481582 +0100 +++ /work/SRC/openSUSE:Factory/.python-authheaders.new.2738/python-authheaders.changes 2020-04-14 16:29:13.912010141 +0200 @@ -1,0 +2,6 @@ +Sun Apr 12 08:49:13 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Update to 0.13.0: + * Switch from the deprecated publicsuffix package to publicsuffix2 + +------------------------------------------------------------------- Old: ---- authheaders-0.12.0.tar.gz New: ---- authheaders-0.13.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-authheaders.spec ++++++ --- /var/tmp/diff_new_pack.gkmR6q/_old 2020-04-14 16:29:14.284010425 +0200 +++ /var/tmp/diff_new_pack.gkmR6q/_new 2020-04-14 16:29:14.284010425 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-authheaders -Version: 0.12.0 +Version: 0.13.0 Release: 0 Summary: A library wrapping email authentication header verification and generation License: MIT @@ -31,13 +31,13 @@ Requires: python-authres >= 1.0.1 Requires: python-dkimpy >= 0.7.1 Requires: python-dnspython -Requires: python-publicsuffix +Requires: python-publicsuffix2 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module authres >= 1.2.0} BuildRequires: %{python_module dkimpy >= 0.7.1} BuildRequires: %{python_module dnspython} -BuildRequires: %{python_module publicsuffix} +BuildRequires: %{python_module publicsuffix2} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages ++++++ authheaders-0.12.0.tar.gz -> authheaders-0.13.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/authheaders-0.12.0/CHANGES new/authheaders-0.13.0/CHANGES --- old/authheaders-0.12.0/CHANGES 2019-09-15 01:48:47.000000000 +0200 +++ new/authheaders-0.13.0/CHANGES 2020-01-25 23:08:01.000000000 +0100 @@ -1,4 +1,17 @@ -UNRELEASED Verion 0.12.0 +2020-01-25 Version 0.13.0 + - Switch from the deprecated publicsuffix package to publicsuffix2 + - Note: PSL unchanged since last update + +2020-01-23 Version 0.12.2 + - Do not pass timestamp value to dkimpy for DKIM signing, only supported for + ARC (update documentation too) (Closes: Github Issue #3) + - Update PSL from upstream + +2019-12-10 Version 0.12.1 + - Adapt tests to work with dkimpy 1.0.0 test dns API changes + - Update PSL from upstream + +2019-09-15 Version 0.12.0 - Implement RFC 7489 Section 6.6.1 multi-valued from processing for DMARC - Implement support for distinct sub-domain policy ('sp' tag) - Include DMARC policy in addition to raw DMARC result in A-R response diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/authheaders-0.12.0/PKG-INFO new/authheaders-0.13.0/PKG-INFO --- old/authheaders-0.12.0/PKG-INFO 2019-09-15 06:20:26.000000000 +0200 +++ new/authheaders-0.13.0/PKG-INFO 2020-01-25 23:08:36.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: authheaders -Version: 0.12.0 +Version: 0.13.0 Summary: A library wrapping email authentication header verification and generation. Home-page: https://github.com/ValiMail/authentication-headers Author: Gene Shuman diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/authheaders-0.12.0/authheaders/__init__.py new/authheaders-0.13.0/authheaders/__init__.py --- old/authheaders-0.12.0/authheaders/__init__.py 2019-09-15 06:12:20.000000000 +0200 +++ new/authheaders-0.13.0/authheaders/__init__.py 2020-01-23 07:26:38.000000000 +0100 @@ -306,7 +306,7 @@ @param identity: (DKIM) the DKIM identity value for the signature (default "@"+domain) @param length: (DKIM) true if the l= tag should be included to indicate body length (default False) @param canonicalize: (DKIM) the canonicalization algorithms to use (default (Relaxed, Relaxed)) - @param timestamp: (for testing) a manual timestamp to use for signature generation + @param timestamp: (for ARC testing) a manual timestamp to use for ARC signature generation @param logger: An optional logger @param standardize: A testing flag for arc to output a standardized header format @return: The DKIM-Message-Signature, or ARC set headers @@ -315,6 +315,6 @@ if sig=="DKIM": return DKIM(msg, logger=logger).sign(selector, domain, privkey, include_headers=sig_headers, - identity=identity, length=length, canonicalize=canonicalize, timestamp=timestamp) + identity=identity, length=length, canonicalize=canonicalize) else: return ARC(msg, logger=logger).sign(selector, domain, privkey, srv_id, include_headers=sig_headers, timestamp=timestamp, standardize=standardize) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/authheaders-0.12.0/authheaders/dmarc_lookup.py new/authheaders-0.13.0/authheaders/dmarc_lookup.py --- old/authheaders-0.12.0/authheaders/dmarc_lookup.py 2019-09-15 01:58:07.000000000 +0200 +++ new/authheaders-0.13.0/authheaders/dmarc_lookup.py 2020-01-25 22:56:43.000000000 +0100 @@ -26,7 +26,11 @@ except ImportError: pass from dns.resolver import (query, NXDOMAIN, NoAnswer, NoNameservers) -from publicsuffix import PublicSuffixList +try: + from publicsuffix2 import PublicSuffixList +except ImportError: + # Fall back to deprecated publicsuffix if publicsuffix2 is not available + from publicsuffix import PublicSuffixList import sys def answer_to_dict(answer): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/authheaders-0.12.0/authheaders/public_suffix_list.txt new/authheaders-0.13.0/authheaders/public_suffix_list.txt --- old/authheaders-0.12.0/authheaders/public_suffix_list.txt 2019-09-15 06:18:59.000000000 +0200 +++ new/authheaders-0.13.0/authheaders/public_suffix_list.txt 2020-01-25 23:07:20.000000000 +0100 @@ -241,7 +241,7 @@ // 3LDs act.edu.au catholic.edu.au -eq.edu.au +// eq.edu.au - Removed at the request of the Queensland Department of Education nsw.edu.au nt.edu.au qld.edu.au @@ -1368,7 +1368,7 @@ gov.it edu.it // Reserved geo-names (regions and provinces): -// http://www.nic.it/sites/default/files/docs/Regulation_assignation_v7.1.pdf +// https://www.nic.it/sites/default/files/archivio/docs/Regulation_assignation_v7.1.pdf // Regions abr.it abruzzo.it @@ -5886,14 +5886,9 @@ in.rs org.rs -// ru : https://cctld.ru/en/domains/domens_ru/reserved/ +// ru : https://cctld.ru/files/pdf/docs/en/rules_ru-rf.pdf +// Submitted by George Georgievsky <[email protected]> ru -ac.ru -edu.ru -gov.ru -int.ru -mil.ru -test.ru // rw : https://www.ricta.org.rw/sites/default/files/resources/registry_registrar_contract_0.pdf rw @@ -6038,15 +6033,28 @@ perso.sn univ.sn -// so : http://www.soregistry.com/ +// so : http://sonic.so/policies/ so com.so +edu.so +gov.so +me.so net.so org.so // sr : https://en.wikipedia.org/wiki/.sr sr +// ss : https://registry.nic.ss/ +// Submitted by registry <[email protected]> +ss +biz.ss +com.ss +edu.ss +gov.ss +net.ss +org.ss + // st : http://www.nic.st/html/policyrules/ st co.st @@ -6789,6 +6797,9 @@ // xn--e1a4c ("eu", Cyrillic) : EU ею +// xn--mgbah1a3hjkrd ("Mauritania", Arabic) : MR +موريتانيا + // xn--node ("ge", Georgian Mkhedruli) : GE გე @@ -6942,7 +6953,8 @@ ак.срб // xn--p1ai ("rf", Russian-Cyrillic) : RU -// http://www.cctld.ru/en/docs/rulesrf.php +// https://cctld.ru/files/pdf/docs/en/rules_ru-rf.pdf +// Submitted by George Georgievsky <[email protected]> рф // xn--wgbl6a ("Qatar", Arabic) : QA @@ -7062,7 +7074,7 @@ // newGTLDs -// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2019-09-10T15:21:14Z +// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2020-01-06T17:33:31Z // This list is auto-generated, don't edit it manually. // aaa : 2015-02-26 American Automobile Association, Inc. aaa @@ -7184,6 +7196,9 @@ // alstom : 2015-07-30 ALSTOM alstom +// amazon : 2019-12-19 Amazon EU S.à r.l. +amazon + // americanexpress : 2015-07-31 American Express Travel Related Services Company, Inc. americanexpress @@ -7283,7 +7298,7 @@ // autos : 2014-01-09 DERAutos, LLC autos -// avianca : 2015-01-08 Aerovias del Continente Americano S.A. Avianca +// avianca : 2015-01-08 Avianca Holdings S.A. avianca // aws : 2015-06-25 Amazon Registry Services, Inc. @@ -7574,9 +7589,6 @@ // cars : 2014-11-13 Cars Registry Limited cars -// cartier : 2014-06-23 Richemont DNS Inc. -cartier - // casa : 2013-11-21 Minds + Machines Group Limited casa @@ -7655,9 +7667,6 @@ // chrome : 2014-07-24 Charleston Road Registry Inc. chrome -// chrysler : 2015-07-30 FCA US LLC. -chrysler - // church : 2014-02-06 Binky Moon, LLC church @@ -7937,9 +7946,6 @@ // doctor : 2016-06-02 Binky Moon, LLC doctor -// dodge : 2015-07-30 FCA US LLC. -dodge - // dog : 2014-12-04 Binky Moon, LLC dog @@ -8045,9 +8051,6 @@ // events : 2013-12-05 Binky Moon, LLC events -// everbank : 2014-05-15 EverBank -everbank - // exchange : 2014-03-06 Binky Moon, LLC exchange @@ -8321,7 +8324,7 @@ // gmbh : 2016-01-29 Binky Moon, LLC gmbh -// gmo : 2014-01-09 GMO Internet Pte. Ltd. +// gmo : 2014-01-09 GMO Internet, Inc. gmo // gmx : 2014-04-24 1&1 Mail & Media GmbH @@ -8732,9 +8735,6 @@ // lacaixa : 2014-01-09 Fundación Bancaria Caixa d’Estalvis i Pensions de Barcelona, “la Caixa” lacaixa -// ladbrokes : 2015-08-06 LADBROKES INTERNATIONAL PLC -ladbrokes - // lamborghini : 2015-06-04 Automobili Lamborghini S.p.A. lamborghini @@ -8747,9 +8747,6 @@ // lancia : 2015-07-31 Fiat Chrysler Automobiles N.V. lancia -// lancome : 2015-07-23 L'Oréal -lancome - // land : 2013-09-10 Binky Moon, LLC land @@ -8801,9 +8798,6 @@ // lgbt : 2014-05-08 Afilias Limited lgbt -// liaison : 2014-10-02 Liaison Technologies, Incorporated -liaison - // lidl : 2014-09-18 Schwarz Domains und Services GmbH & Co. KG lidl @@ -9047,9 +9041,6 @@ // monster : 2015-09-11 XYZ.COM LLC monster -// mopar : 2015-07-30 FCA US LLC. -mopar - // mormon : 2013-12-05 IRI Domain Management, LLC ("Applicant") mormon @@ -9071,9 +9062,6 @@ // movie : 2015-02-05 Binky Moon, LLC movie -// movistar : 2014-10-16 Telefónica S.A. -movistar - // msd : 2015-07-23 MSD Registry Holdings, Inc. msd @@ -9332,9 +9320,6 @@ // physio : 2014-05-01 PhysBiz Pty Ltd physio -// piaget : 2014-10-16 Richemont DNS Inc. -piaget - // pics : 2013-11-14 Uniregistry, Corp. pics @@ -9446,7 +9431,7 @@ // quebec : 2013-12-19 PointQuébec Inc quebec -// quest : 2015-03-26 Quest ION Limited +// quest : 2015-03-26 XYZ.COM LLC quest // qvc : 2015-07-30 QVC, Inc. @@ -9827,6 +9812,9 @@ // soy : 2014-01-23 Charleston Road Registry Inc. soy +// spa : 2019-09-19 Asia Spa and Wellness Promotion Council Limited +spa + // space : 2014-04-03 DotSpace Inc. space @@ -9842,9 +9830,6 @@ // srl : 2015-05-07 InterNetX, Corp srl -// srt : 2015-07-30 FCA US LLC. -srt - // stada : 2014-11-13 STADA Arzneimittel AG stada @@ -9971,9 +9956,6 @@ // technology : 2013-09-13 Binky Moon, LLC technology -// telefonica : 2014-10-16 Telefónica S.A. -telefonica - // temasek : 2014-08-07 Temasek Holdings (Private) Limited temasek @@ -10106,16 +10088,13 @@ // ubs : 2014-12-11 UBS AG ubs -// uconnect : 2015-07-30 FCA US LLC. -uconnect - // unicom : 2015-10-15 China United Network Communications Corporation Limited unicom // university : 2014-03-06 Binky Moon, LLC university -// uno : 2013-09-11 Dot Latin LLC +// uno : 2013-09-11 DotSite Inc. uno // uol : 2014-05-01 UBN INTERNET LTDA. @@ -10229,9 +10208,6 @@ // wanggou : 2014-12-18 Amazon Registry Services, Inc. wanggou -// warman : 2015-06-18 Weir Group IP Limited -warman - // watch : 2013-11-14 Binky Moon, LLC watch @@ -10346,7 +10322,7 @@ // xn--3bst00m : 2013-09-13 Eagle Horizon Limited 集团 -// xn--3ds443g : 2013-09-08 TLD REGISTRY LIMITED +// xn--3ds443g : 2013-09-08 TLD REGISTRY LIMITED OY 在线 // xn--3oq18vl8pn36a : 2015-07-02 Volkswagen (China) Investment Co., Ltd. @@ -10421,10 +10397,13 @@ // xn--cck2b3b : 2015-02-26 Amazon Registry Services, Inc. ストア +// xn--cckwcxetd : 2019-12-19 Amazon EU S.à r.l. +アマゾン + // xn--cg4bki : 2013-09-27 SAMSUNG SDS CO., LTD 삼성 -// xn--czr694b : 2014-01-16 Dot Trademark TLD Holding Company Limited +// xn--czr694b : 2014-01-16 Internet DotTrademark Organisation Limited 商标 // xn--czrs0t : 2013-12-19 Binky Moon, LLC @@ -10451,7 +10430,7 @@ // xn--fhbei : 2015-01-15 VeriSign Sarl كوم -// xn--fiq228c5hs : 2013-09-08 TLD REGISTRY LIMITED +// xn--fiq228c5hs : 2013-09-08 TLD REGISTRY LIMITED OY 中文网 // xn--fiq64b : 2013-10-14 CITIC Group Corporation @@ -10481,7 +10460,7 @@ // xn--i1b6b1a6a2e : 2013-11-14 Public Interest Registry संगठन -// xn--imr513n : 2014-12-11 Dot Trademark TLD Holding Company Limited +// xn--imr513n : 2014-12-11 Internet DotTrademark Organisation Limited 餐厅 // xn--io0a7i : 2013-11-14 China Internet Network Information Center (CNNIC) @@ -10490,6 +10469,9 @@ // xn--j1aef : 2015-01-15 VeriSign Sarl ком +// xn--jlq480n2rg : 2019-12-19 Amazon EU S.à r.l. +亚马逊 + // xn--jlq61u9w7b : 2015-01-08 Nokia Corporation 诺基亚 @@ -10550,7 +10532,7 @@ // xn--nyqy26a : 2014-11-07 Stable Tone Limited 健康 -// xn--otu796d : 2017-08-06 Dot Trademark TLD Holding Company Limited +// xn--otu796d : 2017-08-06 Internet DotTrademark Organisation Limited 招聘 // xn--p1acf : 2013-12-12 Rusnames Limited @@ -10625,7 +10607,7 @@ // yamaxun : 2014-12-18 Amazon Registry Services, Inc. yamaxun -// yandex : 2014-04-10 YANDEX, LLC +// yandex : 2014-04-10 Yandex Europe B.V. yandex // yodobashi : 2014-11-20 YODOBASHI CAMERA CO.,LTD. @@ -10675,6 +10657,12 @@ inf.ua ltd.ua +// Adobe : https://www.adobe.com/ +// Submitted by Ian Boston <[email protected]> +adobeaemcloud.com +adobeaemcloud.net +*.dev.adobeaemcloud.com + // Agnat sp. z o.o. : https://domena.pl // Submitted by Przemyslaw Plewa <[email protected]> beep.pl @@ -10688,6 +10676,10 @@ *.compute.estate *.alces.network +// Altervista: https://www.altervista.org +// Submitted by Carlo Cannas <[email protected]> +altervista.org + // alwaysdata : https://www.alwaysdata.com // Submitted by Cyril <[email protected]> alwaysdata.net @@ -10788,6 +10780,10 @@ s3-website.eu-west-3.amazonaws.com s3-website.us-east-2.amazonaws.com +// Amsterdam Wireless: https://www.amsterdamwireless.nl/ +// Submitted by Imre Jonk <[email protected]> +amsw.nl + // Amune : https://amune.org/ // Submitted by Team Amune <[email protected]> t3l3p0rt.net @@ -10822,12 +10818,6 @@ // Submitted by Vincent Tseng <[email protected]> myasustor.com -// Automattic Inc. : https://automattic.com/ -// Submitted by Alex Concha <[email protected]> -go-vip.co -go-vip.net -wpcomstaging.com - // AVM : https://avm.de // Submitted by Andreas Weise <[email protected]> myfritz.net @@ -11062,6 +11052,15 @@ webhosting.be hosting-cluster.nl +// Coordination Center for TLD RU and XN--P1AI : https://cctld.ru/en/domains/domens_ru/reserved/ +// Submitted by George Georgievsky <[email protected]> +ac.ru +edu.ru +gov.ru +int.ru +mil.ru +test.ru + // COSIMO GmbH : http://www.cosimo.de // Submitted by Rene Marticke <[email protected]> dyn.cosidns.de @@ -11086,6 +11085,14 @@ // Submitted by Jonathan Rudenberg <[email protected]> cupcake.is +// Customer OCI - Oracle Dyn https://cloud.oracle.com/home https://dyn.com/dns/ +// Submitted by Gregory Drake <[email protected]> +// Note: This is intended to also include customer-oci.com due to wildcards implicitly including the current label +*.customer-oci.com +*.oci.customer-oci.com +*.ocp.customer-oci.com +*.ocs.customer-oci.com + // cyon GmbH : https://www.cyon.ch/ // Submitted by Dominic Luechinger <[email protected]> cyon.link @@ -11118,6 +11125,14 @@ *.dapps.earth *.bzz.dapps.earth +// Dark, Inc. : https://darklang.com +// Submitted by Paul Biggar <[email protected]> +builtwithdark.com + +// Datawire, Inc : https://www.datawire.io +// Submitted by Richard Li <[email protected]> +edgestack.me + // Debian : https://www.debian.org/ // Submitted by Peter Palfrader / Debian Sysadmin Team <[email protected]> debian.net @@ -11491,6 +11506,10 @@ // Submitted by Vladimir Dudr <[email protected]> e4.cz +// En root‽ : https://en-root.org +// Submitted by Emmanuel Raviart <[email protected]> +en-root.fr + // Enalean SAS: https://www.enalean.com // Submitted by Thomas Cottier <[email protected]> mytuleap.com @@ -11720,6 +11739,10 @@ flynnhub.com flynnhosting.net +// Frederik Braun https://frederik-braun.com +// Submitted by Frederik Braun <[email protected]> +0e.vc + // Freebox : http://www.freebox.fr // Submitted by Romain Fliedel <[email protected]> freebox-os.com @@ -11753,8 +11776,9 @@ gehirn.ne.jp usercontent.jp -// Gentlent, Limited : https://www.gentlent.com -// Submitted by Tom Klein <[email protected]> +// Gentlent, Inc. : https://www.gentlent.com +// Submitted by Tom Klein <[email protected]> +gentapps.com lab.ms // GitHub, Inc. @@ -11770,6 +11794,10 @@ // Submitted by Mads Hartmann <[email protected]> glitch.me +// GMO Pepabo, Inc. : https://pepabo.com/ +// Submitted by dojineko <[email protected]> +lolipop.io + // GOV.UK Platform as a Service : https://www.cloud.service.gov.uk/ // Submitted by Tom Whitwell <[email protected]> cloudapps.digital @@ -11795,6 +11823,7 @@ web.app *.0emm.com appspot.com +*.r.appspot.com blogspot.ae blogspot.al blogspot.am @@ -11879,6 +11908,10 @@ withgoogle.com withyoutube.com +// Group 53, LLC : https://www.group53.com +// Submitted by Tyler Todd <[email protected]> +awsmppl.com + // Hakaran group: http://hakaran.cz // Submited by Arseniy Sokolov <[email protected]> fin.ci @@ -11928,6 +11961,7 @@ firm.ng gen.ng ltd.ng +ngo.ng ng.school sch.so @@ -12048,6 +12082,10 @@ // Submitted by Roy Keene <[email protected]> knightpoint.systems +// KUROKU LTD : https://kuroku.ltd/ +// Submitted by DisposaBoy <[email protected]> +oya.to + // .KRD : http://nic.krd/data/krd/Registration%20Policy.pdf co.krd edu.krd @@ -12442,6 +12480,10 @@ nom.vc nom.vg +// Observable, Inc. : https://observablehq.com +// Submitted by Mike Bostock <[email protected]> +static.observableusercontent.com + // Octopodal Solutions, LLC. : https://ulterius.io/ // Submitted by Andrew Sampson <[email protected]> cya.gg @@ -12462,6 +12504,10 @@ // Submitted by Yngve Pettersen <[email protected]> operaunite.com +// Oursky Limited : https://skygear.io/ +// Submited by Skygear Developer <[email protected]> +skygearapp.com + // OutSystems // Submitted by Duarte Santos <[email protected]> outsystemscloud.com @@ -12504,6 +12550,10 @@ // Submitted by Steve Leung <[email protected]> mypep.link +// Perspecta : https://perspecta.com/ +// Submitted by Kenneth Van Alstyne <[email protected]> +perspecta.cloud + // Planet-Work : https://www.planet-work.com/ // Submitted by Frédéric VANNIÈRE <[email protected]> on-web.fr @@ -12566,6 +12616,11 @@ // Submitted by Daniel Dent (https://www.danieldent.com/) qa2.com +// QCX +// Submitted by Cassandra Beelen <[email protected]> +qcx.io +*.sys.qcx.io + // QNAP System Inc : https://www.qnap.com // Submitted by Nick Chang <[email protected]> dev-myqnapcloud.com @@ -12588,6 +12643,7 @@ // Rancher Labs, Inc : https://rancher.com // Submitted by Vincent Fiduccia <[email protected]> +*.on-k3s.io *.on-rancher.cloud *.on-rio.io @@ -12641,6 +12697,10 @@ // Submitted by Hanno Böck <[email protected]> schokokeks.net +// Scottish Government: https://www.gov.scot +// Submitted by Martin Ellis <[email protected]> +gov.scot + // Scry Security : http://www.scrysec.com // Submitted by Shante Adam <[email protected]> scrysec.com @@ -12902,6 +12962,10 @@ // Submitted by Nathan van Bakel <[email protected]> voorloper.cloud +// V.UA Domain Administrator : https://domain.v.ua/ +// Submitted by Serhii Rostilo <[email protected]> +v.ua + // Waffle Computer Inc., Ltd. : https://docs.waffleinfo.com // Submitted by Masayuki Note <[email protected]> wafflecell.com diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/authheaders-0.12.0/authheaders/test/test_authentication.py new/authheaders-0.13.0/authheaders/test/test_authentication.py --- old/authheaders-0.12.0/authheaders/test/test_authentication.py 2019-09-15 06:14:22.000000000 +0200 +++ new/authheaders-0.13.0/authheaders/test/test_authentication.py 2019-12-10 22:32:37.000000000 +0100 @@ -50,7 +50,7 @@ self.message7 = read_test_data("test.message_np2") self.key = read_test_data("test.private") - def dnsfunc(self, domain): + def dnsfunc(self, domain, timeout=5): _dns_responses = { 'test._domainkey.example.com.': read_test_data("test.txt"), '20120113._domainkey.gmail.com.': """k=rsa; \ @@ -120,10 +120,17 @@ self.assertEqual(res, "Authentication-Results: example.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=example.com [email protected]") class TestChainValidation(unittest.TestCase): - def setUp(self): - records = {b"dummy._domainkey.example.org.": b"v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkHlOQoBTzWRiGs5V6NpP3idY6Wk08a5qhdR6wy5bdOKb2jLQiY/J16JYi0Qvx/byYzCNb3W91y3FutACDfzwQ/BC/e/8uBsCR+yz1Lxj+PL6lHvqMKrM3rG4hstT5QjvHO9PzoxZyVYLzBfO2EeC3Ip3G+2kryOTIKT+l/K4w3QIDAQAB"} - - self.dnsfunc = records.get + def dnsfuncb(self, domain, timeout=5): + _dns_responses = { + "dummy._domainkey.example.org.": "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkHlOQoBTzWRiGs5V6NpP3idY6Wk08a5qhdR6wy5bdOKb2jLQiY/J16JYi0Qvx/byYzCNb3W91y3FutACDfzwQ/BC/e/8uBsCR+yz1Lxj+PL6lHvqMKrM3rG4hstT5QjvHO9PzoxZyVYLzBfO2EeC3Ip3G+2kryOTIKT+l/K4w3QIDAQAB" + } + try: + if isinstance(domain, bytes): + domain = domain.decode('ascii') + except UnicodeDecodeError: + return None + self.assertTrue(domain in _dns_responses,domain) + return _dns_responses[domain] def test_arc_pass(self): msg = b"""MIME-Version: 1.0 @@ -165,7 +172,7 @@ """ prev = "Authentication-Results: example.com; spf=pass smtp.mailfrom=gmail.com" - res = authenticate_message(msg, "example.com", prev=prev, arc=True, dkim=False, spf=False, dmarc=False, dnsfunc=self.dnsfunc) + res = authenticate_message(msg, "example.com", prev=prev, arc=True, dkim=False, spf=False, dmarc=False, dnsfunc=self.dnsfuncb) self.assertEqual(res, "Authentication-Results: example.com; spf=pass smtp.mailfrom=gmail.com; arc=pass") @@ -209,7 +216,7 @@ """ prev = "Authentication-Results: example.com; spf=pass smtp.mailfrom=gmail.com" - res = authenticate_message(msg, "example.com", prev=prev, arc=True, dkim=False, spf=False, dmarc=False, dnsfunc=self.dnsfunc) + res = authenticate_message(msg, "example.com", prev=prev, arc=True, dkim=False, spf=False, dmarc=False, dnsfunc=self.dnsfuncb) self.assertEqual(res, "Authentication-Results: example.com; spf=pass smtp.mailfrom=gmail.com; arc=fail") class TestSignMessage(unittest.TestCase): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/authheaders-0.12.0/authheaders.egg-info/PKG-INFO new/authheaders-0.13.0/authheaders.egg-info/PKG-INFO --- old/authheaders-0.12.0/authheaders.egg-info/PKG-INFO 2019-09-15 06:20:26.000000000 +0200 +++ new/authheaders-0.13.0/authheaders.egg-info/PKG-INFO 2020-01-25 23:08:36.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: authheaders -Version: 0.12.0 +Version: 0.13.0 Summary: A library wrapping email authentication header verification and generation. Home-page: https://github.com/ValiMail/authentication-headers Author: Gene Shuman diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/authheaders-0.12.0/authheaders.egg-info/requires.txt new/authheaders-0.13.0/authheaders.egg-info/requires.txt --- old/authheaders-0.12.0/authheaders.egg-info/requires.txt 2019-09-15 06:20:26.000000000 +0200 +++ new/authheaders-0.13.0/authheaders.egg-info/requires.txt 2020-01-25 23:08:36.000000000 +0100 @@ -1,4 +1,4 @@ authres>=1.0.1 dkimpy>=0.7.1 dnspython -publicsuffix +publicsuffix2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/authheaders-0.12.0/setup.py new/authheaders-0.13.0/setup.py --- old/authheaders-0.12.0/setup.py 2019-09-15 06:18:21.000000000 +0200 +++ new/authheaders-0.13.0/setup.py 2020-01-25 22:53:58.000000000 +0100 @@ -108,7 +108,7 @@ requires=[ "dkimpy>=0.7.1", "authres>=1.2.0", - "publicsuffix", + "publicsuffix2", "ipaddress", "dnspython" ] @@ -116,7 +116,7 @@ requires=[ "dkimpy>=0.7.1", "authres>=1.0.1", - "publicsuffix", + "publicsuffix2", "dnspython" ] @@ -126,7 +126,7 @@ setup( name = "authheaders", - version = "0.12.0", + version = "0.13.0", author = "Gene Shuman", author_email = "[email protected]", description = ("A library wrapping email authentication header verification and generation."),
