| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | remove backwards compatibility for something deleted 10 years ago | Bob Halley | 2020-05-03 | 1 | -16/+0 | |
| | | ||||||
| * | more things to make mypy happier | Bob Halley | 2020-05-03 | 6 | -15/+12 | |
| | | ||||||
| * | fix indentation error after tokenizer refactoring | Bob Halley | 2020-05-03 | 1 | -1/+1 | |
| | | ||||||
| * | Do not double-UTF-8 encode escapes in TXT-like records. [Issue #321] | Bob Halley | 2020-05-03 | 2 | -22/+62 | |
| | | ||||||
| * | de-lint: remove unused import | Bob Halley | 2020-05-02 | 1 | -1/+0 | |
| | | ||||||
| * | Use context managers to simplify code. | Brian Wellington | 2020-05-01 | 5 | -126/+68 | |
| | | | | | | | | | Simplify code using try/finally to use context managers. In some cases, contextlib.ExitStack() is used; this could probably be further simplified to use contextlib.nullcontext() once Python 3.7+ is a requirement. | |||||
| * | HIP was not doing relativize_to | Bob Halley | 2020-05-01 | 1 | -2/+1 | |
| | | ||||||
| * | Add as_name(), allowing an already read token to be interpreted a name. | Bob Halley | 2020-05-01 | 1 | -4/+13 | |
| | | ||||||
| * | add missing type declarations | Bob Halley | 2020-05-01 | 2 | -0/+4 | |
| | | ||||||
| * | remove spurious old-division pylint warning; remove unneeded float casts | Bob Halley | 2020-05-01 | 1 | -4/+8 | |
| | | ||||||
| * | In library code, replace from io import BytesIO (or StringIO) with import io | Bob Halley | 2020-05-01 | 10 | -28/+31 | |
| | | ||||||
| * | remove obsolete entropy pool hash import logic | Bob Halley | 2020-05-01 | 1 | -14/+4 | |
| | | ||||||
| * | Merge pull request #460 from bwelling/remove-future | Bob Halley | 2020-05-01 | 5 | -10/+0 | |
| |\ | | | | | Remove "from __future__ import" statements. | |||||
| | * | Remove "from __future__ import" statements. | Brian Wellington | 2020-05-01 | 5 | -10/+0 | |
| | | | | | | | | | None of these are needed anymore. | |||||
| * | | Merge pull request #459 from dlenski/make_DOH_extra | Bob Halley | 2020-05-01 | 1 | -3/+18 | |
| |\ \ | |/ |/| | Make DOH, and the requests dependency, optional | |||||
| | * | make DOH an extra feature (to avoid requests as hard dependency) | Daniel Lenski | 2020-04-30 | 1 | -3/+18 | |
| | | | ||||||
| * | | do not import BytesIO into rdata namespace | Bob Halley | 2020-05-01 | 1 | -2/+1 | |
| | | | ||||||
| * | | ignore duplicate name warning as it is not a bug | Bob Halley | 2020-05-01 | 1 | -1/+1 | |
| |/ | ||||||
| * | Add alternate origin support to dns.reversename. | Brian Wellington | 2020-04-29 | 1 | -22/+31 | |
| | | ||||||
| * | Remove redundant check. | Brian Wellington | 2020-04-21 | 1 | -3/+0 | |
| | | | | | | _validate_rrsig will never be called if cryptography wasn't loaded, so there's no need to check again. | |||||
| * | Fix documentation. | Brian Wellington | 2020-04-21 | 1 | -1/+1 | |
| | | | | | Rdata.to_wire() writes to the file, and doesn't return anything. | |||||
| * | Add dns.rdata.Rdata.to_generic() | Brian Wellington | 2020-04-21 | 1 | -0/+10 | |
| | | ||||||
| * | cryptography delint | Bob Halley | 2020-04-08 | 1 | -2/+1 | |
| | | ||||||
| * | Use python cryptography for DNSSEC | Simo Sorce | 2020-04-07 | 2 | -85/+82 | |
| | | | | | Signed-off-by: Simo Sorce <simo@redhat.com> | |||||
| * | Merge pull request #445 from kimbo/kl/resolv-conf-options | Bob Halley | 2020-04-03 | 1 | -5/+32 | |
| |\ | | | | | additional resolv.conf options | |||||
| | * | support for ndots, edns0, timeout resolv.conf opts | kimbo | 2020-04-02 | 1 | -5/+32 | |
| | | | ||||||
| * | | Use decorator syntax for properties. | Brian Wellington | 2020-04-03 | 1 | -2/+2 | |
| | | | ||||||
| * | | fix type specification errors | Bob Halley | 2020-04-03 | 3 | -3/+9 | |
| | | | ||||||
| * | | Merge pull request #444 from bwelling/optimize-set | Bob Halley | 2020-04-03 | 2 | -23/+36 | |
| |\ \ | | | | | | | Optimize set | |||||
| | * | | Optimize dns.set.Set. | Brian Wellington | 2020-04-02 | 1 | -22/+35 | |
| | | | | | | | | | | | | | | | | | | | This changes the internal implementation from a list to an ordered dictionary (dict or collections.OrderedDict, depending on Python version). This is possible now that Rdata are immutable. | |||||
| | * | | Use public dns.set.Set interface. | Brian Wellington | 2020-04-02 | 1 | -1/+1 | |
| | |/ | ||||||
| * | | Add dns.rdata.Rdata.replace() | Brian Wellington | 2020-04-02 | 1 | -0/+34 | |
| |/ | | | | | | Now that Rdata instances are immutable, there needs to be a way to make a new Rdata based on an existing one. replace() creates a clone of the current Rdata, overriding fields with the specified parameters. | |||||
| * | Further improve get_rdata_class(). | Brian Wellington | 2020-04-02 | 1 | -0/+2 | |
| | | | | | | | | When we find a class-independent type, cache it for both class ANY and the requested type, to avoid an extra dict lookup the next time. If we don't find anything, cache GenericRdata, to avoid extra module loads the next time. | |||||
| * | Optimize get_rdata_class(). | Brian Wellington | 2020-04-02 | 1 | -15/+16 | |
| | | | | | | | | This replaces the module cache with a class cache, so that the getattr() call to retrieve the class happens only when a new type module is loaded, not in the common case. This also allows avoiding the calls to dns.rdataclass.to_text() and dns.rdatatype.to_text() in the common case. | |||||
| * | Use importlib.import_module. | Brian Wellington | 2020-04-02 | 1 | -15/+1 | |
| | | | | | Replace the open-coded import_module() with the one in importlib. | |||||
| * | types with properties should be get-only | Bob Halley | 2020-04-02 | 3 | -47/+21 | |
| | | ||||||
| * | import needed stuff | Bob Halley | 2020-04-02 | 1 | -1/+1 | |
| | | ||||||
| * | more delinting | Bob Halley | 2020-04-02 | 1 | -3/+3 | |
| | | ||||||
| * | delint | Bob Halley | 2020-04-02 | 2 | -2/+3 | |
| | | ||||||
| * | add reverse_query() | Bob Halley | 2020-04-02 | 1 | -0/+2 | |
| | | ||||||
| * | Merge pull request #438 from bwelling/improve-rdataset-repr | Bob Halley | 2020-04-02 | 2 | -2/+12 | |
| |\ | | | | | Improve rdataset/rrset repr to include rdata. | |||||
| | * | Improve rdataset/rrset repr to include rdata. | Brian Wellington | 2020-04-01 | 2 | -2/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, repr() of rdataset/rrset looked like this: <DNS IN A rdataset> <DNS IN TXT rdataset> <DNS IN RRSIG rdataset> <DNS example. IN A RRset> <DNS example. IN TXT RRset> <DNS example. IN RRSIG(NSEC) RRset> With this patch, it they look like: <DNS IN A rdataset: [<1.2.3.4>, <5.6.7.8>]> <DNS IN TXT rdataset: [<"foo" "bar">, <"baz">]> <DNS IN RRSIG(NSEC) rdataset: [<NSEC 1 3 3600 20200101000000 20030101000000 2143 foo MxFcby9k/yvedMfQgKzhH5er0Mu/vILz 45IkskceFGgiWC...>]> <DNS example. IN A RRset: [<1.2.3.4>, <5.6.7.8>]> <DNS example. IN TXT RRset: [<"foo" "bar">, <"baz">]> <DNS example. IN RRSIG(NSEC) RRset: [<NSEC 1 3 3600 20200101000000 20030101000000 2143 foo MxFcby9k/yvedMfQgKzhH5er0Mu/vILz 45IkskceFGgiWC...>]> Note that each rdata is truncated to 100 characters. | |||||
| * | | Merge pull request #434 from bwelling/immutable-rdata | Bob Halley | 2020-04-02 | 38 | -162/+188 | |
| |\ \ | | | | | | | Immutable rdata | |||||
| | * | | Checkpoint immutable rdata. | Brian Wellington | 2020-03-31 | 38 | -162/+188 | |
| | |/ | ||||||
| * | | Merge pull request #437 from bwelling/remove-rdata-choose-relativity | Bob Halley | 2020-04-02 | 13 | -50/+0 | |
| |\ \ | | | | | | | Remove dns.rdata.choose_relativity(). | |||||
| | * | | Remove dns.rdata.choose_relativity(). | Brian Wellington | 2020-03-31 | 13 | -50/+0 | |
| | |/ | | | | | | | | | | | This method changes rdata in place, so prevents rdata from becoming immutable. There are no in-tree users, and if there are out of tree users, they are rate and hard to find. | |||||
| * | | Merge pull request #413 from kimbo/kl/fix-xfr-fd-leak | Brian Wellington | 2020-04-01 | 1 | -101/+98 | |
| |\ \ | |/ |/| | prevent fd from leaking (fix #351) | |||||
| | * | prevent fd from leaking (fix #351) | kimbo | 2020-02-26 | 1 | -101/+98 | |
| | | | ||||||
| * | | NSEC3 hash implementation and tests | Fabian Hauck | 2020-03-21 | 2 | -0/+45 | |
| | | | ||||||
| * | | Merge pull request #432 from bwelling/ds-sha384 | Bob Halley | 2020-03-20 | 1 | -0/+3 | |
| |\ \ | | | | | | | Add support for SHA-384 DS records. | |||||
