summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* asyncio on Windows requries connected sockets. [Issue #637]windows_asyncio_fixBob Halley2021-02-254-3/+35
|
* Merge pull request #635 from KOLANICH-libs/setup.cfgBob Halley2021-02-193-50/+58
|\ | | | | Moved the metadata into setup.cfg from setup.py.
| * Moved the metadata into setup.cfg from setup.py.KOLANICH2021-02-163-50/+58
| | | | | | | | | | Fixed the dependency on poetry instead of poetry-core in pyproject.toml. Fetching the version from git tags now when using setuptools (for poetry we cannot do that currently, see https://github.com/python-poetry/poetry/issues/693).
* | Merge pull request #634 from bwelling/refactor-dnssecBob Halley2021-02-181-152/+141
|\ \ | | | | | | DNSSEC refactoring.
| * | DNSSEC refactoring.Brian Wellington2021-02-121-152/+141
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Reorders some of the operations related to RRSIG validation. The net effects here are that the code performs all of the parts of validation that are not specific to the keys first before the parts that are specific to keys (and need to be repeated for each key). This also fixes the inconsistency that if there are multiple keys that match an RRSIG, a single malformed key would lead to an exception, but a signle failed signature validation would not. In both cases, an exception should only be raised if no keys successfully validate the RRSIG.
* | Merge pull request #636 from kimbo/kl/zone-containsBob Halley2021-02-182-2/+13
|\ \ | |/ |/| make `name in zone` consistent with `zone[name]`
| * make `name in zone` consistent with `zone[name]`kimbo2021-02-162-2/+13
|/ | | | | specifically, allow name to be a str, and raise a KeyError if name cannot be converted into a dns.name.Name
* Merge pull request #633 from kimbo/kl/doc-fixBob Halley2021-02-111-1/+1
|\ | | | | doc fix: change fname to name
| * change fname to namekimbo2021-02-111-1/+1
|/
* async StreamSockets were erronously subclassing the abstract DatagramSocketBob Halley2021-01-313-3/+3
|
* Abstract methods should raise NotImplementedError, not return NoneBob Halley2021-01-311-4/+10
| | | | | getpeername() and getsockname() are part of the abstract API but weren't defined.
* Merge pull request #627 from rthalley/dependabot/pip/mypy-tw-0.800Bob Halley2021-01-311-1/+1
|\ | | | | Update mypy requirement from ^0.790 to ^0.800
| * Update mypy requirement from ^0.790 to ^0.800dependabot/pip/mypy-tw-0.800dependabot[bot]2021-01-251-1/+1
| | | | | | | | | | | | | | Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.790...v0.800) Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #625 from peterthomassen/20200118_dsbase_digest_lengthBob Halley2021-01-312-0/+48
|\ \ | |/ |/| Ensure that DS digest length is consistent with digest type
| * Ensure that DS digest length is consistent with digest typePeter Thomassen2021-01-182-0/+48
|/
* Add missing items to rdtypes/ANY/__init__.pyBob Halley2021-01-131-0/+2
|
* Merge pull request #624 from peterthomassen/patch-1Bob Halley2021-01-131-0/+2
|\ | | | | Add missing items to rdtypes/IN/__init__.py
| * Add missing items to rdtypes/IN/__init__.pyPeter Thomassen2021-01-131-0/+2
|/
* Merge pull request #623 from rthalley/dependabot/pip/trio-gte-0.14-and-lt-0.19Bob Halley2021-01-121-1/+1
|\ | | | | Update trio requirement from >=0.14,<0.18 to >=0.14,<0.19
| * Update trio requirement from >=0.14,<0.18 to >=0.14,<0.19dependabot/pip/trio-gte-0.14-and-lt-0.19dependabot[bot]2021-01-121-1/+1
|/ | | | | | | 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.18.0) Signed-off-by: dependabot[bot] <support@github.com>
* Include any pickles in tests directory [Issue #622].Bob Halley2021-01-081-1/+1
|
* post 2.1.0 versioningBob Halley2021-01-075-5/+10
|
* remove obsolete download URL; add 3.9 classifierv2.1.0Bob Halley2021-01-071-2/+1
|
* update README for 2.1.0Bob Halley2021-01-071-2/+2
|
* Set 2.1.0 version.Bob Halley2021-01-074-5/+5
|
* Merge pull request #617 from peterthomassen/masterBob Halley2021-01-0512-13/+60
|\ | | | | Allow custom chunksizes in dns.rdata.to_text
| * Pass kw from dns.rdata.to_text to _hexify and _base64ifyPeter Thomassen2021-01-0512-13/+60
| |
* | use methods with appropriate rcode/opcode typecasting in Message.to_text()Bob Halley2021-01-041-4/+2
| |
* | Cast flags and ednsflags to int when calling dns.rcode.from_flags() andBob Halley2021-01-041-2/+2
| | | | | | | | | | dns.opcode.from_flags(). This avoids subsequent to_text issues and other type confusion if the values were allowed to remain IntFlags.
* | _WireReader.read() should make flags a dns.flags.Flag [Issue #606]Bob Halley2021-01-042-1/+6
| |
* | Add missing base classes to __init__.Bob Halley2021-01-041-0/+4
| |
* | Merge pull request #616 from timgates42/bugfix_typo_translationBob Halley2021-01-031-1/+1
|\ \ | |/ |/| docs: fix simple typo, transation -> translation
| * docs: fix simple typo, transation -> translationTim Gates2020-12-291-1/+1
|/ | | | | | There is a small typo in doc/zone-class.rst. Should read `translation` rather than `transation`.
* Merge pull request #614 from rthalley/resolve_chainingBob Halley2020-12-284-20/+57
|\ | | | | resolve_chaining() now returns a ChainingResult object.
| * Change ChainingResult "rrset" to "answer"; fix typo.resolve_chainingBob Halley2020-12-213-13/+13
| |
| * resolve_chaining() now returns a ChainingResult object.Bob Halley2020-12-214-14/+51
|/
* resolve_chaining() should not go into an infinite loop if the qtype isBob Halley2020-12-212-0/+17
| | | | CNAME and there is no answer [Issue #610].
* Add a test of a TSIG-signed AXFR of the root.Brian Wellington2020-11-251-5/+13
|
* Merge pull request #609 from salzmdan/masterBrian Wellington2020-11-251-1/+1
|\ | | | | TSIG: don't relativize algorithm name
| * TSIG: don't relativize algorithm nameDaniel Salzman2020-11-251-1/+1
|/ | | | | | | | | | The domain name relativization of TSIG's algorithm name breaks TSIG validation when using with the Root zone. Example for algorithm hmac-sha224: zone 'example.com.' -> hmac-sha224. zone '.' -> hmac-sha224
* Do not test override with default resolver if there is no Internet.Bob Halley2020-11-191-0/+1
|
* give on on Azure windows testing for nowBob Halley2020-11-091-1/+0
|
* yet another azure attemptBob Halley2020-11-011-1/+1
|
* another azure attemptBob Halley2020-11-011-3/+3
|
* azure + poetry attemptBob Halley2020-11-011-4/+12
|
* update README.md for 2.1.0rc1v2.1.0rc1Bob Halley2020-10-301-1/+1
|
* update versions for 2.1.0rc1Bob Halley2020-10-304-4/+4
|
* Add repr() for dns.tsig.Key.Brian Wellington2020-10-291-0/+5
|
* another azure try. sigh!Bob Halley2020-10-281-1/+2
|
* another tryBob Halley2020-10-282-3/+4
|