Bob Halley [Tue, 7 Mar 2023 15:20:46 +0000 (07:20 -0800)]
Remove the DSA signature test, as it can fail in certain
OpenSSL 3 with the FIPS 140-3 module, as the module will not
generate keys with a "q" size that is representable in DNSSEC.
Bob Halley [Sat, 25 Feb 2023 19:43:26 +0000 (11:43 -0800)]
Resolver "nameserver" object support. (#897)
* Resolver "nameserver" object support.
This turns the list of nameserver strings in the resolver into a tuple
of nameserver objects, which abstract away making queries to a
nameserver of a given type.
The resolver's legacy nameserver list is "enriched" into a tuple of
nameserver objects whenever it is set. Note that you cannot mutate
the object other than by setting,
e.g. res.nameservers.append("1.2.3.4") will not work.
Error message accumulation has been updated to refer to the
nameservers using a descriptive text form.
dependabot[bot] [Wed, 1 Feb 2023 16:27:14 +0000 (08:27 -0800)]
Update black requirement from ^22.1.0 to ^23.1.0 (#892)
Updates the requirements on [black](https://github.com/psf/black) to permit the latest version.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.1.0...23.1.0)
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Dennis Værum [Wed, 25 Jan 2023 17:06:49 +0000 (18:06 +0100)]
The DS digest_type field is now made a DSDigest instance by the constructor (#890)
Hey @rthalley
I found another place in the code there, you may have gotten "distracted" 😉 as you phrased it in
https://github.com/rthalley/dnspython/issues/888#issuecomment-1402198449
dependabot[bot] [Mon, 2 Jan 2023 16:57:48 +0000 (08:57 -0800)]
Update cryptography requirement from >=2.6,<39.0 to >=2.6,<40.0 (#878)
Updates the requirements on [cryptography](https://github.com/pyca/cryptography) to permit the latest version.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/2.6...39.0.0)
dependabot[bot] [Tue, 20 Dec 2022 14:12:36 +0000 (06:12 -0800)]
Update coverage requirement from ^6.0 to ^7.0 (#874)
Updates the requirements on [coverage](https://github.com/nedbat/coveragepy) to permit the latest version.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/6.0...7.0.0)
dependabot[bot] [Fri, 4 Nov 2022 16:08:34 +0000 (16:08 +0000)]
Update wheel requirement from ^0.37.1 to ^0.38.1
Updates the requirements on [wheel](https://github.com/pypa/wheel) to permit the latest version.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.37.1...0.38.1)
Bob Halley [Fri, 14 Oct 2022 01:10:34 +0000 (18:10 -0700)]
For async send_udp(), return a length and clarify the expiration
is meaningless.
For async receive_udp(), document that the return type is always a
3-tuple, as opposed to being either a pair or a 3-tuple as in the
sync version. (I chose to document rather than change the behavior
as changing it broke dnspython tests and might possibly break other
code.) [#848]
dependabot[bot] [Fri, 7 Oct 2022 16:04:54 +0000 (16:04 +0000)]
Update requests-toolbelt requirement from ^0.9.1 to >=0.9.1,<0.11.0
Updates the requirements on [requests-toolbelt](https://github.com/requests/toolbelt) to permit the latest version.
- [Release notes](https://github.com/requests/toolbelt/releases)
- [Changelog](https://github.com/requests/toolbelt/blob/master/HISTORY.rst)
- [Commits](https://github.com/requests/toolbelt/compare/0.9.1...0.10.0)
Update pytest-cov requirement from ^3.0.0 to ^4.0.0
Updates the requirements on [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v3.0.0...v4.0.0)
Update trio requirement from >=0.14,<0.22 to >=0.14,<0.23
Updates the requirements on [trio](https://github.com/python-trio/trio) to permit the latest version.
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](https://github.com/python-trio/trio/compare/v0.14.0...v0.22.0)
Update cryptography requirement from >=2.6,<38.0 to >=2.6,<39.0
Updates the requirements on [cryptography](https://github.com/pyca/cryptography) to permit the latest version.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/2.6...38.0.1)
Updates the requirements on [wheel](https://github.com/pypa/wheel) to permit the latest version.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.35.0...0.37.1)
corubba [Fri, 5 Aug 2022 12:09:52 +0000 (14:09 +0200)]
Add support for more bases in $GENERATE
When reading a zone from a zonefile, the `$GENERATE` resolution now not
only supports decimal but also octal, hexadecimal and nibbles.
When using nibbles with an even width, the generated index may end with
a dot, and alone is interpreted as a absolute name. This behaviour is
consistent with bind, but may cause these records to be dropped by the
subdomain-check in `zonefile.py:398` (see also the `h.*` labels in the
testcase that are missing from the result).