py-checkdmarc: updated to 5.3.1

5.3.1

Ignore UnicodeDecodeError exceptions when querying for TXT records
5.3.0

Check DNSSEC on MX hostnames
USE DNSSEC when requesting DNSKEY records
5.2.7

Do not require an RRSIG answer when querying for DNSKEY records
On Windows and macOS, querying for a DNSKEY record on proton.ch will return a RRSET and RRSIG. However, running the same query on Debian-based Linux will only return a RRSET
Pass in nameservers and timeout when running get_dnskey recursively
5.2.6

Revert change introduced in 5.2.4 that caused the DNSSEC test to always return True
Test for multiple RDATA types when testing DNSSEC
Properly cache DNSSEC test results
5.2.5

Properly cache DNSKEY answers
5.2.4

Workaround DNSSEC testing bug in Debian for some domains
On Windows, querying for a DNSKEY record on proton.ch will return a RRSET and RRSIG. However, running the same query on Linux will only return a RRSET, but will return a RRSET and RRSIG if another record type is requested, such as A
5.2.3

Fix exception handling for query_mta_sts_record
Fix exception handling for query_smtp_tls_reporting_record
5.2.2

Better exception handling for query_mta_sts_record
More verbose debug logging
5.2.1

Fix bug where TLSA records would not be checked in some cases
Improved debug logging
5.2.0

Check for TLSA records
5.1.0

Add support for parsing SMTP TLS Reporting (RFC8460) DNS records
5.0.2

Fix DNSSEC test
Add missing import dns.dnssec
Always use the actual subdomain or domain provided
5.0.1

Include MTA-STS and BIMI results in CSV output
Renamed include_dmarc_tag_descriptions parameter in checkdmarc.check_domains() to include_tag_descriptions
Added the include_tag_descriptions parameter to checkdmarc.bimi.check_bimi()
Ignore encoding value when checking the Content-Type header during the MTA-STS policy download
Added the exception class MTASTSPolicyDownloadError
Update documentation
5.0.0

Major refactoring: Change from a single module to a package of modules, with each checked standard as its own package
Add support for MTA-STS RFC 8461
Add support for BIMI
Specify a BIMI selector using the --bimi-selector/-b option
Various bug fixes
This commit is contained in:
adam 2024-02-22 13:12:25 +00:00
parent f47a38f925
commit 2f22ebd2dd
3 changed files with 43 additions and 13 deletions

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.4 2023/10/28 19:57:10 wiz Exp $
# $NetBSD: Makefile,v 1.5 2024/02/22 13:12:25 adam Exp $
DISTNAME= checkdmarc-4.4.5
DISTNAME= checkdmarc-5.3.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= mail python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/checkdmarc/}
@ -12,10 +11,11 @@ COMMENT= Python module and command line parser for SPF and DMARC records
LICENSE= apache-2.0
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.8.1:../../devel/py-hatchling
DEPENDS+= ${PYPKGPREFIX}-cryptography>=41.0.7:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-dns>=2.0.0:../../net/py-dns
DEPENDS+= ${PYPKGPREFIX}-expiringdict>=1.1.4:../../devel/py-expiringdict
DEPENDS+= ${PYPKGPREFIX}-pyleri>=1.3.2:../../devel/py-pyleri
DEPENDS+= ${PYPKGPREFIX}-publicsuffix2>=2.20191221:../../www/py-publicsuffix2
DEPENDS+= ${PYPKGPREFIX}-publicsuffixlist>=0.10.0:../../www/py-publicsuffixlist
DEPENDS+= ${PYPKGPREFIX}-requests>=2.25.0:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-timeout-decorator>=0.4.1:../../devel/py-timeout-decorator
@ -23,7 +23,7 @@ USE_LANGUAGES= # none
REPLACE_PYTHON= checkdmarc.py
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-dns
PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} checkdmarc checkdmarc-${PYVERSSUFFIX} || ${TRUE}

View File

@ -1,10 +1,40 @@
@comment $NetBSD: PLIST,v 1.3 2023/10/28 19:57:10 wiz Exp $
@comment $NetBSD: PLIST,v 1.4 2024/02/22 13:12:25 adam Exp $
bin/checkdmarc-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
${PYSITELIB}/checkdmarc.py
${PYSITELIB}/checkdmarc.pyc
${PYSITELIB}/checkdmarc.pyo
${PYSITELIB}/checkdmarc/__init__.py
${PYSITELIB}/checkdmarc/__init__.pyc
${PYSITELIB}/checkdmarc/__init__.pyo
${PYSITELIB}/checkdmarc/_cli.py
${PYSITELIB}/checkdmarc/_cli.pyc
${PYSITELIB}/checkdmarc/_cli.pyo
${PYSITELIB}/checkdmarc/_constants.py
${PYSITELIB}/checkdmarc/_constants.pyc
${PYSITELIB}/checkdmarc/_constants.pyo
${PYSITELIB}/checkdmarc/bimi.py
${PYSITELIB}/checkdmarc/bimi.pyc
${PYSITELIB}/checkdmarc/bimi.pyo
${PYSITELIB}/checkdmarc/dmarc.py
${PYSITELIB}/checkdmarc/dmarc.pyc
${PYSITELIB}/checkdmarc/dmarc.pyo
${PYSITELIB}/checkdmarc/dnssec.py
${PYSITELIB}/checkdmarc/dnssec.pyc
${PYSITELIB}/checkdmarc/dnssec.pyo
${PYSITELIB}/checkdmarc/mta_sts.py
${PYSITELIB}/checkdmarc/mta_sts.pyc
${PYSITELIB}/checkdmarc/mta_sts.pyo
${PYSITELIB}/checkdmarc/smtp.py
${PYSITELIB}/checkdmarc/smtp.pyc
${PYSITELIB}/checkdmarc/smtp.pyo
${PYSITELIB}/checkdmarc/smtp_tls_reporting.py
${PYSITELIB}/checkdmarc/smtp_tls_reporting.pyc
${PYSITELIB}/checkdmarc/smtp_tls_reporting.pyo
${PYSITELIB}/checkdmarc/spf.py
${PYSITELIB}/checkdmarc/spf.pyc
${PYSITELIB}/checkdmarc/spf.pyo
${PYSITELIB}/checkdmarc/utils.py
${PYSITELIB}/checkdmarc/utils.pyc
${PYSITELIB}/checkdmarc/utils.pyo

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.2 2022/11/30 10:38:49 adam Exp $
$NetBSD: distinfo,v 1.3 2024/02/22 13:12:25 adam Exp $
BLAKE2s (checkdmarc-4.4.5.tar.gz) = f0b57e7427b009cda40a9bda8a57ff4842106db5c570094301f3100252fa44a8
SHA512 (checkdmarc-4.4.5.tar.gz) = 8e59d23fa6cffb68c55bda93f93992fc9e954e38b41ea39f4f8a0e8ec80321536dc31afe144636277c6789aa25c4f084f333599a97eb31fa78b4f02290b11cd6
Size (checkdmarc-4.4.5.tar.gz) = 23975 bytes
BLAKE2s (checkdmarc-5.3.1.tar.gz) = 725cddefc6351c0a5ad6bcfe9dcb52f148c2d7794bf8f53e150b0ce0d9cb67b6
SHA512 (checkdmarc-5.3.1.tar.gz) = a9ce97c77d3e3d32f0416d994aec84c47fd7d6c130b32d89c2f176da9d7814ab3fae67fc6324a44aee1fcf5be5cd32d27a8c4d678b6a8c9be5ce3378ce166747
Size (checkdmarc-5.3.1.tar.gz) = 36307 bytes