|
|
10d019 |
From c23daf334d5487fa53fef88c82312e439a2d8523 Mon Sep 17 00:00:00 2001
|
|
|
2e2c49 |
From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
|
|
|
2e2c49 |
Date: Thu, 2 Aug 2018 23:46:45 +0200
|
|
|
10d019 |
Subject: [PATCH] FIPS tests changes
|
|
|
2e2c49 |
MIME-Version: 1.0
|
|
|
2e2c49 |
Content-Type: text/plain; charset=UTF-8
|
|
|
2e2c49 |
Content-Transfer-Encoding: 8bit
|
|
|
2e2c49 |
|
|
|
10d019 |
Squashed commit of the following:
|
|
|
10d019 |
|
|
|
2e2c49 |
commit 09e5eb48698d4fef2fc1031870de86c553b6bfaa
|
|
|
2e2c49 |
Author: Petr Menšík <pemensik@redhat.com>
|
|
|
2e2c49 |
Date: Wed Mar 7 20:35:13 2018 +0100
|
|
|
2e2c49 |
|
|
|
2e2c49 |
Fix nsupdate test. Do not use md5 by default for rndc, skip gracefully md5 if not available.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
commit ab303db70082db76ecf36493d0b82ef3e8750cad
|
|
|
2e2c49 |
Author: Petr Menšík <pemensik@redhat.com>
|
|
|
2e2c49 |
Date: Wed Mar 7 18:11:10 2018 +0100
|
|
|
2e2c49 |
|
|
|
2e2c49 |
Changed root key to be RSASHA256
|
|
|
2e2c49 |
|
|
|
2e2c49 |
Change bad trusted key to be the same algorithm.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
commit 88ab07c0e14cc71247e1f9d11a1ea832b64c1ee8
|
|
|
2e2c49 |
Author: Petr Menšík <pemensik@redhat.com>
|
|
|
2e2c49 |
Date: Wed Mar 7 16:56:17 2018 +0100
|
|
|
2e2c49 |
|
|
|
2e2c49 |
Change used key to not use hmac-md5
|
|
|
2e2c49 |
|
|
|
2e2c49 |
Fix upforwd test, do not use hmac-md5
|
|
|
2e2c49 |
|
|
|
2e2c49 |
commit aec891571626f053acfb4d0a247240cbc21a84e9
|
|
|
2e2c49 |
Author: Petr Menšík <pemensik@redhat.com>
|
|
|
2e2c49 |
Date: Wed Mar 7 15:54:11 2018 +0100
|
|
|
2e2c49 |
|
|
|
2e2c49 |
Increase bitsize of DSA key to pass FIPS 140-2 mode.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
commit bca8e164fa0d9aff2f946b8b4eb0f1f7e0bf6696
|
|
|
2e2c49 |
Author: Petr Menšík <pemensik@redhat.com>
|
|
|
2e2c49 |
Date: Wed Mar 7 15:41:08 2018 +0100
|
|
|
2e2c49 |
|
|
|
2e2c49 |
Fix tsig and rndc tests for disabled md5
|
|
|
2e2c49 |
|
|
|
2e2c49 |
Use hmac-sha256 instead of hmac-md5.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
commit 0d314c1ab6151aa13574a21ad22f28d3b7f42a67
|
|
|
2e2c49 |
Author: Petr Menšík <pemensik@redhat.com>
|
|
|
2e2c49 |
Date: Wed Mar 7 13:21:00 2018 +0100
|
|
|
2e2c49 |
|
|
|
2e2c49 |
Add md5 availability detection to featuretest
|
|
|
2e2c49 |
|
|
|
2e2c49 |
commit f389a918803e2853e4b55fed62765dc4a492e34f
|
|
|
2e2c49 |
Author: Petr Menšík <pemensik@redhat.com>
|
|
|
2e2c49 |
Date: Wed Mar 7 10:44:23 2018 +0100
|
|
|
2e2c49 |
|
|
|
2e2c49 |
Change tests to not use hmac-md5 algorithms if not required
|
|
|
2e2c49 |
|
|
|
2e2c49 |
Use hmac-sha256 instead of default hmac-md5 for allow-query
|
|
|
2e2c49 |
---
|
|
|
10d019 |
bin/tests/system/acl/ns2/named1.conf.in | 4 +-
|
|
|
10d019 |
bin/tests/system/acl/ns2/named2.conf.in | 4 +-
|
|
|
10d019 |
bin/tests/system/acl/ns2/named3.conf.in | 6 +-
|
|
|
10d019 |
bin/tests/system/acl/ns2/named4.conf.in | 4 +-
|
|
|
10d019 |
bin/tests/system/acl/ns2/named5.conf.in | 4 +-
|
|
|
10d019 |
bin/tests/system/acl/tests.sh | 32 ++++-----
|
|
|
10d019 |
.../system/allow-query/ns2/named10.conf.in | 2 +-
|
|
|
10d019 |
.../system/allow-query/ns2/named11.conf.in | 4 +-
|
|
|
10d019 |
.../system/allow-query/ns2/named12.conf.in | 2 +-
|
|
|
10d019 |
.../system/allow-query/ns2/named30.conf.in | 2 +-
|
|
|
10d019 |
.../system/allow-query/ns2/named31.conf.in | 4 +-
|
|
|
10d019 |
.../system/allow-query/ns2/named32.conf.in | 2 +-
|
|
|
10d019 |
.../system/allow-query/ns2/named40.conf.in | 4 +-
|
|
|
10d019 |
bin/tests/system/allow-query/tests.sh | 18 ++---
|
|
|
10d019 |
bin/tests/system/catz/ns1/named.conf.in | 2 +-
|
|
|
10d019 |
bin/tests/system/catz/ns2/named.conf.in | 2 +-
|
|
|
10d019 |
bin/tests/system/checkconf/bad-tsig.conf | 2 +-
|
|
|
10d019 |
bin/tests/system/checkconf/good.conf | 2 +-
|
|
|
10d019 |
bin/tests/system/digdelv/ns2/example.db | 15 +++--
|
|
|
10d019 |
bin/tests/system/digdelv/tests.sh | 20 +++---
|
|
|
10d019 |
bin/tests/system/dlv/ns1/sign.sh | 4 +-
|
|
|
10d019 |
bin/tests/system/dlv/ns2/sign.sh | 4 +-
|
|
|
10d019 |
bin/tests/system/dlv/ns6/sign.sh | 66 +++++++++---------
|
|
|
10d019 |
bin/tests/system/dnssec/ns2/sign.sh | 8 +--
|
|
|
10d019 |
bin/tests/system/dnssec/ns5/trusted.conf.bad | 2 +-
|
|
|
10d019 |
bin/tests/system/dnssec/tests.sh | 4 +-
|
|
|
10d019 |
bin/tests/system/feature-test.c | 14 ++++
|
|
|
10d019 |
bin/tests/system/filter-aaaa/ns1/sign.sh | 4 +-
|
|
|
10d019 |
bin/tests/system/filter-aaaa/ns4/sign.sh | 4 +-
|
|
|
10d019 |
bin/tests/system/notify/ns5/named.conf.in | 6 +-
|
|
|
10d019 |
bin/tests/system/notify/tests.sh | 6 +-
|
|
|
10d019 |
bin/tests/system/nsupdate/ns1/named.conf.in | 2 +-
|
|
|
10d019 |
bin/tests/system/nsupdate/ns2/named.conf.in | 2 +-
|
|
|
10d019 |
bin/tests/system/nsupdate/setup.sh | 7 +-
|
|
|
10d019 |
bin/tests/system/nsupdate/tests.sh | 11 ++-
|
|
|
10d019 |
bin/tests/system/rndc/setup.sh | 2 +-
|
|
|
10d019 |
bin/tests/system/rndc/tests.sh | 23 ++++---
|
|
|
10d019 |
bin/tests/system/tsig/clean.sh | 1 +
|
|
|
10d019 |
bin/tests/system/tsig/ns1/named.conf.in | 10 +--
|
|
|
10d019 |
bin/tests/system/tsig/setup.sh | 5 ++
|
|
|
10d019 |
bin/tests/system/tsig/tests.sh | 67 ++++++++++++-------
|
|
|
10d019 |
bin/tests/system/tsiggss/setup.sh | 2 +-
|
|
|
10d019 |
bin/tests/system/upforwd/ns1/named.conf.in | 2 +-
|
|
|
10d019 |
bin/tests/system/upforwd/tests.sh | 2 +-
|
|
|
10d019 |
bin/tests/system/tsig/ns1/rndc5.conf.in | 10 +++
|
|
|
10d019 |
45 files changed, 232 insertions(+), 171 deletions(-)
|
|
|
2e2c49 |
create mode 100644 bin/tests/system/tsig/ns1/rndc5.conf.in
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/acl/ns2/named1.conf.in b/bin/tests/system/acl/ns2/named1.conf.in
|
|
|
10d019 |
index 0ea6502..026db3f 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/acl/ns2/named1.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/acl/ns2/named1.conf.in
|
|
|
2e2c49 |
@@ -33,12 +33,12 @@ options {
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key one {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key two {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/acl/ns2/named2.conf.in b/bin/tests/system/acl/ns2/named2.conf.in
|
|
|
10d019 |
index b877880..d8f50be 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/acl/ns2/named2.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/acl/ns2/named2.conf.in
|
|
|
2e2c49 |
@@ -33,12 +33,12 @@ options {
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key one {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key two {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/acl/ns2/named3.conf.in b/bin/tests/system/acl/ns2/named3.conf.in
|
|
|
10d019 |
index 0a95062..aa54088 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/acl/ns2/named3.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/acl/ns2/named3.conf.in
|
|
|
2e2c49 |
@@ -33,17 +33,17 @@ options {
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key one {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key two {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key three {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/acl/ns2/named4.conf.in b/bin/tests/system/acl/ns2/named4.conf.in
|
|
|
10d019 |
index 7cdcb6e..606a345 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/acl/ns2/named4.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/acl/ns2/named4.conf.in
|
|
|
2e2c49 |
@@ -33,12 +33,12 @@ options {
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key one {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key two {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/acl/ns2/named5.conf.in b/bin/tests/system/acl/ns2/named5.conf.in
|
|
|
10d019 |
index 4b4e050..0e679a8 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/acl/ns2/named5.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/acl/ns2/named5.conf.in
|
|
|
2e2c49 |
@@ -34,12 +34,12 @@ options {
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key one {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key two {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/acl/tests.sh b/bin/tests/system/acl/tests.sh
|
|
|
10d019 |
index 09f31f2..f88f0d4 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/acl/tests.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/acl/tests.sh
|
|
|
2e2c49 |
@@ -22,14 +22,14 @@ echo_i "testing basic ACL processing"
|
|
|
2e2c49 |
# key "one" should fail
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 10.53.0.1 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 10.53.0.1 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
|
|
|
2e2c49 |
# any other key should be fine
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 10.53.0.1 axfr -y hmac-sha256:two:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
copy_setports ns2/named2.conf.in ns2/named.conf
|
|
|
2e2c49 |
@@ -39,18 +39,18 @@ sleep 5
|
|
|
2e2c49 |
# prefix 10/8 should fail
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 10.53.0.1 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 10.53.0.1 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
# any other address should work, as long as it sends key "one"
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 127.0.0.1 axfr -y two:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 127.0.0.1 axfr -y hmac-sha256:two:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 127.0.0.1 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 127.0.0.1 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
echo_i "testing nested ACL processing"
|
|
|
2e2c49 |
@@ -62,31 +62,31 @@ sleep 5
|
|
|
2e2c49 |
# should succeed
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 10.53.0.2 axfr -y two:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 10.53.0.2 axfr -y hmac-sha256:two:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
# should succeed
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 10.53.0.2 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 10.53.0.2 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
# should succeed
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 10.53.0.1 axfr -y hmac-sha256:two:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
# should succeed
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 10.53.0.1 axfr -y hmac-sha256:two:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
# but only one or the other should fail
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 127.0.0.1 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 127.0.0.1 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
@@ -97,7 +97,7 @@ grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $tt failed" ; status=1
|
|
|
2e2c49 |
# and other values? right out
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 127.0.0.1 axfr -y three:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 127.0.0.1 axfr -y hmac-sha256:three:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
# now we only allow 10.53.0.1 *and* key one, or 10.53.0.2 *and* key two
|
|
|
2e2c49 |
@@ -108,31 +108,31 @@ sleep 5
|
|
|
2e2c49 |
# should succeed
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 10.53.0.2 axfr -y two:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 10.53.0.2 axfr -y hmac-sha256:two:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
# should succeed
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 10.53.0.1 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 10.53.0.1 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
# should fail
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 10.53.0.2 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 10.53.0.2 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
# should fail
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 10.53.0.1 axfr -y hmac-sha256:two:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
# should fail
|
|
|
2e2c49 |
t=`expr $t + 1`
|
|
|
2e2c49 |
$DIG $DIGOPTS tsigzone. \
|
|
|
2e2c49 |
- @10.53.0.2 -b 10.53.0.3 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
+ @10.53.0.2 -b 10.53.0.3 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
2e2c49 |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
2e2c49 |
|
|
|
2e2c49 |
echo_i "testing allow-query-on ACL processing"
|
|
|
2e2c49 |
diff --git a/bin/tests/system/allow-query/ns2/named10.conf.in b/bin/tests/system/allow-query/ns2/named10.conf.in
|
|
|
10d019 |
index 1569913..e9c5c2d 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/allow-query/ns2/named10.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/allow-query/ns2/named10.conf.in
|
|
|
2e2c49 |
@@ -12,7 +12,7 @@
|
|
|
2e2c49 |
controls { /* empty */ };
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key one {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/allow-query/ns2/named11.conf.in b/bin/tests/system/allow-query/ns2/named11.conf.in
|
|
|
10d019 |
index 18ac91c..2b1c873 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/allow-query/ns2/named11.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/allow-query/ns2/named11.conf.in
|
|
|
2e2c49 |
@@ -12,12 +12,12 @@
|
|
|
2e2c49 |
controls { /* empty */ };
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key one {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key two {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234efgh8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/allow-query/ns2/named12.conf.in b/bin/tests/system/allow-query/ns2/named12.conf.in
|
|
|
10d019 |
index b824844..dd48945 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/allow-query/ns2/named12.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/allow-query/ns2/named12.conf.in
|
|
|
2e2c49 |
@@ -12,7 +12,7 @@
|
|
|
2e2c49 |
controls { /* empty */ };
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key one {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/allow-query/ns2/named30.conf.in b/bin/tests/system/allow-query/ns2/named30.conf.in
|
|
|
10d019 |
index aeb1540..bfce58b 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/allow-query/ns2/named30.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/allow-query/ns2/named30.conf.in
|
|
|
2e2c49 |
@@ -12,7 +12,7 @@
|
|
|
2e2c49 |
controls { /* empty */ };
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key one {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/allow-query/ns2/named31.conf.in b/bin/tests/system/allow-query/ns2/named31.conf.in
|
|
|
10d019 |
index d4b7432..e0f5252 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/allow-query/ns2/named31.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/allow-query/ns2/named31.conf.in
|
|
|
2e2c49 |
@@ -12,12 +12,12 @@
|
|
|
2e2c49 |
controls { /* empty */ };
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key one {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key two {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234efgh8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/allow-query/ns2/named32.conf.in b/bin/tests/system/allow-query/ns2/named32.conf.in
|
|
|
10d019 |
index c025938..87afb3f 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/allow-query/ns2/named32.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/allow-query/ns2/named32.conf.in
|
|
|
2e2c49 |
@@ -12,7 +12,7 @@
|
|
|
2e2c49 |
controls { /* empty */ };
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key one {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/allow-query/ns2/named40.conf.in b/bin/tests/system/allow-query/ns2/named40.conf.in
|
|
|
10d019 |
index d83b376..d726b94 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/allow-query/ns2/named40.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/allow-query/ns2/named40.conf.in
|
|
|
2e2c49 |
@@ -16,12 +16,12 @@ acl accept { 10.53.0.2; };
|
|
|
2e2c49 |
acl badaccept { 10.53.0.1; };
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key one {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key two {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "1234efgh8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/allow-query/tests.sh b/bin/tests/system/allow-query/tests.sh
|
|
|
10d019 |
index fb6059d..f960156 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/allow-query/tests.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/allow-query/tests.sh
|
|
|
2e2c49 |
@@ -190,7 +190,7 @@ rndc_reload
|
|
|
2e2c49 |
|
|
|
2e2c49 |
echo_i "test $n: key allowed - query allowed"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
grep 'status: NOERROR' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
2e2c49 |
grep '^a.normal.example' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
@@ -203,7 +203,7 @@ rndc_reload
|
|
|
2e2c49 |
|
|
|
2e2c49 |
echo_i "test $n: key not allowed - query refused"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y two:1234efgh8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:two:1234efgh8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
grep 'status: REFUSED' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
2e2c49 |
grep '^a.normal.example' dig.out.ns2.$n > /dev/null && ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
@@ -216,7 +216,7 @@ rndc_reload
|
|
|
2e2c49 |
|
|
|
2e2c49 |
echo_i "test $n: key disallowed - query refused"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
grep 'status: REFUSED' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
2e2c49 |
grep '^a.normal.example' dig.out.ns2.$n > /dev/null && ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
@@ -349,7 +349,7 @@ rndc_reload
|
|
|
2e2c49 |
|
|
|
2e2c49 |
echo_i "test $n: views key allowed - query allowed"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
grep 'status: NOERROR' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
2e2c49 |
grep '^a.normal.example' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
@@ -362,7 +362,7 @@ rndc_reload
|
|
|
2e2c49 |
|
|
|
2e2c49 |
echo_i "test $n: views key not allowed - query refused"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y two:1234efgh8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:two:1234efgh8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
grep 'status: REFUSED' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
2e2c49 |
grep '^a.normal.example' dig.out.ns2.$n > /dev/null && ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
@@ -375,7 +375,7 @@ rndc_reload
|
|
|
2e2c49 |
|
|
|
2e2c49 |
echo_i "test $n: views key disallowed - query refused"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
grep 'status: REFUSED' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
2e2c49 |
grep '^a.normal.example' dig.out.ns2.$n > /dev/null && ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
@@ -508,7 +508,7 @@ status=`expr $status + $ret`
|
|
|
2e2c49 |
n=`expr $n + 1`
|
|
|
2e2c49 |
echo_i "test $n: zone key allowed - query allowed"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y one:1234abcd8765 a.keyallow.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:one:1234abcd8765 a.keyallow.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
grep 'status: NOERROR' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
2e2c49 |
grep '^a.keyallow.example' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
@@ -518,7 +518,7 @@ status=`expr $status + $ret`
|
|
|
2e2c49 |
n=`expr $n + 1`
|
|
|
2e2c49 |
echo_i "test $n: zone key not allowed - query refused"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y two:1234efgh8765 a.keyallow.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:two:1234efgh8765 a.keyallow.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
grep 'status: REFUSED' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
2e2c49 |
grep '^a.keyallow.example' dig.out.ns2.$n > /dev/null && ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
@@ -528,7 +528,7 @@ status=`expr $status + $ret`
|
|
|
2e2c49 |
n=`expr $n + 1`
|
|
|
2e2c49 |
echo_i "test $n: zone key disallowed - query refused"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y one:1234abcd8765 a.keydisallow.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:one:1234abcd8765 a.keydisallow.example a > dig.out.ns2.$n || ret=1
|
|
|
2e2c49 |
grep 'status: REFUSED' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
2e2c49 |
grep '^a.keydisallow.example' dig.out.ns2.$n > /dev/null && ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
diff --git a/bin/tests/system/catz/ns1/named.conf.in b/bin/tests/system/catz/ns1/named.conf.in
|
|
|
10d019 |
index 74b7d37..c353766 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/catz/ns1/named.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/catz/ns1/named.conf.in
|
|
|
2e2c49 |
@@ -61,5 +61,5 @@ zone "catalog4.example" {
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key tsig_key. {
|
|
|
2e2c49 |
secret "LSAnCU+Z";
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
diff --git a/bin/tests/system/catz/ns2/named.conf.in b/bin/tests/system/catz/ns2/named.conf.in
|
|
|
10d019 |
index ee83efb..35ced08 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/catz/ns2/named.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/catz/ns2/named.conf.in
|
|
|
2e2c49 |
@@ -70,5 +70,5 @@ zone "catalog4.example" {
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key tsig_key. {
|
|
|
2e2c49 |
secret "LSAnCU+Z";
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
diff --git a/bin/tests/system/checkconf/bad-tsig.conf b/bin/tests/system/checkconf/bad-tsig.conf
|
|
|
10d019 |
index 21be03e..e57c308 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/checkconf/bad-tsig.conf
|
|
|
2e2c49 |
+++ b/bin/tests/system/checkconf/bad-tsig.conf
|
|
|
2e2c49 |
@@ -11,7 +11,7 @@
|
|
|
2e2c49 |
|
|
|
2e2c49 |
/* Bad secret */
|
|
|
2e2c49 |
key "badtsig" {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha256;
|
|
|
2e2c49 |
secret "jEdD+BPKg==";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/checkconf/good.conf b/bin/tests/system/checkconf/good.conf
|
|
|
10d019 |
index 9ab35b3..486551a 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/checkconf/good.conf
|
|
|
2e2c49 |
+++ b/bin/tests/system/checkconf/good.conf
|
|
|
2e2c49 |
@@ -153,6 +153,6 @@ dyndb "name" "library.so" {
|
|
|
2e2c49 |
system;
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
key "mykey" {
|
|
|
2e2c49 |
- algorithm "hmac-md5";
|
|
|
2e2c49 |
+ algorithm "hmac-sha256";
|
|
|
2e2c49 |
secret "qwertyuiopasdfgh";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
diff --git a/bin/tests/system/digdelv/ns2/example.db b/bin/tests/system/digdelv/ns2/example.db
|
|
|
10d019 |
index f4e30f5..9f53e31 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/digdelv/ns2/example.db
|
|
|
2e2c49 |
+++ b/bin/tests/system/digdelv/ns2/example.db
|
|
|
2e2c49 |
@@ -38,12 +38,15 @@ foo SSHFP 2 1 123456789abcdef67890123456789abcdef67890
|
|
|
2e2c49 |
;;
|
|
|
2e2c49 |
;; we are not testing DNSSEC behavior, so we don't care about the semantics
|
|
|
2e2c49 |
;; of the following records.
|
|
|
2e2c49 |
-dnskey 300 DNSKEY 256 3 1 (
|
|
|
2e2c49 |
- AQPTpWyReB/e9Ii6mVGnakS8hX2zkh/iUYAg
|
|
|
2e2c49 |
- +Ge4noWROpTWOIBvm76zeJPWs4Zfqa1IsswD
|
|
|
2e2c49 |
- Ix5Mqeg0zwclz59uecKsKyx5w9IhtZ8plc4R
|
|
|
2e2c49 |
- b9VIE5x7KNHAYTvTO5d4S8M=
|
|
|
2e2c49 |
- )
|
|
|
2e2c49 |
+dnskey 300 DNSKEY 256 3 8 (
|
|
|
2e2c49 |
+ AwEAAaWmCoDpj2K59zcpqnmnQM7IC/XbjS6jIP7uTBR4X7p1bdQJzAeo
|
|
|
2e2c49 |
+ EnMhnpnxPp0j+20eZm4847DB2U+HuHy79Mvqd3aozTmfBJvzjKs9qyba
|
|
|
2e2c49 |
+ zY/ZHn6BDYxNJiFfjSS/VJ1KuQPDbpCzhm2hbvT5s9nSOaG0WyRk+d+R
|
|
|
2e2c49 |
+ qEca11E7ZKkmmNiGlyzMAgfmTTBwgxWBAAhvd9nU1GqD6eQ6Z63hpTc/
|
|
|
2e2c49 |
+ KDIHnFTo7pOcZ4z5urIKUMCMcFytedETlEoR5CIWGPdQq2eIEEMfn5ld
|
|
|
2e2c49 |
+ QqdEZRHVErD9og8aluJ2s767HZb8LzjCfYgBFoT9/n48T75oZLEKtSkG
|
|
|
2e2c49 |
+ /idCeeQlaLU=
|
|
|
2e2c49 |
+ )
|
|
|
2e2c49 |
|
|
|
2e2c49 |
; TTL of 3 weeks
|
|
|
2e2c49 |
weeks 1814400 A 10.53.0.2
|
|
|
2e2c49 |
diff --git a/bin/tests/system/digdelv/tests.sh b/bin/tests/system/digdelv/tests.sh
|
|
|
10d019 |
index ade45ce..d3aff24 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/digdelv/tests.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/digdelv/tests.sh
|
|
|
10d019 |
@@ -106,7 +106,7 @@ if [ -x "$DIG" ] ; then
|
|
|
2e2c49 |
echo_i "checking dig +rrcomments works for DNSKEY($n)"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
$DIG $DIGOPTS +tcp @10.53.0.3 +rrcomments DNSKEY dnskey.example > dig.out.test$n || ret=1
|
|
|
2e2c49 |
- grep "; ZSK; alg = RSAMD5 ; key id = 30795" < dig.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
+ grep "; ZSK; alg = RSASHA256 ; key id = 36895$" < dig.out.test$n > /dev/null || ret=1
|
|
|
10d019 |
check_ttl_range dig.out.test$n "DNSKEY" 300 || ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
status=`expr $status + $ret`
|
|
|
10d019 |
@@ -115,7 +115,7 @@ if [ -x "$DIG" ] ; then
|
|
|
2e2c49 |
echo_i "checking dig +short +rrcomments works for DNSKEY ($n)"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
$DIG $DIGOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > dig.out.test$n || ret=1
|
|
|
2e2c49 |
- grep "; ZSK; alg = RSAMD5 ; key id = 30795" < dig.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
+ grep "; ZSK; alg = RSASHA256 ; key id = 36895$" < dig.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
status=`expr $status + $ret`
|
|
|
2e2c49 |
|
|
|
10d019 |
@@ -123,7 +123,7 @@ if [ -x "$DIG" ] ; then
|
|
|
2e2c49 |
echo_i "checking dig +short +nosplit works($n)"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
$DIG $DIGOPTS +tcp @10.53.0.3 +short +nosplit DNSKEY dnskey.example > dig.out.test$n || ret=1
|
|
|
2e2c49 |
- grep "Z8plc4Rb9VIE5x7KNHAYTvTO5d4S8M=$" < dig.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
+ grep "T9/n48T75oZLEKtSkG/idCeeQlaLU=$" < dig.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
status=`expr $status + $ret`
|
|
|
2e2c49 |
|
|
|
10d019 |
@@ -131,7 +131,7 @@ if [ -x "$DIG" ] ; then
|
|
|
2e2c49 |
echo_i "checking dig +short +rrcomments works($n)"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
$DIG $DIGOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > dig.out.test$n || ret=1
|
|
|
2e2c49 |
- grep "S8M= ; ZSK; alg = RSAMD5 ; key id = 30795$" < dig.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
+ grep "aLU= ; ZSK; alg = RSASHA256 ; key id = 36895$" < dig.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
status=`expr $status + $ret`
|
|
|
2e2c49 |
|
|
|
10d019 |
@@ -148,7 +148,7 @@ if [ -x "$DIG" ] ; then
|
|
|
2e2c49 |
echo_i "checking dig +short +rrcomments works($n)"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
$DIG $DIGOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > dig.out.test$n || ret=1
|
|
|
2e2c49 |
- grep "S8M= ; ZSK; alg = RSAMD5 ; key id = 30795$" < dig.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
+ grep "aLU= ; ZSK; alg = RSASHA256 ; key id = 36895$" < dig.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
status=`expr $status + $ret`
|
|
|
2e2c49 |
|
|
|
10d019 |
@@ -695,7 +695,7 @@ if [ -x ${DELV} ] ; then
|
|
|
2e2c49 |
echo_i "checking delv +rrcomments works for DNSKEY($n)"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
$DELV $DELVOPTS +tcp @10.53.0.3 +rrcomments DNSKEY dnskey.example > delv.out.test$n || ret=1
|
|
|
2e2c49 |
- grep "; ZSK; alg = RSAMD5 ; key id = 30795" < delv.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
+ grep "; ZSK; alg = RSASHA256 ; key id = 36895" < delv.out.test$n > /dev/null || ret=1
|
|
|
10d019 |
check_ttl_range delv.out.test$n "DNSKEY" 300 || ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
status=`expr $status + $ret`
|
|
|
10d019 |
@@ -704,7 +704,7 @@ if [ -x ${DELV} ] ; then
|
|
|
2e2c49 |
echo_i "checking delv +short +rrcomments works for DNSKEY ($n)"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
$DELV $DELVOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > delv.out.test$n || ret=1
|
|
|
2e2c49 |
- grep "; ZSK; alg = RSAMD5 ; key id = 30795" < delv.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
+ grep "; ZSK; alg = RSASHA256 ; key id = 36895" < delv.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
status=`expr $status + $ret`
|
|
|
2e2c49 |
|
|
|
10d019 |
@@ -712,7 +712,7 @@ if [ -x ${DELV} ] ; then
|
|
|
2e2c49 |
echo_i "checking delv +short +rrcomments works ($n)"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
$DELV $DELVOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > delv.out.test$n || ret=1
|
|
|
2e2c49 |
- grep "S8M= ; ZSK; alg = RSAMD5 ; key id = 30795$" < delv.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
+ grep "aLU= ; ZSK; alg = RSASHA256 ; key id = 36895$" < delv.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
status=`expr $status + $ret`
|
|
|
2e2c49 |
|
|
|
10d019 |
@@ -720,7 +720,7 @@ if [ -x ${DELV} ] ; then
|
|
|
2e2c49 |
echo_i "checking delv +short +nosplit works ($n)"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
$DELV $DELVOPTS +tcp @10.53.0.3 +short +nosplit DNSKEY dnskey.example > delv.out.test$n || ret=1
|
|
|
2e2c49 |
- grep "Z8plc4Rb9VIE5x7KNHAYTvTO5d4S8M=" < delv.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
+ grep "T9/n48T75oZLEKtSkG/idCeeQlaLU=" < delv.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
if test `wc -l < delv.out.test$n` != 1 ; then ret=1 ; fi
|
|
|
2e2c49 |
f=`awk '{print NF}' < delv.out.test$n`
|
|
|
2e2c49 |
test "${f:-0}" -eq 14 || ret=1
|
|
|
10d019 |
@@ -731,7 +731,7 @@ if [ -x ${DELV} ] ; then
|
|
|
2e2c49 |
echo_i "checking delv +short +nosplit +norrcomments works ($n)"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
$DELV $DELVOPTS +tcp @10.53.0.3 +short +nosplit +norrcomments DNSKEY dnskey.example > delv.out.test$n || ret=1
|
|
|
2e2c49 |
- grep "Z8plc4Rb9VIE5x7KNHAYTvTO5d4S8M=$" < delv.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
+ grep "T9/n48T75oZLEKtSkG/idCeeQlaLU=$" < delv.out.test$n > /dev/null || ret=1
|
|
|
2e2c49 |
if test `wc -l < delv.out.test$n` != 1 ; then ret=1 ; fi
|
|
|
2e2c49 |
f=`awk '{print NF}' < delv.out.test$n`
|
|
|
2e2c49 |
test "${f:-0}" -eq 4 || ret=1
|
|
|
2e2c49 |
diff --git a/bin/tests/system/dlv/ns1/sign.sh b/bin/tests/system/dlv/ns1/sign.sh
|
|
|
10d019 |
index 606e7cc..a3a0d60 100755
|
|
|
2e2c49 |
--- a/bin/tests/system/dlv/ns1/sign.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/dlv/ns1/sign.sh
|
|
|
2e2c49 |
@@ -23,8 +23,8 @@ infile=root.db.in
|
|
|
2e2c49 |
zonefile=root.db
|
|
|
2e2c49 |
outfile=root.signed
|
|
|
2e2c49 |
|
|
|
10d019 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
10d019 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 1024 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 1024 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/dlv/ns2/sign.sh b/bin/tests/system/dlv/ns2/sign.sh
|
|
|
10d019 |
index 9825c57..202c978 100755
|
|
|
2e2c49 |
--- a/bin/tests/system/dlv/ns2/sign.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/dlv/ns2/sign.sh
|
|
|
2e2c49 |
@@ -24,8 +24,8 @@ zonefile=druz.db
|
|
|
2e2c49 |
outfile=druz.pre
|
|
|
2e2c49 |
dlvzone=utld.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 1024 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 1024 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/dlv/ns6/sign.sh b/bin/tests/system/dlv/ns6/sign.sh
|
|
|
10d019 |
index 1e39862..4ed19ac 100755
|
|
|
2e2c49 |
--- a/bin/tests/system/dlv/ns6/sign.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/dlv/ns6/sign.sh
|
|
|
2e2c49 |
@@ -16,13 +16,15 @@ SYSTESTDIR=dlv
|
|
|
2e2c49 |
|
|
|
2e2c49 |
echo_i "dlv/ns6/sign.sh"
|
|
|
2e2c49 |
|
|
|
2e2c49 |
+bits=1024
|
|
|
2e2c49 |
+
|
|
|
2e2c49 |
zone=grand.child1.utld.
|
|
|
2e2c49 |
infile=child.db.in
|
|
|
2e2c49 |
zonefile=grand.child1.utld.db
|
|
|
2e2c49 |
outfile=grand.child1.signed
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -36,8 +38,8 @@ zonefile=grand.child3.utld.db
|
|
|
2e2c49 |
outfile=grand.child3.signed
|
|
|
2e2c49 |
dlvzone=dlv.utld.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -51,8 +53,8 @@ zonefile=grand.child4.utld.db
|
|
|
2e2c49 |
outfile=grand.child4.signed
|
|
|
2e2c49 |
dlvzone=dlv.utld.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -66,8 +68,8 @@ zonefile=grand.child5.utld.db
|
|
|
2e2c49 |
outfile=grand.child5.signed
|
|
|
2e2c49 |
dlvzone=dlv.utld.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -81,8 +83,8 @@ zonefile=grand.child7.utld.db
|
|
|
2e2c49 |
outfile=grand.child7.signed
|
|
|
2e2c49 |
dlvzone=dlv.utld.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -96,8 +98,8 @@ zonefile=grand.child8.utld.db
|
|
|
2e2c49 |
outfile=grand.child8.signed
|
|
|
2e2c49 |
dlvzone=dlv.utld.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -111,8 +113,8 @@ zonefile=grand.child9.utld.db
|
|
|
2e2c49 |
outfile=grand.child9.signed
|
|
|
2e2c49 |
dlvzone=dlv.utld.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -125,8 +127,8 @@ zonefile=grand.child10.utld.db
|
|
|
2e2c49 |
outfile=grand.child10.signed
|
|
|
2e2c49 |
dlvzone=dlv.utld.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -138,8 +140,8 @@ infile=child.db.in
|
|
|
2e2c49 |
zonefile=grand.child1.druz.db
|
|
|
2e2c49 |
outfile=grand.child1.druz.signed
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -153,8 +155,8 @@ zonefile=grand.child3.druz.db
|
|
|
2e2c49 |
outfile=grand.child3.druz.signed
|
|
|
2e2c49 |
dlvzone=dlv.druz.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -168,8 +170,8 @@ zonefile=grand.child4.druz.db
|
|
|
2e2c49 |
outfile=grand.child4.druz.signed
|
|
|
2e2c49 |
dlvzone=dlv.druz.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -183,8 +185,8 @@ zonefile=grand.child5.druz.db
|
|
|
2e2c49 |
outfile=grand.child5.druz.signed
|
|
|
2e2c49 |
dlvzone=dlv.druz.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -198,8 +200,8 @@ zonefile=grand.child7.druz.db
|
|
|
2e2c49 |
outfile=grand.child7.druz.signed
|
|
|
2e2c49 |
dlvzone=dlv.druz.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -213,8 +215,8 @@ zonefile=grand.child8.druz.db
|
|
|
2e2c49 |
outfile=grand.child8.druz.signed
|
|
|
2e2c49 |
dlvzone=dlv.druz.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -228,8 +230,8 @@ zonefile=grand.child9.druz.db
|
|
|
2e2c49 |
outfile=grand.child9.druz.signed
|
|
|
2e2c49 |
dlvzone=dlv.druz.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
@@ -242,8 +244,8 @@ zonefile=grand.child10.druz.db
|
|
|
2e2c49 |
outfile=grand.child10.druz.signed
|
|
|
2e2c49 |
dlvzone=dlv.druz.
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b $bits -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/dnssec/ns2/sign.sh b/bin/tests/system/dnssec/ns2/sign.sh
|
|
|
10d019 |
index 13fb924..1ffa279 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/dnssec/ns2/sign.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/dnssec/ns2/sign.sh
|
|
|
10d019 |
@@ -126,8 +126,8 @@ zone=in-addr.arpa.
|
|
|
2e2c49 |
infile=in-addr.arpa.db.in
|
|
|
2e2c49 |
zonefile=in-addr.arpa.db
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -q -r $RANDFILE -a DSA -b 768 -n zone $zone`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -q -r $RANDFILE -a DSA -b 768 -n zone $zone`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -q -r $RANDFILE -a DSA -b 1024 -n zone $zone`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -q -r $RANDFILE -a DSA -b 1024 -n zone $zone`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
$SIGNER -P -g -r $RANDFILE -o $zone -k $keyname1 $zonefile $keyname2 > /dev/null
|
|
|
10d019 |
@@ -138,7 +138,7 @@ privzone=private.secure.example
|
|
|
2e2c49 |
privinfile=private.secure.example.db.in
|
|
|
2e2c49 |
privzonefile=private.secure.example.db
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-privkeyname=`$KEYGEN -q -r $RANDFILE -a RSAMD5 -b 768 -n zone $privzone`
|
|
|
2e2c49 |
+privkeyname=`$KEYGEN -q -r $RANDFILE -a RSASHA256 -b 1024 -n zone $privzone`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $privinfile $privkeyname.key >$privzonefile
|
|
|
2e2c49 |
|
|
|
10d019 |
@@ -152,7 +152,7 @@ dlvinfile=dlv.db.in
|
|
|
2e2c49 |
dlvzonefile=dlv.db
|
|
|
10d019 |
dlvsetfile=dlvset-${privzone}${TP}
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-dlvkeyname=`$KEYGEN -q -r $RANDFILE -a RSAMD5 -b 768 -n zone $dlvzone`
|
|
|
2e2c49 |
+dlvkeyname=`$KEYGEN -q -r $RANDFILE -a RSASHA256 -b 1024 -n zone $dlvzone`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $dlvinfile $dlvkeyname.key $dlvsetfile > $dlvzonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/dnssec/ns5/trusted.conf.bad b/bin/tests/system/dnssec/ns5/trusted.conf.bad
|
|
|
10d019 |
index ed30460..e6b1126 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/dnssec/ns5/trusted.conf.bad
|
|
|
2e2c49 |
+++ b/bin/tests/system/dnssec/ns5/trusted.conf.bad
|
|
|
2e2c49 |
@@ -10,5 +10,5 @@
|
|
|
2e2c49 |
*/
|
|
|
2e2c49 |
|
|
|
2e2c49 |
trusted-keys {
|
|
|
2e2c49 |
- "." 256 3 1 "AQO6Cl+slAf+iuieDim9L3kujFHQD7s/IOj03ClMOpKYcTXtK4mRpuULVfvWxDi9Ew/gj0xLnnX7z9OJHIxLI+DSrAHd8Dm0XfBEAtVtJSn70GaPZgnLMw1rk5ap2DsEoWk=";
|
|
|
2e2c49 |
+ "." 256 3 8 "AwEAAarwAdjV4gIhpBCjXVAScRFEx3co7k8smJdxrnqoGsl5NB7EZ9jRdgvCXbJn6v8y9jlNWVHvaC8ilhfhLh0A1vLWiWv4ijd/12xcnrY7xpG7Cu3YkxUxaXJ7Jdg/Iw1+9mGgXF1v4UbCIcw/3U3cxyk7OxYg+VSb5KBAQSR0upxV";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
diff --git a/bin/tests/system/dnssec/tests.sh b/bin/tests/system/dnssec/tests.sh
|
|
|
10d019 |
index b31c1b4..a5e237b 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/dnssec/tests.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/dnssec/tests.sh
|
|
|
10d019 |
@@ -3235,8 +3235,8 @@ do
|
|
|
2e2c49 |
alg=`expr $alg + 1`
|
|
|
2e2c49 |
continue;;
|
|
|
2e2c49 |
3) size="-b 512";;
|
|
|
2e2c49 |
- 5) size="-b 512";;
|
|
|
2e2c49 |
- 6) size="-b 512";;
|
|
|
2e2c49 |
+ 5) size="-b 1024";;
|
|
|
2e2c49 |
+ 6) size="-b 1024";;
|
|
|
2e2c49 |
7) size="-b 512";;
|
|
|
2e2c49 |
8) size="-b 512";;
|
|
|
2e2c49 |
10) size="-b 1024";;
|
|
|
2e2c49 |
diff --git a/bin/tests/system/feature-test.c b/bin/tests/system/feature-test.c
|
|
|
10d019 |
index c1249ed..20a3139 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/feature-test.c
|
|
|
2e2c49 |
+++ b/bin/tests/system/feature-test.c
|
|
|
2e2c49 |
@@ -19,6 +19,7 @@
|
|
|
2e2c49 |
#include <isc/print.h>
|
|
|
2e2c49 |
#include <isc/util.h>
|
|
|
2e2c49 |
#include <isc/net.h>
|
|
|
2e2c49 |
+#include <isc/md5.h>
|
|
|
2e2c49 |
#include <dns/edns.h>
|
|
|
2e2c49 |
|
|
|
2e2c49 |
#ifdef WIN32
|
|
|
10d019 |
@@ -47,6 +48,7 @@ usage() {
|
|
|
10d019 |
fprintf(stderr, " --have-geoip2\n");
|
|
|
2e2c49 |
fprintf(stderr, " --have-libxml2\n");
|
|
|
2e2c49 |
fprintf(stderr, " --ipv6only=no\n");
|
|
|
2e2c49 |
+ fprintf(stderr, " --md5\n");
|
|
|
2e2c49 |
fprintf(stderr, " --rpz-nsdname\n");
|
|
|
2e2c49 |
fprintf(stderr, " --rpz-nsip\n");
|
|
|
2e2c49 |
fprintf(stderr, " --with-idn\n");
|
|
|
10d019 |
@@ -155,6 +157,18 @@ main(int argc, char **argv) {
|
|
|
2e2c49 |
#endif
|
|
|
2e2c49 |
}
|
|
|
2e2c49 |
|
|
|
2e2c49 |
+ if (strcmp(argv[1], "--md5") == 0) {
|
|
|
2e2c49 |
+#ifdef PK11_MD5_DISABLE
|
|
|
2e2c49 |
+ return (1);
|
|
|
2e2c49 |
+#else
|
|
|
2e2c49 |
+ if (isc_md5_available()) {
|
|
|
2e2c49 |
+ return (0);
|
|
|
2e2c49 |
+ } else {
|
|
|
2e2c49 |
+ return (1);
|
|
|
2e2c49 |
+ }
|
|
|
2e2c49 |
+#endif
|
|
|
2e2c49 |
+ }
|
|
|
2e2c49 |
+
|
|
|
2e2c49 |
if (strcmp(argv[1], "--rpz-nsip") == 0) {
|
|
|
2e2c49 |
#ifdef ENABLE_RPZ_NSIP
|
|
|
2e2c49 |
return (0);
|
|
|
2e2c49 |
diff --git a/bin/tests/system/filter-aaaa/ns1/sign.sh b/bin/tests/system/filter-aaaa/ns1/sign.sh
|
|
|
10d019 |
index f755581..4a7d890 100755
|
|
|
2e2c49 |
--- a/bin/tests/system/filter-aaaa/ns1/sign.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/filter-aaaa/ns1/sign.sh
|
|
|
2e2c49 |
@@ -21,8 +21,8 @@ infile=signed.db.in
|
|
|
2e2c49 |
zonefile=signed.db.signed
|
|
|
2e2c49 |
outfile=signed.db.signed
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 1024 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 1024 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/filter-aaaa/ns4/sign.sh b/bin/tests/system/filter-aaaa/ns4/sign.sh
|
|
|
10d019 |
index f755581..4a7d890 100755
|
|
|
2e2c49 |
--- a/bin/tests/system/filter-aaaa/ns4/sign.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/filter-aaaa/ns4/sign.sh
|
|
|
2e2c49 |
@@ -21,8 +21,8 @@ infile=signed.db.in
|
|
|
2e2c49 |
zonefile=signed.db.signed
|
|
|
2e2c49 |
outfile=signed.db.signed
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
-keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname1=`$KEYGEN -r $RANDFILE -a DSA -b 1024 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
+keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 1024 -n zone $zone 2> /dev/null`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/notify/ns5/named.conf.in b/bin/tests/system/notify/ns5/named.conf.in
|
|
|
10d019 |
index cfcfe8f..0a1614d 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/notify/ns5/named.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/notify/ns5/named.conf.in
|
|
|
2e2c49 |
@@ -10,17 +10,17 @@
|
|
|
2e2c49 |
*/
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key "a" {
|
|
|
2e2c49 |
- algorithm "hmac-md5";
|
|
|
2e2c49 |
+ algorithm "hmac-sha256";
|
|
|
2e2c49 |
secret "aaaaaaaaaaaaaaaaaaaa";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key "b" {
|
|
|
2e2c49 |
- algorithm "hmac-md5";
|
|
|
2e2c49 |
+ algorithm "hmac-sha256";
|
|
|
2e2c49 |
secret "bbbbbbbbbbbbbbbbbbbb";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key "c" {
|
|
|
2e2c49 |
- algorithm "hmac-md5";
|
|
|
2e2c49 |
+ algorithm "hmac-sha256";
|
|
|
2e2c49 |
secret "cccccccccccccccccccc";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/notify/tests.sh b/bin/tests/system/notify/tests.sh
|
|
|
10d019 |
index 1f6e6d0..c08bd25 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/notify/tests.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/notify/tests.sh
|
|
|
10d019 |
@@ -212,16 +212,16 @@ ret=0
|
|
|
2e2c49 |
$NSUPDATE << EOF
|
|
|
2e2c49 |
server 10.53.0.5 ${PORT}
|
|
|
2e2c49 |
zone x21
|
|
|
2e2c49 |
-key a aaaaaaaaaaaaaaaaaaaa
|
|
|
2e2c49 |
+key hmac-sha256:a aaaaaaaaaaaaaaaaaaaa
|
|
|
2e2c49 |
update add added.x21 0 in txt "test string"
|
|
|
2e2c49 |
send
|
|
|
2e2c49 |
EOF
|
|
|
2e2c49 |
|
|
|
2e2c49 |
for i in 1 2 3 4 5 6 7 8 9
|
|
|
2e2c49 |
do
|
|
|
2e2c49 |
- $DIG $DIGOPTS added.x21. -y b:bbbbbbbbbbbbbbbbbbbb @10.53.0.5 \
|
|
|
2e2c49 |
+ $DIG $DIGOPTS added.x21. -y hmac-sha256:b:bbbbbbbbbbbbbbbbbbbb @10.53.0.5 \
|
|
|
2e2c49 |
txt > dig.out.b.ns5.test$n || ret=1
|
|
|
2e2c49 |
- $DIG $DIGOPTS added.x21. -y c:cccccccccccccccccccc @10.53.0.5 \
|
|
|
2e2c49 |
+ $DIG $DIGOPTS added.x21. -y hmac-sha256:c:cccccccccccccccccccc @10.53.0.5 \
|
|
|
2e2c49 |
txt > dig.out.c.ns5.test$n || ret=1
|
|
|
2e2c49 |
grep "test string" dig.out.b.ns5.test$n > /dev/null &&
|
|
|
2e2c49 |
grep "test string" dig.out.c.ns5.test$n > /dev/null &&
|
|
|
2e2c49 |
diff --git a/bin/tests/system/nsupdate/ns1/named.conf.in b/bin/tests/system/nsupdate/ns1/named.conf.in
|
|
|
10d019 |
index 1d999ad..26b6b7c 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/nsupdate/ns1/named.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/nsupdate/ns1/named.conf.in
|
|
|
2e2c49 |
@@ -32,7 +32,7 @@ controls {
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key altkey {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha512;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/nsupdate/ns2/named.conf.in b/bin/tests/system/nsupdate/ns2/named.conf.in
|
|
|
10d019 |
index 4549184..cb7dccd 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/nsupdate/ns2/named.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/nsupdate/ns2/named.conf.in
|
|
|
10d019 |
@@ -33,7 +33,7 @@ controls {
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key altkey {
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
+ algorithm hmac-sha512;
|
|
|
2e2c49 |
secret "1234abcd8765";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/nsupdate/setup.sh b/bin/tests/system/nsupdate/setup.sh
|
|
|
10d019 |
index 21805c5..0d3d85c 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/nsupdate/setup.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/nsupdate/setup.sh
|
|
|
10d019 |
@@ -58,7 +58,12 @@ EOF
|
|
|
2e2c49 |
|
|
|
2e2c49 |
$DDNSCONFGEN -q -r $RANDFILE -z example.nil > ns1/ddns.key
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-$DDNSCONFGEN -q -r $RANDFILE -a hmac-md5 -k md5-key -z keytests.nil > ns1/md5.key
|
|
|
2e2c49 |
+if $FEATURETEST --md5; then
|
|
|
2e2c49 |
+ $DDNSCONFGEN -q -r $RANDFILE -a hmac-md5 -k md5-key -z keytests.nil > ns1/md5.key
|
|
|
2e2c49 |
+else
|
|
|
2e2c49 |
+ echo -n > ns1/md5.key
|
|
|
2e2c49 |
+fi
|
|
|
2e2c49 |
+
|
|
|
2e2c49 |
$DDNSCONFGEN -q -r $RANDFILE -a hmac-sha1 -k sha1-key -z keytests.nil > ns1/sha1.key
|
|
|
2e2c49 |
$DDNSCONFGEN -q -r $RANDFILE -a hmac-sha224 -k sha224-key -z keytests.nil > ns1/sha224.key
|
|
|
2e2c49 |
$DDNSCONFGEN -q -r $RANDFILE -a hmac-sha256 -k sha256-key -z keytests.nil > ns1/sha256.key
|
|
|
2e2c49 |
diff --git a/bin/tests/system/nsupdate/tests.sh b/bin/tests/system/nsupdate/tests.sh
|
|
|
10d019 |
index 4da4849..b3bc807 100755
|
|
|
2e2c49 |
--- a/bin/tests/system/nsupdate/tests.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/nsupdate/tests.sh
|
|
|
10d019 |
@@ -708,7 +708,14 @@ fi
|
|
|
2e2c49 |
n=`expr $n + 1`
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
echo_i "check TSIG key algorithms ($n)"
|
|
|
2e2c49 |
-for alg in md5 sha1 sha224 sha256 sha384 sha512; do
|
|
|
2e2c49 |
+if $FEATURETEST --md5
|
|
|
2e2c49 |
+then
|
|
|
2e2c49 |
+ ALGS="md5 sha1 sha224 sha256 sha384 sha512"
|
|
|
2e2c49 |
+else
|
|
|
2e2c49 |
+ ALGS="sha1 sha224 sha256 sha384 sha512"
|
|
|
2e2c49 |
+ echo_i "skipping disabled md5 algorithm"
|
|
|
2e2c49 |
+fi
|
|
|
2e2c49 |
+for alg in $ALGS; do
|
|
|
2e2c49 |
$NSUPDATE -k ns1/${alg}.key <<END > /dev/null || ret=1
|
|
|
2e2c49 |
server 10.53.0.1 ${PORT}
|
|
|
2e2c49 |
update add ${alg}.keytests.nil. 600 A 10.10.10.3
|
|
|
10d019 |
@@ -716,7 +723,7 @@ send
|
|
|
2e2c49 |
END
|
|
|
2e2c49 |
done
|
|
|
2e2c49 |
sleep 2
|
|
|
2e2c49 |
-for alg in md5 sha1 sha224 sha256 sha384 sha512; do
|
|
|
2e2c49 |
+for alg in $ALGS; do
|
|
|
2e2c49 |
$DIG $DIGOPTS +short @10.53.0.1 ${alg}.keytests.nil | grep 10.10.10.3 > /dev/null 2>&1 || ret=1
|
|
|
2e2c49 |
done
|
|
|
2e2c49 |
if [ $ret -ne 0 ]; then
|
|
|
2e2c49 |
diff --git a/bin/tests/system/rndc/setup.sh b/bin/tests/system/rndc/setup.sh
|
|
|
10d019 |
index 343869e..c30efb0 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/rndc/setup.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/rndc/setup.sh
|
|
|
2e2c49 |
@@ -37,7 +37,7 @@ make_key () {
|
|
|
2e2c49 |
sed 's/allow { 10.53.0.4/allow { any/' >> ns4/named.conf
|
|
|
2e2c49 |
}
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-make_key 1 ${EXTRAPORT1} hmac-md5
|
|
|
2e2c49 |
+$FEATURETEST --md5 && make_key 1 ${EXTRAPORT1} hmac-md5
|
|
|
2e2c49 |
make_key 2 ${EXTRAPORT2} hmac-sha1
|
|
|
2e2c49 |
make_key 3 ${EXTRAPORT3} hmac-sha224
|
|
|
2e2c49 |
make_key 4 ${EXTRAPORT4} hmac-sha256
|
|
|
2e2c49 |
diff --git a/bin/tests/system/rndc/tests.sh b/bin/tests/system/rndc/tests.sh
|
|
|
10d019 |
index 57e066d..186a723 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/rndc/tests.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/rndc/tests.sh
|
|
|
10d019 |
@@ -348,15 +348,20 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
status=`expr $status + $ret`
|
|
|
2e2c49 |
|
|
|
2e2c49 |
n=`expr $n + 1`
|
|
|
2e2c49 |
-echo_i "testing rndc with hmac-md5 ($n)"
|
|
|
2e2c49 |
-ret=0
|
|
|
2e2c49 |
-$RNDC -s 10.53.0.4 -p ${EXTRAPORT1} -c ns4/key1.conf status > /dev/null 2>&1 || ret=1
|
|
|
2e2c49 |
-for i in 2 3 4 5 6
|
|
|
2e2c49 |
-do
|
|
|
2e2c49 |
- $RNDC -s 10.53.0.4 -p ${EXTRAPORT1} -c ns4/key${i}.conf status > /dev/null 2>&1 && ret=1
|
|
|
2e2c49 |
-done
|
|
|
2e2c49 |
-if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
-status=`expr $status + $ret`
|
|
|
2e2c49 |
+if $FEATURETEST --md5
|
|
|
2e2c49 |
+then
|
|
|
2e2c49 |
+ echo_i "testing rndc with hmac-md5 ($n)"
|
|
|
2e2c49 |
+ ret=0
|
|
|
2e2c49 |
+ $RNDC -s 10.53.0.4 -p ${EXTRAPORT1} -c ns4/key1.conf status > /dev/null 2>&1 || ret=1
|
|
|
2e2c49 |
+ for i in 2 3 4 5 6
|
|
|
2e2c49 |
+ do
|
|
|
2e2c49 |
+ $RNDC -s 10.53.0.4 -p ${EXTRAPORT1} -c ns4/key${i}.conf status > /dev/null 2>&1 && ret=1
|
|
|
2e2c49 |
+ done
|
|
|
2e2c49 |
+ if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
2e2c49 |
+ status=`expr $status + $ret`
|
|
|
2e2c49 |
+else
|
|
|
2e2c49 |
+ echo_i "skipping rndc with hmac-md5 ($n)"
|
|
|
2e2c49 |
+fi
|
|
|
2e2c49 |
|
|
|
2e2c49 |
n=`expr $n + 1`
|
|
|
2e2c49 |
echo_i "testing rndc with hmac-sha1 ($n)"
|
|
|
2e2c49 |
diff --git a/bin/tests/system/tsig/clean.sh b/bin/tests/system/tsig/clean.sh
|
|
|
10d019 |
index 576ec70..cb7a852 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/tsig/clean.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/tsig/clean.sh
|
|
|
2e2c49 |
@@ -20,3 +20,4 @@ rm -f */named.run
|
|
|
2e2c49 |
rm -f ns*/named.lock
|
|
|
2e2c49 |
rm -f Kexample.net.+163+*
|
|
|
2e2c49 |
rm -f keygen.out?
|
|
|
2e2c49 |
+rm -f ns1/named.conf
|
|
|
2e2c49 |
diff --git a/bin/tests/system/tsig/ns1/named.conf.in b/bin/tests/system/tsig/ns1/named.conf.in
|
|
|
10d019 |
index fbf30c6..f61657d 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/tsig/ns1/named.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/tsig/ns1/named.conf.in
|
|
|
2e2c49 |
@@ -21,10 +21,7 @@ options {
|
|
|
2e2c49 |
notify no;
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-key "md5" {
|
|
|
2e2c49 |
- secret "97rnFx24Tfna4mHPfgnerA==";
|
|
|
2e2c49 |
- algorithm hmac-md5;
|
|
|
2e2c49 |
-};
|
|
|
2e2c49 |
+# md5 key appended by setup.sh at the end
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key "sha1" {
|
|
|
2e2c49 |
secret "FrSt77yPTFx6hTs4i2tKLB9LmE0=";
|
|
|
2e2c49 |
@@ -51,10 +48,7 @@ key "sha512" {
|
|
|
2e2c49 |
algorithm hmac-sha512;
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-key "md5-trunc" {
|
|
|
2e2c49 |
- secret "97rnFx24Tfna4mHPfgnerA==";
|
|
|
2e2c49 |
- algorithm hmac-md5-80;
|
|
|
2e2c49 |
-};
|
|
|
2e2c49 |
+# md5-trunc key appended by setup.sh at the end
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key "sha1-trunc" {
|
|
|
2e2c49 |
secret "FrSt77yPTFx6hTs4i2tKLB9LmE0=";
|
|
|
2e2c49 |
diff --git a/bin/tests/system/tsig/setup.sh b/bin/tests/system/tsig/setup.sh
|
|
|
10d019 |
index 4dd4a25..aa0f966 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/tsig/setup.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/tsig/setup.sh
|
|
|
10d019 |
@@ -17,3 +17,8 @@ $SHELL clean.sh
|
|
|
2e2c49 |
copy_setports ns1/named.conf.in ns1/named.conf
|
|
|
2e2c49 |
|
|
|
10d019 |
test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE
|
|
|
10d019 |
+
|
|
|
2e2c49 |
+if $FEATURETEST --md5
|
|
|
2e2c49 |
+then
|
|
|
2e2c49 |
+ cat ns1/rndc5.conf.in >> ns1/named.conf
|
|
|
2e2c49 |
+fi
|
|
|
2e2c49 |
diff --git a/bin/tests/system/tsig/tests.sh b/bin/tests/system/tsig/tests.sh
|
|
|
10d019 |
index f731fa6..cade35b 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/tsig/tests.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/tsig/tests.sh
|
|
|
2e2c49 |
@@ -26,20 +26,25 @@ sha512="jI/Pa4qRu96t76Pns5Z/Ndxbn3QCkwcxLOgt9vgvnJw5wqTRvNyk3FtD6yIMd1dWVlqZ+Y4f
|
|
|
2e2c49 |
|
|
|
2e2c49 |
status=0
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-echo_i "fetching using hmac-md5 (old form)"
|
|
|
2e2c49 |
-ret=0
|
|
|
2e2c49 |
-$DIG $DIGOPTS example.nil. -y "md5:$md5" @10.53.0.1 soa > dig.out.md5.old || ret=1
|
|
|
2e2c49 |
-grep -i "md5.*TSIG.*NOERROR" dig.out.md5.old > /dev/null || ret=1
|
|
|
2e2c49 |
-if [ $ret -eq 1 ] ; then
|
|
|
2e2c49 |
- echo_i "failed"; status=1
|
|
|
2e2c49 |
-fi
|
|
|
2e2c49 |
-
|
|
|
2e2c49 |
-echo_i "fetching using hmac-md5 (new form)"
|
|
|
2e2c49 |
-ret=0
|
|
|
2e2c49 |
-$DIG $DIGOPTS example.nil. -y "hmac-md5:md5:$md5" @10.53.0.1 soa > dig.out.md5.new || ret=1
|
|
|
2e2c49 |
-grep -i "md5.*TSIG.*NOERROR" dig.out.md5.new > /dev/null || ret=1
|
|
|
2e2c49 |
-if [ $ret -eq 1 ] ; then
|
|
|
2e2c49 |
- echo_i "failed"; status=1
|
|
|
2e2c49 |
+if $FEATURETEST --md5
|
|
|
2e2c49 |
+then
|
|
|
2e2c49 |
+ echo_i "fetching using hmac-md5 (old form)"
|
|
|
2e2c49 |
+ ret=0
|
|
|
2e2c49 |
+ $DIG $DIGOPTS example.nil. -y "md5:$md5" @10.53.0.1 soa > dig.out.md5.old || ret=1
|
|
|
2e2c49 |
+ grep -i "md5.*TSIG.*NOERROR" dig.out.md5.old > /dev/null || ret=1
|
|
|
2e2c49 |
+ if [ $ret -eq 1 ] ; then
|
|
|
2e2c49 |
+ echo_i "failed"; status=1
|
|
|
2e2c49 |
+ fi
|
|
|
2e2c49 |
+
|
|
|
2e2c49 |
+ echo_i "fetching using hmac-md5 (new form)"
|
|
|
2e2c49 |
+ ret=0
|
|
|
2e2c49 |
+ $DIG $DIGOPTS example.nil. -y "hmac-md5:md5:$md5" @10.53.0.1 soa > dig.out.md5.new || ret=1
|
|
|
2e2c49 |
+ grep -i "md5.*TSIG.*NOERROR" dig.out.md5.new > /dev/null || ret=1
|
|
|
2e2c49 |
+ if [ $ret -eq 1 ] ; then
|
|
|
2e2c49 |
+ echo_i "failed"; status=1
|
|
|
2e2c49 |
+ fi
|
|
|
2e2c49 |
+else
|
|
|
2e2c49 |
+ echo_i "skipping using hmac-md5"
|
|
|
2e2c49 |
fi
|
|
|
2e2c49 |
|
|
|
2e2c49 |
echo_i "fetching using hmac-sha1"
|
|
|
2e2c49 |
@@ -87,12 +92,17 @@ fi
|
|
|
2e2c49 |
# Truncated TSIG
|
|
|
2e2c49 |
#
|
|
|
2e2c49 |
#
|
|
|
2e2c49 |
-echo_i "fetching using hmac-md5 (trunc)"
|
|
|
2e2c49 |
-ret=0
|
|
|
2e2c49 |
-$DIG $DIGOPTS example.nil. -y "hmac-md5-80:md5-trunc:$md5" @10.53.0.1 soa > dig.out.md5.trunc || ret=1
|
|
|
2e2c49 |
-grep -i "md5-trunc.*TSIG.*NOERROR" dig.out.md5.trunc > /dev/null || ret=1
|
|
|
2e2c49 |
-if [ $ret -eq 1 ] ; then
|
|
|
2e2c49 |
- echo_i "failed"; status=1
|
|
|
2e2c49 |
+if $FEATURETEST --md5
|
|
|
2e2c49 |
+then
|
|
|
2e2c49 |
+ echo_i "fetching using hmac-md5 (trunc)"
|
|
|
2e2c49 |
+ ret=0
|
|
|
2e2c49 |
+ $DIG $DIGOPTS example.nil. -y "hmac-md5-80:md5-trunc:$md5" @10.53.0.1 soa > dig.out.md5.trunc || ret=1
|
|
|
2e2c49 |
+ grep -i "md5-trunc.*TSIG.*NOERROR" dig.out.md5.trunc > /dev/null || ret=1
|
|
|
2e2c49 |
+ if [ $ret -eq 1 ] ; then
|
|
|
2e2c49 |
+ echo_i "failed"; status=1
|
|
|
2e2c49 |
+ fi
|
|
|
2e2c49 |
+else
|
|
|
2e2c49 |
+ echo_i "skipping using hmac-md5 (trunc)"
|
|
|
2e2c49 |
fi
|
|
|
2e2c49 |
|
|
|
2e2c49 |
echo_i "fetching using hmac-sha1 (trunc)"
|
|
|
2e2c49 |
@@ -141,12 +151,17 @@ fi
|
|
|
2e2c49 |
# Check for bad truncation.
|
|
|
2e2c49 |
#
|
|
|
2e2c49 |
#
|
|
|
2e2c49 |
-echo_i "fetching using hmac-md5-80 (BADTRUNC)"
|
|
|
2e2c49 |
-ret=0
|
|
|
2e2c49 |
-$DIG $DIGOPTS example.nil. -y "hmac-md5-80:md5:$md5" @10.53.0.1 soa > dig.out.md5-80 || ret=1
|
|
|
2e2c49 |
-grep -i "md5.*TSIG.*BADTRUNC" dig.out.md5-80 > /dev/null || ret=1
|
|
|
2e2c49 |
-if [ $ret -eq 1 ] ; then
|
|
|
2e2c49 |
- echo_i "failed"; status=1
|
|
|
2e2c49 |
+if $FEATURETEST --md5
|
|
|
2e2c49 |
+then
|
|
|
2e2c49 |
+ echo_i "fetching using hmac-md5-80 (BADTRUNC)"
|
|
|
2e2c49 |
+ ret=0
|
|
|
2e2c49 |
+ $DIG $DIGOPTS example.nil. -y "hmac-md5-80:md5:$md5" @10.53.0.1 soa > dig.out.md5-80 || ret=1
|
|
|
2e2c49 |
+ grep -i "md5.*TSIG.*BADTRUNC" dig.out.md5-80 > /dev/null || ret=1
|
|
|
2e2c49 |
+ if [ $ret -eq 1 ] ; then
|
|
|
2e2c49 |
+ echo_i "failed"; status=1
|
|
|
2e2c49 |
+ fi
|
|
|
2e2c49 |
+else
|
|
|
2e2c49 |
+ echo_i "skipping using hmac-md5-80 (BADTRUNC)"
|
|
|
2e2c49 |
fi
|
|
|
2e2c49 |
|
|
|
2e2c49 |
echo_i "fetching using hmac-sha1-80 (BADTRUNC)"
|
|
|
2e2c49 |
diff --git a/bin/tests/system/tsiggss/setup.sh b/bin/tests/system/tsiggss/setup.sh
|
|
|
10d019 |
index 0d21c7b..dbcb7b4 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/tsiggss/setup.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/tsiggss/setup.sh
|
|
|
10d019 |
@@ -18,5 +18,5 @@ test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE
|
|
|
2e2c49 |
|
|
|
2e2c49 |
copy_setports ns1/named.conf.in ns1/named.conf
|
|
|
2e2c49 |
|
|
|
2e2c49 |
-key=`$KEYGEN -Cq -K ns1 -a DSA -b 512 -r $RANDFILE -n HOST -T KEY key.example.nil.`
|
|
|
2e2c49 |
+key=`$KEYGEN -Cq -K ns1 -a DSA -b 1024 -r $RANDFILE -n HOST -T KEY key.example.nil.`
|
|
|
2e2c49 |
cat ns1/example.nil.db.in ns1/${key}.key > ns1/example.nil.db
|
|
|
2e2c49 |
diff --git a/bin/tests/system/upforwd/ns1/named.conf.in b/bin/tests/system/upforwd/ns1/named.conf.in
|
|
|
10d019 |
index e0a30cd..6a77b1c 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/upforwd/ns1/named.conf.in
|
|
|
2e2c49 |
+++ b/bin/tests/system/upforwd/ns1/named.conf.in
|
|
|
2e2c49 |
@@ -10,7 +10,7 @@
|
|
|
2e2c49 |
*/
|
|
|
2e2c49 |
|
|
|
2e2c49 |
key "update.example." {
|
|
|
2e2c49 |
- algorithm "hmac-md5";
|
|
|
2e2c49 |
+ algorithm "hmac-sha256";
|
|
|
2e2c49 |
secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
|
|
|
2e2c49 |
};
|
|
|
2e2c49 |
|
|
|
2e2c49 |
diff --git a/bin/tests/system/upforwd/tests.sh b/bin/tests/system/upforwd/tests.sh
|
|
|
10d019 |
index b0694bb..9adae82 100644
|
|
|
2e2c49 |
--- a/bin/tests/system/upforwd/tests.sh
|
|
|
2e2c49 |
+++ b/bin/tests/system/upforwd/tests.sh
|
|
|
2e2c49 |
@@ -68,7 +68,7 @@ if [ $ret != 0 ] ; then echo_i "failed"; status=`expr $status + $ret`; fi
|
|
|
2e2c49 |
|
|
|
2e2c49 |
echo_i "updating zone (signed) ($n)"
|
|
|
2e2c49 |
ret=0
|
|
|
2e2c49 |
-$NSUPDATE -y update.example:c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K -- - <
|
|
|
2e2c49 |
+$NSUPDATE -y hmac-sha256:update.example:c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K -- - <
|
|
|
2e2c49 |
server 10.53.0.3 ${PORT}
|
|
|
2e2c49 |
update add updated.example. 600 A 10.10.10.1
|
|
|
2e2c49 |
update add updated.example. 600 TXT Foo
|
|
|
10d019 |
diff --git a/bin/tests/system/tsig/ns1/rndc5.conf.in b/bin/tests/system/tsig/ns1/rndc5.conf.in
|
|
|
10d019 |
new file mode 100644
|
|
|
10d019 |
index 0000000..0682194
|
|
|
10d019 |
--- /dev/null
|
|
|
10d019 |
+++ b/bin/tests/system/tsig/ns1/rndc5.conf.in
|
|
|
10d019 |
@@ -0,0 +1,10 @@
|
|
|
10d019 |
+# Conditionally included when support for MD5 is available
|
|
|
10d019 |
+key "md5" {
|
|
|
10d019 |
+ secret "97rnFx24Tfna4mHPfgnerA==";
|
|
|
10d019 |
+ algorithm hmac-md5;
|
|
|
10d019 |
+};
|
|
|
10d019 |
+
|
|
|
10d019 |
+key "md5-trunc" {
|
|
|
10d019 |
+ secret "97rnFx24Tfna4mHPfgnerA==";
|
|
|
10d019 |
+ algorithm hmac-md5-80;
|
|
|
10d019 |
+};
|
|
|
2e2c49 |
--
|
|
|
10d019 |
2.20.1
|
|
|
2e2c49 |
|