]> git.ipfire.org Git - thirdparty/dnspython.git/log
thirdparty/dnspython.git
2 years agoSupport <class> <ttl> <type> in zonefiles [#942].
Bob Halley [Fri, 9 Jun 2023 21:56:29 +0000 (14:56 -0700)] 
Support <class> <ttl> <type> in zonefiles [#942].

2 years agopass policy to rrset_signer (#932)
Jakob Schlyter [Sun, 4 Jun 2023 16:52:37 +0000 (18:52 +0200)] 
pass policy to rrset_signer (#932)

2 years agoUpdate cryptography requirement from >=2.6,<41.0 to >=2.6,<42.0 (#937)
dependabot[bot] [Wed, 31 May 2023 17:06:47 +0000 (10:06 -0700)] 
Update cryptography requirement from >=2.6,<41.0 to >=2.6,<42.0 (#937)

Updates the requirements on [cryptography](https://github.com/pyca/cryptography) to permit the latest version.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/2.6...41.0.0)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump sphinx-rtd-theme from 1.2.0 to 1.2.1 (#933)
dependabot[bot] [Sun, 28 May 2023 21:00:32 +0000 (14:00 -0700)] 
Bump sphinx-rtd-theme from 1.2.0 to 1.2.1 (#933)

Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.2.0 to 1.2.1.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.2.0...1.2.1)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  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>
2 years agoHttpx now has a socket_options parameter in its NetworkBackends.
Bob Halley [Sun, 28 May 2023 20:58:27 +0000 (13:58 -0700)] 
Httpx now has a socket_options parameter in its NetworkBackends.

We accept this parameter if it is given, but do not actually do
anything with it.  In theory this shouldn't be a problem as we're
never passing it either in the cases where we use our backends.

2 years agotry again to make doco builds work again by upgrading the build image
Bob Halley [Sun, 7 May 2023 16:33:25 +0000 (09:33 -0700)] 
try again to make doco builds work again by upgrading the build image

2 years agotry to make doco builds work again by upgrading the build image
Bob Halley [Sun, 7 May 2023 16:31:00 +0000 (09:31 -0700)] 
try to make doco builds work again by upgrading the build image

2 years agomore requests cleanup
Bob Halley [Sun, 7 May 2023 16:30:44 +0000 (09:30 -0700)] 
more requests cleanup

2 years agoDeal with "in" changes for enums in python 3.12
Bob Halley [Sat, 6 May 2023 18:21:36 +0000 (11:21 -0700)] 
Deal with "in" changes for enums in python 3.12

In python 3.12, "in" for enums tests values as well, so something
like "12345 in dns.rdatatype.RdataType" will now return True.  This
broke some logic guarding against registering a known-but-unimplmemented
type code point with a class that didn't have the right name.  We now
just give up on this test as it will never be a real problem.  We change
a few related tests to be more sensible.

2 years agoAdd support for ruff linter.
Bob Halley [Sat, 6 May 2023 14:16:32 +0000 (07:16 -0700)] 
Add support for ruff linter.

2 years agoFix NSEC3 base32 processing. (#929)
Brian Wellington [Sat, 6 May 2023 14:15:32 +0000 (07:15 -0700)] 
Fix NSEC3 base32 processing. (#929)

The NSEC3 next name field is defined as base32 with no padding, but the
code was doing base32 decoding with padding.  This wouldn't have any
effect in the normal case, since the only defined NSEC3 hashing
algorithm is SHA1, and that generates a 160 bit hash that doesn't
require padding when encoded in base32.

This change removes generated padding after encode, rejects padded input
on decode, and adds necessary padding for decode.

2 years agoresolve_at() type fixes
Bob Halley [Wed, 19 Apr 2023 15:55:51 +0000 (08:55 -0700)] 
resolve_at() type fixes

2 years agoAdd make_resolver_at() and resolve_at(). (#926)
Bob Halley [Wed, 19 Apr 2023 15:51:16 +0000 (08:51 -0700)] 
Add make_resolver_at() and resolve_at(). (#926)

2 years agosimplify DDR text
Bob Halley [Sun, 9 Apr 2023 18:19:54 +0000 (11:19 -0700)] 
simplify DDR text

2 years agoRemove unnecessary string concatenation.
Brian Wellington [Tue, 11 Apr 2023 18:05:16 +0000 (11:05 -0700)] 
Remove unnecessary string concatenation.

2 years agoNote 3.8 as the minimum for 2.4 (3.7 is EOL at the end of June).
Bob Halley [Fri, 7 Apr 2023 13:51:36 +0000 (06:51 -0700)] 
Note 3.8 as the minimum for 2.4 (3.7 is EOL at the end of June).

2 years agoAdd basic DDR support. (#919)
Bob Halley [Fri, 7 Apr 2023 13:44:22 +0000 (06:44 -0700)] 
Add basic DDR support. (#919)

* Add basic DDR support.

2 years agoMessage get_rrset() needs to pass idna_codec to find_rrset().
Bob Halley [Thu, 6 Apr 2023 13:06:24 +0000 (06:06 -0700)] 
Message get_rrset() needs to pass idna_codec to find_rrset().
Also removes some lint about "section = section" being a no-op.

2 years agorun black on enum.py
Bob Halley [Thu, 6 Apr 2023 13:04:18 +0000 (06:04 -0700)] 
run black on enum.py

2 years agoEnum typing (#923)
Brian Wellington [Thu, 6 Apr 2023 13:03:07 +0000 (06:03 -0700)] 
Enum typing (#923)

* IntEnum improvements.

This changes make() to always return an instance of the subclass,
creating one on the fly if the value is not known, and updates the typ
registration code to deal with this.  It also adds typing annotations to
make().

* Add missing int check.

Some older versions of python weren't rejecting non-int values.

* Fix int check.

Raise TypeError for non-int, not ValueError, to make tests happy.

* Annotate to_text/from_text.

* Remove many the_ prefixed variables.

These were needed in the past to work around typing issues.

2 years agoImprove get_rrset/find_rrset API. (#922)
Brian Wellington [Thu, 6 Apr 2023 13:01:59 +0000 (06:01 -0700)] 
Improve get_rrset/find_rrset API. (#922)

* Improve get_rrset/find_rrset API.

This allows most of the parameters to be specified as strings, matching
the interface for dns.message.make_query().

* Remove unneeded "the_section".

There's no need to use a separate internal variable for the section;
mypy doesn't complain about reuse.

2 years agoBump readthedocs-sphinx-search from 0.2.0 to 0.3.1 (#920)
dependabot[bot] [Sun, 2 Apr 2023 15:41:47 +0000 (08:41 -0700)] 
Bump readthedocs-sphinx-search from 0.2.0 to 0.3.1 (#920)

Bumps [readthedocs-sphinx-search](https://github.com/readthedocs/readthedocs-sphinx-search) from 0.2.0 to 0.3.1.
- [Release notes](https://github.com/readthedocs/readthedocs-sphinx-search/releases)
- [Changelog](https://github.com/readthedocs/readthedocs-sphinx-search/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/readthedocs/readthedocs-sphinx-search/commits)

---
updated-dependencies:
- dependency-name: readthedocs-sphinx-search
  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>
2 years agoAdd some missing resolver doco.
Bob Halley [Sun, 2 Apr 2023 15:41:23 +0000 (08:41 -0700)] 
Add some missing resolver doco.

2 years agorun black
Bob Halley [Thu, 30 Mar 2023 13:29:20 +0000 (06:29 -0700)] 
run black

2 years agoClean up the NoDOH exception.
Brian Wellington [Tue, 28 Mar 2023 17:53:18 +0000 (10:53 -0700)] 
Clean up the NoDOH exception.

The docstring/default should refer to httpx, not requests, and the
callers should use it rather than providing alternate (and different)
strings.

2 years agoAdd server_hostname to DoQNameserver.
Bob Halley [Sun, 26 Mar 2023 19:34:32 +0000 (12:34 -0700)] 
Add server_hostname to DoQNameserver.

2 years agolint
Bob Halley [Sun, 26 Mar 2023 19:29:51 +0000 (12:29 -0700)] 
lint

2 years agoOptionally allow server hostname to be checked by QUIC.
Bob Halley [Sun, 26 Mar 2023 19:28:02 +0000 (12:28 -0700)] 
Optionally allow server hostname to be checked by QUIC.

2 years agoUpdate cryptography requirement from >=2.6,<40.0 to >=2.6,<41.0 (#917)
dependabot[bot] [Fri, 24 Mar 2023 17:58:39 +0000 (10:58 -0700)] 
Update cryptography requirement from >=2.6,<40.0 to >=2.6,<41.0 (#917)

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...40.0.0)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoNote DNSSEC zone signing (NSEC) is now available.
Bob Halley [Tue, 21 Mar 2023 21:04:16 +0000 (14:04 -0700)] 
Note DNSSEC zone signing (NSEC) is now available.

2 years agoZone signer (#911)
Jakob Schlyter [Tue, 21 Mar 2023 01:14:59 +0000 (02:14 +0100)] 
Zone signer (#911)

* first cut at NSEC support

* use transactions, fix delegations

* rename to add_nsec_to_zone

* optimize NSEC generation

* split out function to get all secure names (could be useful for NSEC3 later)

* add `Bitmap.from_rdtypes()` and add missing typing

* more typing

* add missing import

* add more typing

* fix tok type

* remove _get_secure_names, optimize

* better zone testing (compare as text)
add test example with delegation below other delegation

* include NSEC itself in the bitmap

* lint

* Add names iteration to transactions via iterate_names().

Also make rdataset iteration more obvious by adding an
explicit iterate_rdatasets() API.

* use iterate_names()

* typo

* black

* use single iteration

* better type fix

* add optional transaction to add_nsec_to_zone

* idea for zone signer

* do not sign RRSIGs

* fix signer

* correctly sign DS

* simplify

* simplify by passing rrset to signer

* fix typing

* nit

* add DS

* add more test

* rewrite zone signer

* compact

* simplify

* make easier to read

* bring back rrset_signer

* move default RRset signer

* more

* more

* prettier context handling (mypy issue pending)

* make NSEC zone signer less complex

* update

* fix txn, sign as defined by SEP

* docs

* add back missing dnskey_include

* rename dnskey_include to add_dnskey

* check KSK/ZSK key tags in signed zone

---------

Co-authored-by: Bob Halley <halley@dnspython.org>
2 years agolinting + have asyncio HTTP code actually connect to right address
Bob Halley [Sun, 19 Mar 2023 16:49:25 +0000 (09:49 -0700)] 
linting + have asyncio HTTP code actually connect to right address

2 years agore-run black
Bob Halley [Sun, 19 Mar 2023 16:31:03 +0000 (09:31 -0700)] 
re-run black

2 years agoMore curio cleanups.
Bob Halley [Sun, 19 Mar 2023 16:26:33 +0000 (09:26 -0700)] 
More curio cleanups.

2 years agoBetter DNS-over-HTTPS support. (#908)
Bob Halley [Sun, 19 Mar 2023 16:24:32 +0000 (09:24 -0700)] 
Better DNS-over-HTTPS support. (#908)

This change:

Allows resolution hostnames in URLs using dnspython's resolver
or via a bootstrap address, without rewriting URLs.

Adds full support for source addresses and ports to
httpx, except for asyncio I/O where only the source address
can be specified.

Removes support for requests.

2 years agoAdd names iteration to transactions via iterate_names(). (#907)
Bob Halley [Tue, 14 Mar 2023 20:26:51 +0000 (13:26 -0700)] 
Add names iteration to transactions via iterate_names(). (#907)

Also make rdataset iteration more obvious by adding an
explicit iterate_rdatasets() API.

2 years agoUpdate wheel requirement from ^0.38.1 to ^0.40.0 (#910)
dependabot[bot] [Tue, 14 Mar 2023 20:26:35 +0000 (13:26 -0700)] 
Update wheel requirement from ^0.38.1 to ^0.40.0 (#910)

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.38.1...0.40.0)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoremove a curio reference that missed the first pass
Bob Halley [Sun, 12 Mar 2023 19:14:19 +0000 (12:14 -0700)] 
remove a curio reference that missed the first pass

2 years agoRemove curio support.
Bob Halley [Sun, 12 Mar 2023 17:03:11 +0000 (10:03 -0700)] 
Remove curio support.

2 years agolint
Bob Halley [Sun, 12 Mar 2023 15:06:46 +0000 (08:06 -0700)] 
lint

2 years agoadd Bitmap.from_rdtypes() (#906)
Jakob Schlyter [Sat, 11 Mar 2023 02:13:51 +0000 (03:13 +0100)] 
add Bitmap.from_rdtypes() (#906)

* add `Bitmap.from_rdtypes()` and add missing typing

* more typing

* add missing import

* add more typing

* fix tok type

2 years agoAdd dns.resolver.resolve_name(). (#903)
Brian Wellington [Sat, 11 Mar 2023 02:12:02 +0000 (18:12 -0800)] 
Add dns.resolver.resolve_name(). (#903)

* Add dns.resolver.resolve_name().

* Add missing type annotations.

* Add async resolve_name().

* Replace List[Answer] with HostAnswers.

* Switch addresses_and_families() tuple order

* Fix comment.

2 years agoRemove the DSA signature test, as it can fail in certain
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.

2 years agoFix hangs when QUIC connection fails [#899]. (#900)
Bob Halley [Thu, 2 Mar 2023 15:51:50 +0000 (07:51 -0800)] 
Fix hangs when QUIC connection fails [#899]. (#900)

This also fixes problems with computing the wait_for() timeout for
the sync and asyncio ports, and fixes delivery of the timeout for
the sync port.

2 years agoMake a few nameserver changes that missed getting added to the PR.
Bob Halley [Sat, 25 Feb 2023 20:01:03 +0000 (12:01 -0800)] 
Make a few nameserver changes that missed getting added to the PR.

2 years agoResolver "nameserver" object support. (#897)
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.

* doco fix

* more doco fixes

* do enrichment at Resolution time

* require a later mypy, fix type issues

* add nameserver doc

2 years agoFix typos.
Brian Wellington [Fri, 17 Feb 2023 19:17:04 +0000 (11:17 -0800)] 
Fix typos.

2 years agoAdd dns.quic to setup.cfg for legacy setup.py installs [#896]
Bob Halley [Sat, 11 Feb 2023 23:17:27 +0000 (15:17 -0800)] 
Add dns.quic to setup.cfg for legacy setup.py installs [#896]

2 years agoBump sphinx-rtd-theme from 1.1.1 to 1.2.0 (#894)
dependabot[bot] [Wed, 8 Feb 2023 16:23:55 +0000 (08:23 -0800)] 
Bump sphinx-rtd-theme from 1.1.1 to 1.2.0 (#894)

Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/readthedocs/sphinx_rtd_theme/releases)
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.1.1...1.2.0)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  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>
2 years agoadd more minor typehints (#889)
Mathias Ertl [Mon, 6 Feb 2023 00:33:59 +0000 (01:33 +0100)] 
add more minor typehints (#889)

2 years agoUpdate black requirement from ^22.1.0 to ^23.1.0 (#892)
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
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump readthedocs-sphinx-search from 0.1.2 to 0.2.0 (#891)
dependabot[bot] [Wed, 25 Jan 2023 17:07:51 +0000 (09:07 -0800)] 
Bump readthedocs-sphinx-search from 0.1.2 to 0.2.0 (#891)

Bumps [readthedocs-sphinx-search](https://github.com/readthedocs/readthedocs-sphinx-search) from 0.1.2 to 0.2.0.
- [Release notes](https://github.com/readthedocs/readthedocs-sphinx-search/releases)
- [Changelog](https://github.com/readthedocs/readthedocs-sphinx-search/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/readthedocs/readthedocs-sphinx-search/commits)

---
updated-dependencies:
- dependency-name: readthedocs-sphinx-search
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoThe DS digest_type field is now made a DSDigest instance by the constructor (#890)
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

So, I just made a pull request this time

2 years agoThe DNSKEY flags field is now made a Flag instance by the constructor.
Bob Halley [Tue, 24 Jan 2023 16:37:37 +0000 (08:37 -0800)] 
The DNSKEY flags field is now made a Flag instance by the constructor.

2 years agoMore doco updates for 2.4
Bob Halley [Wed, 18 Jan 2023 13:16:14 +0000 (05:16 -0800)] 
More doco updates for 2.4

2 years agoAdd missing quic files to setup.py cythonize [#887].
Bob Halley [Wed, 18 Jan 2023 12:50:29 +0000 (04:50 -0800)] 
Add missing quic files to setup.py cythonize [#887].

2 years agoAdd deprecation note about the Resolver nameserver attribute.
Bob Halley [Sun, 15 Jan 2023 16:36:56 +0000 (08:36 -0800)] 
Add deprecation note about the Resolver nameserver attribute.

2 years agoMake Coverity happier [#882].
Bob Halley [Thu, 12 Jan 2023 22:00:52 +0000 (14:00 -0800)] 
Make Coverity happier [#882].

2 years agoUse 'https' instead of 'http' for dnspython.org (#883)
Rafael Guterres Jeffman [Wed, 11 Jan 2023 22:37:13 +0000 (19:37 -0300)] 
Use 'https' instead of 'http' for dnspython.org (#883)

These days, 'https' should be used instead of 'http' for almost
anything, and Coverity is warning that dnspython.org URL in 'setup.cfg'
uses 'http'.

This patch changes the use of 'http' to 'https' on setup.cfg and
documentation, where it does not affect module code, tests or examples.

2 years agoremove obsolete lgtm link
Bob Halley [Mon, 2 Jan 2023 21:21:20 +0000 (13:21 -0800)] 
remove obsolete lgtm link

2 years agoRemove obsolete comment (#873)
sblondon [Mon, 2 Jan 2023 16:59:57 +0000 (17:59 +0100)] 
Remove obsolete comment (#873)

2 years agoUpdate cryptography requirement from >=2.6,<39.0 to >=2.6,<40.0 (#878)
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)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoUpdate SECURITY.md to 2.3.x
Bob Halley [Tue, 27 Dec 2022 19:34:23 +0000 (11:34 -0800)] 
Update SECURITY.md to 2.3.x

2 years agoUpdate versions and CI post 2.3 branch.
Bob Halley [Tue, 27 Dec 2022 19:23:41 +0000 (11:23 -0800)] 
Update versions and CI post 2.3 branch.

2 years agoupdate whatsnew
Bob Halley [Fri, 23 Dec 2022 17:26:47 +0000 (09:26 -0800)] 
update whatsnew

2 years agolint
Bob Halley [Fri, 23 Dec 2022 17:24:21 +0000 (09:24 -0800)] 
lint

2 years agoDNSSEC doco fixes.
Bob Halley [Fri, 23 Dec 2022 17:19:47 +0000 (09:19 -0800)] 
DNSSEC doco fixes.

2 years agoCDS/CDNSKEY utilities (#872)
Jakob Schlyter [Fri, 23 Dec 2022 17:11:31 +0000 (18:11 +0100)] 
CDS/CDNSKEY utilities (#872)

Add CDS and CDNSKEY utilities:

make_cdnskey()
make_cds()
make_ds_rdataset()
cds_rdataset_to_ds_rdataset()
dnskey_rdataset_to_cds_rdataset()
dnskey_rdataset_to_cdnskey_rdataset()

2 years agoUpdate pocov Makefile rule for coverage 7.0.0.
Bob Halley [Tue, 20 Dec 2022 14:20:30 +0000 (06:20 -0800)] 
Update pocov Makefile rule for coverage 7.0.0.

2 years agoUpdate coverage requirement from ^6.0 to ^7.0 (#874)
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)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoFix async quic() doco.
Bob Halley [Fri, 16 Dec 2022 21:54:05 +0000 (13:54 -0800)] 
Fix async quic() doco.

2 years agoProperly pass source and source_port to connect() in the sync version of quic().
Bob Halley [Fri, 16 Dec 2022 21:49:25 +0000 (13:49 -0800)] 
Properly pass source and source_port to connect() in the sync version of quic().

3 years agoFix misc. lint.
Bob Halley [Fri, 16 Dec 2022 15:50:50 +0000 (07:50 -0800)] 
Fix misc. lint.

3 years agoRemove unsupported python case (#871)
sblondon [Fri, 16 Dec 2022 15:32:19 +0000 (16:32 +0100)] 
Remove unsupported python case (#871)

3 years agoDNSSEC policy. (#869)
Bob Halley [Thu, 15 Dec 2022 14:22:27 +0000 (06:22 -0800)] 
DNSSEC policy. (#869)

3 years agoadd DNSSEC sign() to whatsnew
Bob Halley [Tue, 13 Dec 2022 02:24:16 +0000 (18:24 -0800)] 
add DNSSEC sign() to whatsnew

3 years agoadd sign and make_dnskey functions (#868)
Jakob Schlyter [Tue, 13 Dec 2022 12:59:25 +0000 (13:59 +0100)] 
add sign and make_dnskey functions (#868)

3 years agoImprove DNSSEC _doco, minor DNSSEC and typing tweaks.
Bob Halley [Tue, 13 Dec 2022 02:17:43 +0000 (18:17 -0800)] 
Improve DNSSEC _doco, minor DNSSEC and typing tweaks.

3 years agoDNSSEC signer (#866)
Jakob Schlyter [Tue, 13 Dec 2022 01:28:00 +0000 (02:28 +0100)] 
DNSSEC signer (#866)

* first cut at key_to_dnskey

* update docs

* typo

* use real test vectors for DNSKEY

* comment

* split

* add test for large exponent size

* rename to make_dnskey

* no default algorithm

* rename and add comment

* split out function to create rrsig signature data

* docs

* add type for public key

* more typing

* make RSA exponent key test easier to read

* work in progress for dns.dnssec.sign

* better docs

* docs

* simplify

* add test with RSASHA1

* initial support for DSA

* update docs

* clean up DSA, t still not clear

* allow inception/expiration to be specified as datetime, string, float or in

* allow rrset to be specified as a tuple

* calculate dsa_t

* reformat

* more rrset tuple fixes

* support DSA

* improve exception handling

* fix return type error

* fix typing issue to silence mypy

* make test case more verbose

* ensure UTC and use sigtime_to_posixtime to convert text to timestamp

3 years agoAdd NSEC3 RFC to doco.
Bob Halley [Fri, 9 Dec 2022 14:58:57 +0000 (06:58 -0800)] 
Add NSEC3 RFC to doco.

3 years agoAdd more DNSSEC RFCs.
Bob Halley [Wed, 7 Dec 2022 17:08:13 +0000 (09:08 -0800)] 
Add more DNSSEC RFCs.

3 years agoOne more RFC text tweak.
Bob Halley [Wed, 30 Nov 2022 14:27:39 +0000 (06:27 -0800)] 
One more RFC text tweak.

3 years agoMore RFC updates.
Bob Halley [Wed, 30 Nov 2022 14:27:00 +0000 (06:27 -0800)] 
More RFC updates.

3 years agoMore whatsnew updates.
Bob Halley [Mon, 28 Nov 2022 02:01:55 +0000 (18:01 -0800)] 
More whatsnew updates.

3 years agoMerge pull request #863 from rbrins/master
Bob Halley [Wed, 30 Nov 2022 13:15:18 +0000 (05:15 -0800)] 
Merge pull request #863 from rbrins/master

changed docs dns.resolver.Answer response to QueryMessage

3 years agochanged docs dns.resolver.Answer response to QueryMessage 863/head
Russell [Tue, 29 Nov 2022 17:07:51 +0000 (12:07 -0500)] 
changed docs dns.resolver.Answer response to QueryMessage

3 years agoBasic SVCB and HTTPS doco.
Bob Halley [Mon, 28 Nov 2022 01:42:31 +0000 (17:42 -0800)] 
Basic SVCB and HTTPS doco.

3 years agoAdd some more RFCs.
Bob Halley [Sun, 27 Nov 2022 22:27:46 +0000 (14:27 -0800)] 
Add some more RFCs.

3 years agoImprove AMTRELAY doco.
Bob Halley [Sun, 27 Nov 2022 22:17:15 +0000 (14:17 -0800)] 
Improve AMTRELAY doco.

3 years agoAdd doco for AMTRELAY, L32, L64, LP, and NID.
Bob Halley [Sun, 27 Nov 2022 22:06:09 +0000 (14:06 -0800)] 
Add doco for AMTRELAY, L32, L64, LP, and NID.

3 years agoMake generate-rdatatype-doc.py work properly again.
Bob Halley [Sun, 27 Nov 2022 21:38:54 +0000 (13:38 -0800)] 
Make generate-rdatatype-doc.py work properly again.

3 years agoTest on 3.10 still for windows as aioquic does not build without openssl source.
Bob Halley [Thu, 24 Nov 2022 15:44:47 +0000 (07:44 -0800)] 
Test on 3.10 still for windows as aioquic does not build without openssl source.

3 years agoDoQ packing and testing tweaks
Bob Halley [Thu, 24 Nov 2022 15:27:12 +0000 (07:27 -0800)] 
DoQ packing and testing tweaks

3 years agoFix type lint from latest mypy.
Bob Halley [Thu, 24 Nov 2022 15:20:58 +0000 (07:20 -0800)] 
Fix type lint from latest mypy.

3 years agoMerge pull request #842 from rthalley/quic
Bob Halley [Thu, 24 Nov 2022 14:56:04 +0000 (06:56 -0800)] 
Merge pull request #842 from rthalley/quic

Initial DoQ support.

3 years agoMerge pull request #858 from rthalley/dependabot/pip/sphinx-rtd-theme-1.1.1
Bob Halley [Mon, 7 Nov 2022 17:16:38 +0000 (09:16 -0800)] 
Merge pull request #858 from rthalley/dependabot/pip/sphinx-rtd-theme-1.1.1

Bump sphinx-rtd-theme from 1.1.0 to 1.1.1

3 years agoBump sphinx-rtd-theme from 1.1.0 to 1.1.1 858/head
dependabot[bot] [Mon, 7 Nov 2022 16:09:15 +0000 (16:09 +0000)] 
Bump sphinx-rtd-theme from 1.1.0 to 1.1.1

Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/readthedocs/sphinx_rtd_theme/releases)
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.1.0...1.1.1)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #856 from GlennChia/docs/fix-typo-examples
Bob Halley [Mon, 7 Nov 2022 13:45:46 +0000 (05:45 -0800)] 
Merge pull request #856 from GlennChia/docs/fix-typo-examples

docs: programs typo

3 years agodocs: programs typo 856/head
Glenn [Mon, 7 Nov 2022 06:58:14 +0000 (14:58 +0800)] 
docs: programs typo

3 years agoMerge pull request #852 from rthalley/dependabot/pip/sphinx-rtd-theme-1.1.0
Bob Halley [Sun, 6 Nov 2022 00:47:30 +0000 (17:47 -0700)] 
Merge pull request #852 from rthalley/dependabot/pip/sphinx-rtd-theme-1.1.0

Bump sphinx-rtd-theme from 1.0.0 to 1.1.0