]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Initial changes to prepare for SIG(0) (#1202)
authorJakob Schlyter <jakob@kirei.se>
Thu, 25 Sep 2025 18:01:43 +0000 (20:01 +0200)
committerGitHub <noreply@github.com>
Thu, 25 Sep 2025 18:01:43 +0000 (11:01 -0700)
commit4c72db9788ce826c3dc156785583cf733f1ea9aa
tree68c31aec9ce9b4bb5b947e9f5de9fc1755117b99
parentfa92e09c55c79b625a66b8a242d6d71e02f21e99
Initial changes to prepare for SIG(0) (#1202)

* # This is a combination of 6 commits.
# This is the 1st commit message:

Initial changes to prepare for SIG(0):
- Add shared RRSIGBase for code shared between RRSIG and SIG
- Add KEY RR
- Add SIG RR

# This is the commit message #2:

Parse flags mnemonics and symbolic protocol names

# This is the commit message #3:

RFC 2535 section 7.1 says "Note that if the type flags field has the NOKEY value, nothing appears after the algorithm octet."

# This is the commit message #4:

Include sphinx only for Python 3.11 or later (#1225)

* Include sphinx only for Python 3.11 or later

* Use python_version
# This is the commit message #5:

Save token before returning it (for exception handling)

# This is the commit message #6:

Replace get/unget with plain unget and last token

* Initial changes to prepare for SIG(0):
- Add shared RRSIGBase for code shared between RRSIG and SIG
- Add KEY RR
- Add SIG RR
- Parse flags mnemonics and symbolic protocol names

* Make pyright happy
dns/rdtypes/ANY/KEY.py [new file with mode: 0644]
dns/rdtypes/ANY/RRSIG.py
dns/rdtypes/ANY/SIG.py [new file with mode: 0644]
dns/rdtypes/rrsigbase.py [new file with mode: 0644]
tests/test_rdtypeanykey.py [new file with mode: 0644]