]>
git.ipfire.org Git - thirdparty/dnspython.git/log
Bob Halley [Tue, 6 Aug 2024 21:46:49 +0000 (14:46 -0700)]
Do not allow an empty list in TXT record wire format or by invoking the constructor. (#1118)
[#1117]
Bob Halley [Thu, 1 Aug 2024 19:11:08 +0000 (12:11 -0700)]
add RFC 7871
Bob Halley [Thu, 1 Aug 2024 12:24:07 +0000 (05:24 -0700)]
ignore some uninteresting coverage gaps
Bob Halley [Thu, 1 Aug 2024 12:05:53 +0000 (05:05 -0700)]
disable codecov
Bob Halley [Wed, 31 Jul 2024 12:27:48 +0000 (05:27 -0700)]
Deal with windows registry delimiters more comprehensively. (#1113)
Windows has used both " " and "," as a list item delimiter, and
issues [#1010] and [#1112] have also show that both can happen,
possibly due to updates, e.g. "a, b". We now just convert "," to
" " and split().
Bob Halley [Sun, 28 Jul 2024 20:11:08 +0000 (13:11 -0700)]
Initial update of whatsnew for 2.7.0.
Bob Halley [Wed, 24 Jul 2024 22:00:03 +0000 (15:00 -0700)]
Use uv with hatch if available.
Bob Halley [Wed, 24 Jul 2024 18:29:07 +0000 (11:29 -0700)]
ReportChannel EDNS option support. (#1111)
Bob Halley [Wed, 24 Jul 2024 02:04:57 +0000 (19:04 -0700)]
run ruff in the CI
Bob Halley [Wed, 24 Jul 2024 02:00:31 +0000 (19:00 -0700)]
I do not want the SIM linting.
Bob Halley [Wed, 24 Jul 2024 01:55:56 +0000 (18:55 -0700)]
More mostly automated (but reviewed!) f-string conversions.
Bob Halley [Wed, 24 Jul 2024 01:45:32 +0000 (18:45 -0700)]
automated format to f-string conversion + black
Bob Halley [Wed, 24 Jul 2024 01:36:35 +0000 (18:36 -0700)]
cryptography>=43 is now required to use cryptography
Bob Halley [Wed, 24 Jul 2024 01:35:39 +0000 (18:35 -0700)]
Fix miscellaneous lint from increased ruff settings.
Jakob Schlyter [Wed, 24 Jul 2024 00:58:13 +0000 (02:58 +0200)]
Add support for deterministic signatures (#1104)
Add support for deterministic signatures and make them by default for ECDSA.
Jakob Schlyter [Tue, 23 Jul 2024 12:55:51 +0000 (14:55 +0200)]
ensure we have a zone origin (#1105)
Jakob Schlyter [Tue, 23 Jul 2024 12:46:18 +0000 (14:46 +0200)]
reformat examples (#1107)
Peter Thomassen [Sun, 21 Jul 2024 19:29:48 +0000 (21:29 +0200)]
Fix typo in message-edns.rst (#1102)
Bob Halley [Tue, 9 Jul 2024 14:11:42 +0000 (07:11 -0700)]
Fix the have_quic computation for test_doq
The have_quic determination broke when we switched to the
improved nanonameserver, and if aioquic was not installed then
the test_doq tests would fail instead of being skipped. We now
skip again in this situation.
Timothy Pillow [Tue, 9 Jul 2024 01:24:26 +0000 (03:24 +0200)]
fix doco typo in resolver-class.rst
Bob Halley [Wed, 3 Jul 2024 17:25:21 +0000 (10:25 -0700)]
Add WALLET rdatatype support. (#1098)
Bob Halley [Thu, 27 Jun 2024 20:29:31 +0000 (13:29 -0700)]
Add dns.rdata.load_all_types(). (#1095)
Brian Wellington [Wed, 5 Jun 2024 22:49:28 +0000 (15:49 -0700)]
More error checking in feature detection (#1088)
importlib.metadata.version() can return None in some cases, even though
it's not documented as doing so. Treat that as an error.
Bob Halley [Fri, 3 May 2024 19:30:53 +0000 (12:30 -0700)]
regenerate TLS test certs
Bob Halley [Fri, 19 Apr 2024 19:47:09 +0000 (12:47 -0700)]
loosen sphinx requirement
dependabot[bot] [Thu, 18 Apr 2024 17:17:38 +0000 (10:17 -0700)]
Bump sphinx from 7.3.5 to 7.3.6 (#1079)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 7.3.5 to 7.3.6.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.3.5...v7.3.6)
---
updated-dependencies:
- dependency-name: sphinx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Wed, 17 Apr 2024 20:58:49 +0000 (13:58 -0700)]
Bump sphinx from 7.2.6 to 7.3.5 (#1078)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 7.2.6 to 7.3.5.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.2.6...v7.3.5)
---
updated-dependencies:
- dependency-name: sphinx
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bob Halley [Wed, 17 Apr 2024 13:17:29 +0000 (06:17 -0700)]
Set the minimum version of idna to 3.7.
Earlier versions have a potential DoS issue.
Bob Halley [Sat, 13 Apr 2024 17:33:03 +0000 (10:33 -0700)]
do not use : in cookie EDNS text output
Bob Halley [Sat, 13 Apr 2024 16:29:30 +0000 (09:29 -0700)]
add sphinx-rtd-theme to dev dependencies
Bob Halley [Sat, 13 Apr 2024 16:26:31 +0000 (09:26 -0700)]
Add EDNS Cookie option.
Brian Wellington [Fri, 29 Mar 2024 21:58:50 +0000 (14:58 -0700)]
Adds support for the SVCB/HTTPS ohttp parameter. (#1072)
Bob Halley [Wed, 27 Mar 2024 02:25:14 +0000 (19:25 -0700)]
Make 3.8 happy by removing newer type constructs in tests/doq.py.
Bob Halley [Wed, 27 Mar 2024 02:08:42 +0000 (19:08 -0700)]
Overhaul nanonameserver, adding DoT, DoH, DoH3, and DoQ support.
Co-authored-by: bwelling@xbill.org
Bob Halley [Mon, 25 Mar 2024 19:44:36 +0000 (12:44 -0700)]
Properly fix asyncio QUIC shutdown races [#1069].
There were two basic issues:
1) We did not wake up the sender thread to do work in some cases, and could
sleep for a long time.
2) asyncio.wait_for() does not instantly run the function, it just schedules
it, and our guards against lost wakeups were thus in the wrong place.
Bob Halley [Sat, 23 Mar 2024 12:42:20 +0000 (05:42 -0700)]
Fix more races around long waits.
Brian Wellington [Thu, 21 Mar 2024 12:20:46 +0000 (05:20 -0700)]
Replace h3 parameter with http_version. (#1068)
This allows more flexibility; clients can specify which http version
they want, or use the default.
Brian Wellington [Wed, 20 Mar 2024 19:25:13 +0000 (12:25 -0700)]
Fix DoH3 queries sent to a literal address. (#1067)
* Fix DoH3 queries sent to a literal address.
* Add test for async.
Bob Halley [Tue, 12 Mar 2024 19:51:28 +0000 (12:51 -0700)]
Require aioquic>=1.0.0 [#1032].
Bob Halley [Tue, 12 Mar 2024 13:27:35 +0000 (06:27 -0700)]
We were not calling check_delete_rdataset() in one delete path.
This commit adds comprehensive testing of checks, and also
plugs a few other coverage gaps.
Bob Halley [Mon, 11 Mar 2024 15:32:12 +0000 (08:32 -0700)]
Add a simple tsig example.
Bob Halley [Thu, 7 Mar 2024 13:15:34 +0000 (05:15 -0800)]
Close QUIC sync and trio sockets when done.
Bob Halley [Thu, 7 Mar 2024 13:15:00 +0000 (05:15 -0800)]
black lint
Brian Wellington [Tue, 5 Mar 2024 22:45:59 +0000 (14:45 -0800)]
Add support for saving quic tokens. (#1065)
This caches tokens in the manager, so that they can be used for address
validation in future connections.
Bob Halley [Tue, 5 Mar 2024 13:58:28 +0000 (05:58 -0800)]
Set license to a TOML table to avoid PEP 639 metadata for now.
Bob Halley [Mon, 4 Mar 2024 21:54:06 +0000 (13:54 -0800)]
Update Set docstring [#1063].
Bob Halley [Fri, 1 Mar 2024 13:32:13 +0000 (05:32 -0800)]
more coverage lint
Bob Halley [Fri, 1 Mar 2024 13:03:11 +0000 (05:03 -0800)]
Bump timeout on UDP with fallback.
Bob Halley [Fri, 1 Mar 2024 12:51:43 +0000 (04:51 -0800)]
Bump timeout on UDP with fallback.
Bob Halley [Fri, 1 Mar 2024 12:46:27 +0000 (04:46 -0800)]
Update ruff invocation for ruff 0.3.0.
Bob Halley [Thu, 29 Feb 2024 23:31:28 +0000 (15:31 -0800)]
Fix CI badge.
Bob Halley [Thu, 29 Feb 2024 23:28:49 +0000 (15:28 -0800)]
black lint
Bob Halley [Thu, 29 Feb 2024 23:27:58 +0000 (15:27 -0800)]
Fix some pylint lint for xfr refactor.
Brian Wellington [Thu, 29 Feb 2024 23:19:58 +0000 (15:19 -0800)]
Implement xfr() in terms of inbound_xfr(). (#1062)
This moves the implementation of inbound_xfr() to an internal generator
function, and implements both inbound_xfr() and xfr() using it.
Bob Halley [Sat, 24 Feb 2024 13:33:57 +0000 (05:33 -0800)]
DNS-over-HTTP3 (#1048)
* Implement DNS-over-HTTP3 using aioquic directly.
* Add h3 support for DoHNameserver.
Bob Halley [Fri, 23 Feb 2024 02:33:00 +0000 (18:33 -0800)]
Add RESINFO type.
Thomas Steen Rasmussen [Wed, 21 Feb 2024 13:30:03 +0000 (14:30 +0100)]
add an overridable socket_factory to dns.quic._sync for #1059 (#1060)
Bob Halley [Tue, 20 Feb 2024 22:01:51 +0000 (14:01 -0800)]
Message from_wire() now stores the original wire format, (#1057)
and to_wire() records its rendered output (minus any length prefix).
Bob Halley [Tue, 20 Feb 2024 22:01:39 +0000 (14:01 -0800)]
Add EDE retrieval helper [#969] and a get_options() helper. (#1056)
Bob Halley [Sun, 18 Feb 2024 18:42:51 +0000 (10:42 -0800)]
sync whatsnew with 2.6.1 release
Bob Halley [Sun, 18 Feb 2024 18:27:43 +0000 (10:27 -0800)]
The Tudoor fix should not eat valid Truncated exceptions [#1053] (#1054)
* The Tudoor fix should not eat valid Truncated exceptions [##1053]
* Make logic more readable
Bob Halley [Sat, 17 Feb 2024 14:57:40 +0000 (06:57 -0800)]
update for branch renaming
Bob Halley [Fri, 16 Feb 2024 16:46:24 +0000 (08:46 -0800)]
Further improve CVE fix coverage to 100% for sync and async.
Bob Halley [Fri, 16 Feb 2024 15:14:49 +0000 (07:14 -0800)]
test IgnoreErrors
Bob Halley [Fri, 16 Feb 2024 13:47:35 +0000 (05:47 -0800)]
For the Tudoor fix, we also need the UDP nameserver to ignore_unexpected.
Brian Wellington [Mon, 12 Feb 2024 23:12:25 +0000 (15:12 -0800)]
Remove customizable selectors. (#1046)
The customization predates the selectors now, and presumably was
present to work around something broken long ago. Any such logic should
be in the selectors module, and if there is some platform for which
selectors.DefaultSelector doesn't work, that can be overridden.
Bob Halley [Mon, 12 Feb 2024 18:40:49 +0000 (10:40 -0800)]
update pull request template
Bob Halley [Fri, 9 Feb 2024 22:14:29 +0000 (14:14 -0800)]
Create CODE_OF_CONDUCT.md
Bob Halley [Fri, 9 Feb 2024 22:12:59 +0000 (14:12 -0800)]
github contributing and pull request template
Bob Halley [Fri, 9 Feb 2024 21:54:37 +0000 (13:54 -0800)]
The DoHNameserver now supports using GET instead of POST
if desired, and passes source and source_port to the
underlying query methods.
Bob Halley [Fri, 9 Feb 2024 21:45:58 +0000 (13:45 -0800)]
2.6.0 prep
Bob Halley [Fri, 9 Feb 2024 21:38:24 +0000 (13:38 -0800)]
minor (but pervasive!) black 2024 stable style changes
Bob Halley [Fri, 9 Feb 2024 21:36:44 +0000 (13:36 -0800)]
lint
Bob Halley [Fri, 9 Feb 2024 21:27:52 +0000 (13:27 -0800)]
update for 2.6.0
Bob Halley [Fri, 9 Feb 2024 19:22:52 +0000 (11:22 -0800)]
Address DoS via the Tudoor mechanism (CVE-2023-29483) (#1044)
Bob Halley [Fri, 9 Feb 2024 19:15:03 +0000 (11:15 -0800)]
update for 2.6.0
Bob Halley [Fri, 9 Feb 2024 13:09:31 +0000 (05:09 -0800)]
dns.dnssecalgs.base is safe to import without cryptography,
and should be imported! [#1043]
Brian Wellington [Fri, 9 Feb 2024 02:02:39 +0000 (18:02 -0800)]
Include the text description of an EDE. (#1042)
* Include the text description of an EDE.
For known EDEs, add the description of the code in the output.
* Update test.
Bob Halley [Fri, 9 Feb 2024 02:01:41 +0000 (18:01 -0800)]
Test for recent-enough versions of optional packages. (#1041)
Bob Halley [Wed, 7 Feb 2024 00:08:01 +0000 (16:08 -0800)]
Add EDNS NSID option.
Bob Halley [Tue, 6 Feb 2024 15:56:58 +0000 (07:56 -0800)]
add accidentally omitted license field to [project]
Bob Halley [Sun, 4 Feb 2024 21:41:09 +0000 (13:41 -0800)]
The EDNS Option base class should have a NotImplemented to_text().
Bob Halley [Fri, 2 Feb 2024 20:58:18 +0000 (12:58 -0800)]
update ruff config to non-deprecated syntax
Bob Halley [Thu, 1 Feb 2024 20:43:16 +0000 (12:43 -0800)]
switch to codecov-action@v4 take 2
Bob Halley [Thu, 1 Feb 2024 20:42:22 +0000 (12:42 -0800)]
switch to codecov-action@v4
Bob Halley [Sat, 27 Jan 2024 20:38:03 +0000 (12:38 -0800)]
In tests, work around musl libc and docker issues.
Specifically: musl libc's getaddrinfo behavior always returns
a canonical name.
Docker's resolver proxy doesn't do dangling CNAMEs correctly
and also answers NXDOMAIN in some cases where it should say
no error, no data.
Bob Halley [Sat, 27 Jan 2024 13:45:35 +0000 (05:45 -0800)]
Fix elliptic curve test deprecation warning from cryptography 42.
We were passing a curve class as the curve parameter in
testSignatureECDSAP256SHA256 and testSignatureECDSAP384SHA384,
not an instance of the curve class. The official API has
always been to pass an instance, but it tolerated passing a class.
Starting with Cryptogrphy 42, passing a class is deprecated.
Bob Halley [Fri, 26 Jan 2024 01:14:15 +0000 (17:14 -0800)]
update requirements
Bob Halley [Mon, 15 Jan 2024 21:21:07 +0000 (13:21 -0800)]
actions cleanup
dependabot[bot] [Mon, 15 Jan 2024 20:54:43 +0000 (12:54 -0800)]
Bump readthedocs-sphinx-search from 0.3.1 to 0.3.2 (#1033)
Bumps [readthedocs-sphinx-search](https://github.com/readthedocs/readthedocs-sphinx-search) from 0.3.1 to 0.3.2.
- [Changelog](https://github.com/readthedocs/readthedocs-sphinx-search/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/readthedocs/readthedocs-sphinx-search/commits/0.3.2)
---
updated-dependencies:
- dependency-name: readthedocs-sphinx-search
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bob Halley [Fri, 12 Jan 2024 22:26:44 +0000 (14:26 -0800)]
bump hatchling minimum version for official 3.12 support
Bob Halley [Sat, 6 Jan 2024 17:18:38 +0000 (09:18 -0800)]
update SECURITY.md supported status
Bob Halley [Sat, 6 Jan 2024 16:24:34 +0000 (08:24 -0800)]
increment development version
Bob Halley [Sat, 6 Jan 2024 16:09:53 +0000 (08:09 -0800)]
GSS-TSIG doco updates
Bob Halley [Thu, 28 Dec 2023 19:19:37 +0000 (11:19 -0800)]
formatting lint
Bob Halley [Thu, 28 Dec 2023 19:12:40 +0000 (11:12 -0800)]
lint
Bob Halley [Tue, 26 Dec 2023 19:13:39 +0000 (11:13 -0800)]
update whatsnew for 2.5.0
Bob Halley [Thu, 28 Dec 2023 18:47:44 +0000 (10:47 -0800)]
Uniform TLS verify argument support. (#1027)
* Uniform TLS verify argument support.
* async TLS should get verify too
Bob Halley [Tue, 26 Dec 2023 19:12:39 +0000 (11:12 -0800)]
Pad if needed when making a response. (#1026)
Bob Halley [Sun, 24 Dec 2023 17:04:24 +0000 (09:04 -0800)]
use self._section_enum in a few places we missed