]> 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 <nicki@isc.org>
Thu, 27 Nov 2025 13:02:49 +0000 (14:02 +0100)
commit0bf20f8d68705d2b4fa52a0c77a28ec25ab277af
treed6050c38dfa8dceb2942f3d36304dcfdbb97687f
parent1ede6683cd6d3e435579182807bf1eb561d4c930
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.
bin/tests/system/isctest/kasp.py
bin/tests/system/rollover-multisigner/tests_rollover_multisigner.py