]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Better deal with backwards compatibility. 527/head
authorBrian Wellington <bwelling@xbill.org>
Wed, 1 Jul 2020 21:58:14 +0000 (14:58 -0700)
committerBrian Wellington <bwelling@xbill.org>
Wed, 1 Jul 2020 22:01:04 +0000 (15:01 -0700)
commit77e747da6bd5b9b7732d1a28ee0572bf9bcd827b
treedbb702bd8f07a2583c473d7e073b8a4eae9b2feb
parent0703a8e6d132d4c988d5886233e49d3740c0e6a8
Better deal with backwards compatibility.

If dns.tsigkeyring.from_text() creates dns.tsig.Key objects with the
default algorithm, that causes problems for code that specifies a
different algorithm.  There's no good way to handle this, so change
dns.tsigkeyring.from_text() to not create dns.tsig.Key objects unless it
knows the algorithm.
dns/tsig.py
dns/tsigkeyring.py
tests/test_resolution.py
tests/test_tsigkeyring.py