17
0

Compare commits

12 Commits

Author SHA256 Message Date
3d4c717a2e Accepting request 1288869 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1288869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-checkdmarc?expand=0&rev=8
2025-06-27 21:02:32 +00:00
f3a2ca8177 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-checkdmarc?expand=0&rev=17
2025-06-27 15:07:51 +00:00
f05679d076 Accepting request 1286856 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1286856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-checkdmarc?expand=0&rev=7
2025-06-20 14:49:25 +00:00
cecafbf829 Accepting request 1286653 from home:mnhauke
- Update to version 5.8.6
  * Ignore unhandled critical extensions for mark certificates.

OBS-URL: https://build.opensuse.org/request/show/1286653
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-checkdmarc?expand=0&rev=15
2025-06-19 08:03:56 +00:00
11ce3db92e Accepting request 1278337 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1278337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-checkdmarc?expand=0&rev=6
2025-05-20 07:38:16 +00:00
c0703bbbe3 Accepting request 1278328 from home:glaubitz:branches:devel:languages:python
- Update to version 5.8.2
  * Add SSL.com root VMC CA certificates to `MVCCAs.pem`
  * Replace deprecated `importlib.resources.path` call
    with `importlib.resources.file`
    * Use `importlib-resources` to support older versions of Python
- Update BuildRequires from pyproject.toml
- Use Python 3.11 on SLE-15 by default

OBS-URL: https://build.opensuse.org/request/show/1278328
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-checkdmarc?expand=0&rev=13
2025-05-19 07:49:39 +00:00
f744d5bfa0 Accepting request 1250326 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1250326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-checkdmarc?expand=0&rev=5
2025-03-05 12:41:21 +00:00
0f58ff8b1c Accepting request 1250144 from home:mnhauke
- Update to version 5.8.1
  * Fix incomplete fix for issue #159
- Update to version 5.8.0
  * Support ra=, rp= and rr= tags from RFC 6652.
  * Do not use static answer positions when checking DNSSEC and
    TLSA.
- Update patch:
  * skip-network-tests.patch

