bind9/bin
Matthijs Mekking d4b2b7072d Update legacy-keys kasp test
The 'legacy-keys.kasp' test checks that a zone with key files but not
yet state files is signed correctly. This test is expanded to cover
the case where old key files still exist in the key directory. This
covers bug #2406 where keys with the "Delete" timing metadata are
picked up by the keymgr as active keys.

Fix the 'legacy-keys.kasp' test, by creating the right key files
(for zone 'legacy-keys.kasp', not 'legacy,kasp').

Use a unique policy for this zone, using shorter lifetimes.

Create two more keys for the zone, and use 'dnssec-settime' to set
the timing metadata in the past, long enough ago so that the keys
should not be considered by the keymgr.

Update the 'key_unused()' test function, and consider keys with
their "Delete" timing metadata in the past as unused.

Extend the test to ensure that the keys to be used are not the old
predecessor keys (with their "Delete" timing metadata in the past).

Update the test so that the checks performed are consistent with the
newly configured policy.
2021-02-03 08:35:56 +01:00
..
check Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
confgen Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
delv Reformat sources using clang-format-11 2020-12-08 18:36:23 +01:00
dig Report unknown dash option during the pre-parse phase 2021-01-26 13:26:10 +01:00
dnssec Cleanup redundant isc_rwlock_init() result checks 2021-02-03 12:22:33 +11:00
named implement xfrin via XoT 2021-01-29 12:07:38 +01:00
nsupdate Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
pkcs11 Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
plugins Use libuv's shared library handling capabilities 2020-10-28 15:48:58 +01:00
rndc Drop unused headers 2020-11-11 10:08:12 +01:00
tests Update legacy-keys kasp test 2021-02-03 08:35:56 +01:00
tools Handle shared library platforms that don't support inter library dependancies 2020-12-21 01:09:45 +00:00
win32/BINDInstall Revert "Drop bigkey" 2020-11-10 17:34:05 +01:00
Makefile.am Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00