]> git.ipfire.org Git - thirdparty/bind9.git/commit
use DS style trust anchors in all system tests
authorEvan Hunt <each@isc.org>
Thu, 19 Sep 2019 02:41:40 +0000 (19:41 -0700)
committerEvan Hunt <each@isc.org>
Fri, 15 Nov 2019 23:47:57 +0000 (15:47 -0800)
commit54a682ea502b81f6c4f77fbebf0c9f8b4945bf54
tree83923b1413ba142cf97047ba8e15eafef8d152af
parent342cc9b168a8c260e51916b0e6b33a7fb4411e09
use DS style trust anchors in all system tests

this adds functions in conf.sh.common to create DS-style trust anchor
files. those functions are then used to create nearly all of the trust
anchors in the system tests.

there are a few exceptions:
 - some tests in dnssec and mkeys rely on detection of unsupported
   algorithms, which only works with key-style trust anchors, so those
   are used for those tests in particular.
 - the mirror test had a problem with the use of a CSK without a
   SEP bit, which still needs addressing

in the future, some of these tests should be changed back to using
traditional trust anchors, so that both types will be exercised going
forward.
23 files changed:
bin/tests/system/autosign/ns1/keygen.sh
bin/tests/system/autosign/ns2/keygen.sh
bin/tests/system/conf.sh.common
bin/tests/system/dnssec/ns1/sign.sh
bin/tests/system/dnssec/ns5/sign.sh
bin/tests/system/dsdigest/ns1/sign.sh
bin/tests/system/ecdsa/ns1/sign.sh
bin/tests/system/eddsa/ns1/sign.sh
bin/tests/system/filter-aaaa/ns1/sign.sh
bin/tests/system/inline/ns1/sign.sh
bin/tests/system/legacy/ns7/sign.sh
bin/tests/system/mkeys/ns1/sign.sh
bin/tests/system/mkeys/ns6/setup.sh
bin/tests/system/mkeys/tests.sh
bin/tests/system/pending/ns1/sign.sh
bin/tests/system/resolver/ns6/keygen.sh
bin/tests/system/rootkeysentinel/ns1/sign.sh
bin/tests/system/rsabigexponent/ns1/sign.sh
bin/tests/system/sfcache/ns1/sign.sh
bin/tests/system/sfcache/ns5/sign.sh
bin/tests/system/staticstub/ns3/sign.sh
bin/tests/system/synthfromdnssec/ns1/sign.sh
bin/tests/system/wildcard/ns1/sign.sh