]> git.ipfire.org Git - thirdparty/bind9.git/commit
Update class Key
authorMatthijs Mekking <matthijs@isc.org>
Fri, 14 Mar 2025 09:38:43 +0000 (10:38 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 10 Apr 2025 21:18:34 +0000 (21:18 +0000)
commit32a58da89be04972bef2e3019e37eb6604a00111
treee4ff37519198312066e452dc1e20836d854e3a49
parented04954aa423219068eb36fa50b591727524533a
Update class Key

Because we want to check the metadata in all three files, a new
value in the Key class is added: 'privatefile'. The 'get_metadata'
function is adapted so that we can also check metadata in other files.

Introduce methods to easily retrieve the TTL and public DNSKEY record
from the keyfile.

When checking if the CDS is equal to the expected value, use the DNSKEY
TTL instead of hardcoded 3600.

(cherry picked from commit 97f6b7ad11c3c1d6c1ceeaada5776759649afa49)
bin/tests/system/isctest/kasp.py