]> git.ipfire.org Git - thirdparty/bind9.git/commit
Parse DNSKEY into a dnspython type in isctest.kasp.Key.dnskey
authorNicki Křížek <nicki@isc.org>
Fri, 24 Oct 2025 14:47:59 +0000 (16:47 +0200)
committerNicki Křížek (GitLab job 6545959) <nicki@isc.org>
Thu, 27 Nov 2025 13:49:51 +0000 (13:49 +0000)
commit710bcd4ef742581e08378ea35677eaa5f58f80c6
tree51ceeadab1cf2eedaf96710f654a585acf6466f2
parent94fa7217059fc08bf31f4c87452f985e16a3bb8b
Parse DNSKEY into a dnspython type in isctest.kasp.Key.dnskey

Previously, a DNSKEY string from keyfile was returned. This made the
function brittle for further processing, as the string would have to be
split up, concatenated, and TTL could be missing, making string indices
context-dependent.

Parse the DNSKEY rrset into a proper dnspython object and return it.
This makes the output more predictable and reliable, as all the
neccessary parsing is done by dnspython.

(cherry picked from commit 0bf20f8d68705d2b4fa52a0c77a28ec25ab277af)
bin/tests/system/isctest/kasp.py
bin/tests/system/rollover-multisigner/tests_rollover_multisigner.py