OBS-URL: https://build.opensuse.org/request/show/1250144
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-checkdmarc?expand=0&rev=11
2025-03-05 08:41:37 +00:00
11605a645d Accepting request 1223345 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1223345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-checkdmarc?expand=0&rev=4
2024-11-11 13:58:19 +00:00
ad66934638 Accepting request 1223160 from home:mnhauke
- Update to version 5.7.8
  * Move SVG validation errors from ["bimi"]["warnings"] to
    ["bimi"]["image"]["validation_errors"] (#150)
- Update to version 5.7.7
  * Fix VMC validation errors not appearing.
- Update to version 5.7.6
  * Fix crash when trying to output to CSV format
- Update to version 5.7.5
  * Fix BIMI lookup for subdomains that do not have a BIMI record.
- Update to version 5.7.4
  * Add additional checks for tiny-ps SVG requirements
- Update to version 5.7.3
  * BIMI images and mark certificates
    + Better error handling
    + Simplified warning messages
    + sha256_hash output fields renamed to sha256
- Update to version 5.7.2
  * Account for float SVG sizes
- Update to version 5.7.1
  * Properly parse a certificate SAN
  * Certificate warnings fire properly
  * Make the expires timestamp more readable
- Update to version 5.7.0
  * checkdmarc will now validate Verified Mark Certificates (VMCs)
    and Common Mark Certificates (CMC), snd will verify that
    SHA256 hash of the logo embedded in the certificate matches
    the SHA256 hash logo at the URL at the BIMI l tag.
    Additionally, SVG and certificate metadata is now included in
    the checkdmarc.bimi.parse_bimi_record() API and JSON CLI
    output.

OBS-URL: https://build.opensuse.org/request/show/1223160
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-checkdmarc?expand=0&rev=9
2024-11-11 11:34:51 +00:00
f3ed657c65 Accepting request 1206745 from devel:languages:python
- update to 5.5.0:
  * Support `redirect` in SPF

OBS-URL: https://build.opensuse.org/request/show/1206745
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-checkdmarc?expand=0&rev=3
2024-10-10 20:15:06 +00:00
68ddf6d5cd - update to 5.5.0:
* Support `redirect` in SPF

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-checkdmarc?expand=0&rev=7
2024-10-10 15:49:32 +00:00
5 changed files with 10 additions and 75 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2f8961f395205e1db3430066315c48c7362d9948e26c61c13e947f8429906ec
size 70229

3
checkdmarc-5.8.6.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b073182963d64554c9ccc7e592d5a8ff3d126f3635093a5b0cfc3a291d946b7
size 62118

View File

@@ -1,69 +1,3 @@
-------------------------------------------------------------------
Sat Sep 20 08:09:09 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 5.10.12
* Proper checking for the start of an SPF record.
* Improve error messages and fix typos (Close issue #182).
* Remove warning when no MX records are found.
- Update to version 5.10.8
* Return the proper error message when checking an SOA record
for a domain that exist.
- Update to version 5.10.7
* Set use_signals=False when using timeout decorator to allow it
to be used in multithreaded applications such as web
applications.
-------------------------------------------------------------------
Fri Sep 12 18:38:37 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 5.10.6
* Fix BIMI certificate validation error generation.
* Add support for the avp bimi tag.
- Update to version 5.10.5
* Switch from DNS over UDP to DNS over TCP for DNSSEC and TLSA
queries.
- Update to version 5.9.3
* Clarify warnings for DMARC p=none and sp=none.
* Use a different warning if DMARC pct is set to 0.
* Add location to the JSON output for BIMI.
- Update to version 5.9.1
* Fix BIMI record parsing error introduced in 5.9.0.
- Update to version 5.9.0
Bug fixes:
* Remove zero-width characters from domain inputs.
* Add a warning when the DMARC record p or sp value is none.
* Evaluate DMARC when checking BIMI.
* Do lot show a BIMI certificate warning when the l tag is set
to "".
* Include warnings if a domain is using BIMI, but does not have
an enforced DMARC policy.
New features:
* Parsed SPF record details are now provided even if it uses
too many DNS lookups.
API changes:
* Require keyword arguments to be passed as keyword=value pairs
instead of positional arguments.
* Add the option ignore_too_many_lookups to
checkdmarc.spf.parse_spf_record()
+ This option will stop checkdmarc.spf.parse_spf_record() from
rasing exceptions related to too many DNS lookups, in
support of the new feature.
+ False by default to maintain backwards compatibility.
+ checkdmarc.spf.check_spf() uses this functionality to
support the new feature.
- Update to version 5.8.8
* Provide an easier to understand error message when a mark
certificate is not is not issued by a recognized Mark
Verifying Authority (MVA).
* Bug fix: failure to download a BIMI image is noted in the
certificate section instead of the image section.
- Update to version 5.8.7
* fix discrepencies on http_timeout usage.
* Fixing a bug in policy/subdomain policy check for parked
domains.
- Update patch:
* skip-network-tests.patch
-------------------------------------------------------------------
Fri Jun 27 15:07:33 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-checkdmarc
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2021-2025, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-checkdmarc
Version: 5.10.12
Version: 5.8.6
Release: 0
Summary: A Python module and command line parser for SPF and DMARC records
License: Apache-2.0
@@ -63,7 +63,8 @@ BuildRequires: %{python_module xmltodict}
A Python module and command line parser for SPF and DMARC records.
%prep
%autosetup -p1 -n checkdmarc-%{version}
%setup -q -n checkdmarc-%{version}
%autopatch -p1
%build
%pyproject_wheel

View File

@@ -1,9 +1,9 @@
diff --git a/tests.py b/tests.py
index 9cfda48..cdaf4fe 100755
index fd22132..b684ecb 100755
--- a/tests.py
+++ b/tests.py
@@ -296,6 +296,7 @@ class Test(unittest.TestCase):
results["warnings"],
@@ -291,6 +291,7 @@ class Test(unittest.TestCase):
"{0} does not have any MX records".format(domain), results["warnings"]
)
+ @unittest.skipUnless(os.path.exists("/etc/resolv.conf"), "no network")