]> git.ipfire.org Git - thirdparty/dnspython.git/commit
More TSIG fixes. (#1207)
authorBrian Wellington <bwelling@xbill.org>
Thu, 10 Jul 2025 20:55:55 +0000 (13:55 -0700)
committerGitHub <noreply@github.com>
Thu, 10 Jul 2025 20:55:55 +0000 (13:55 -0700)
commit5171f9cd482e4ff31ca31c5b908940c4529acc14
tree66383f0af653e973f2ec484edaa1741689fbfbe7
parent99878bf292c86ca7d42b5341cb480f0833b83ba3
More TSIG fixes. (#1207)

* More TSIG fixes.

This attempts to fix the bug that when a message containing a TSIG
record is parsed from wire format, attempting to render it back to wire
format will either regenerate the TSIG (if the TSIG was verified) or
throw an exception (if the TSIG was not verified).  In either case,
the rendered message should contain the TSIG record that was parsed.

* Fix setting tsig_ctx.
dns/message.py
tests/test_tsig.py