]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] new: test: Create trust anchors from isctest.kasp.Key
authorNicki Křížek <nicki@isc.org>
Thu, 27 Nov 2025 14:26:38 +0000 (15:26 +0100)
committerNicki Křížek <nicki@isc.org>
Thu, 27 Nov 2025 14:26:38 +0000 (15:26 +0100)
commita562f1e95e304e4c89ebf1bf24dc46d6a9c6dfab
treef6837acf1d994ac48c8bdbb2dd9cc0ac7670c8e1
parent94fa7217059fc08bf31f4c87452f985e16a3bb8b
parentbb20762627893486e69f0a1543757185d05ad076
[9.20] new: test: Create trust anchors from isctest.kasp.Key

Add isctest.kasp.Key.into_ta() method which convert the key into DS /
DNSKEY trust anchor for BIND config. Add a shared template
trusted.conf.j2 which can be linked to in tests to create the trust
anchor configuration from trust anchor data returned from bootstrap()
function.

This is basically a python replacement for the keyfile_to_static_ds (and
friends) from the conf.sh shell framework.

Backport of MR !11201

Merge branch 'backport-nicki/pytest-add-trust-anchor-template-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!11294