summaryrefslogtreecommitdiff
path: root/tests/test_tsig.py
Commit message (Collapse)AuthorAgeFilesLines
* enable TSIG text format testingBob Halley2020-08-271-2/+11
|
* Adds support for reading TSIG text format.Brian Wellington2020-08-101-0/+19
| | | | | | | | | | | | | | | | Implements from_text for the TSIG record type, and clean up some other things. Fixes the text format to emit fields in the right order; fudge and time_signed were reversed. This also matches BIND's output format now. Add get_uint48() to the tokenizer, so that from_text() can use it. Add get_uint48() to the wire parser, and use it in from_wire, for consistency. Change dns.tsig.sign() to use rdata.replace() rather than constructing a new TSIG record manually; this couldn't be done before, because replace() uses text format for validation.
* Add support for new TSIG algorithms.Brian Wellington2020-08-101-0/+19
| | | | | | This adds support for the hmac-sha256-128, hmac-sha384-192, and hmac-sha512-256 truncated algorithms. This also reorders some of the declarations in the TSIG code.
* Support callable() TSIG keyrings for use-cases like GSSTSig.Nick Hall2020-08-081-14/+69
|
* Add a lightweight wrapper around the HMAC types and refactor the "is gss-api ↵Nick Hall2020-08-081-5/+4
| | | | or not" wrapper functions to just call the class methods
* add additional test case with a request/response TSIGNick Hall2020-08-081-0/+10
|
* Add a number of additional tests to improve TSIG test coverage relatingNick Hall2020-08-081-3/+64
| | | | to gss-tsig change and some associated refactoring.
* Add gss-tsig support to dnspythonNick Hall2020-08-081-2/+26
|
* more message coverageBob Halley2020-07-251-1/+13
|
* Merge pull request #531 from bwelling/tsig2Bob Halley2020-07-071-8/+10
|\ | | | | Split TSIG sign and validate.
| * Split TSIG sign and validate.Brian Wellington2020-07-071-8/+10
| |
* | TSIG code now uses dns.rcode.Rcode enum values for the TSIG error field.Bob Halley2020-07-071-4/+5
|/
* Store a TSIG rrset on the message object.Brian Wellington2020-06-301-5/+3
|
* improve TSIG coverageBob Halley2020-06-191-0/+66