mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-23 18:47:40 -04:00
Disable keyfromlabel collision avoidance in tests
With the collision avoidance on, some of the tests would occasionally fail. None of the tests using keyfromlabel are revoking the keys so it should be safe to disable it.
This commit is contained in:
parent
b3c025837d
commit
2ecbe46e0d
2 changed files with 2 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ keyfromlabel() {
|
|||
dir="$4"
|
||||
shift 4
|
||||
|
||||
$KEYFRLAB -K $dir -a $alg -l "pkcs11:token=softhsm2-enginepkcs11;object=${id}-${zone};pin-source=$PWD/ns1/pin" "$@" $zone >>keyfromlabel.out.$zone.$id 2>keyfromlabel.err.$zone.$id || return 1
|
||||
$KEYFRLAB -K $dir -a $alg -y -l "pkcs11:token=softhsm2-enginepkcs11;object=${id}-${zone};pin-source=$PWD/ns1/pin" "$@" $zone >>keyfromlabel.out.$zone.$id 2>keyfromlabel.err.$zone.$id || return 1
|
||||
cat keyfromlabel.out.$zone.$id
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -138,6 +138,7 @@ def test_keyfromlabel(alg_name, alg_type, alg_bits):
|
|||
os.environ["KEYFRLAB"],
|
||||
"-a",
|
||||
alg_name,
|
||||
"-y",
|
||||
"-l",
|
||||
f"pkcs11:token=softhsm2-keyfromlabel;object={key_id}-{zone};pin-source=pin",
|
||||
*key_flag,
|
||||
|
|
|
|||
Loading…
Reference in a new issue