mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 06:37:08 +00:00
- new keys and certs for dnscrypt tests.
git-svn-id: file:///svn/unbound/trunk@4318 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
f5a2cb3593
commit
cfcf5437f4
38
dnscrypt/testdata/gencert.sh
vendored
Executable file
38
dnscrypt/testdata/gencert.sh
vendored
Executable file
@ -0,0 +1,38 @@
|
||||
#!/bin/bash
|
||||
|
||||
CERT_EXPIRE_DAYS="$(( 365 * 15 ))"
|
||||
DIR="$(dirname "$0")"
|
||||
|
||||
|
||||
if [[ "$PWD" != *tdir ]]
|
||||
then
|
||||
echo "You should run this script with a .tdir directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for i in 1 2
|
||||
do
|
||||
# Ephemeral key
|
||||
rm -f "${i}.key"
|
||||
dnscrypt-wrapper --gen-crypt-keypair \
|
||||
--crypt-secretkey-file="${i}.key" \
|
||||
--provider-publickey-file="${DIR}/keys${i}/public.key" \
|
||||
--provider-secretkey-file="${DIR}/keys${i}/secret.key"
|
||||
# Cert file
|
||||
for cipher in salsa chacha
|
||||
do
|
||||
rm -f "${i}_${cipher}.cert"
|
||||
extraarg=""
|
||||
if [ "${cipher}" == "chacha" ]
|
||||
then
|
||||
extraarg="-x"
|
||||
fi
|
||||
|
||||
dnscrypt-wrapper ${extraarg} --gen-cert-file \
|
||||
--provider-cert-file="${i}_${cipher}.cert" \
|
||||
--crypt-secretkey-file="${i}.key" \
|
||||
--provider-publickey-file="${DIR}/keys${i}/public.key" \
|
||||
--provider-secretkey-file="${DIR}/keys${i}/secret.key" \
|
||||
--cert-file-expire-days="${CERT_EXPIRE_DAYS}"
|
||||
done
|
||||
done
|
1
dnscrypt/testdata/keys1/public.key
vendored
Normal file
1
dnscrypt/testdata/keys1/public.key
vendored
Normal file
@ -0,0 +1 @@
|
||||
¸_A¡O#÷ÛÈfó—ÌoD¶_<C2B6>eŶ)|'T¦éÜòO<C3B2>
|
1
dnscrypt/testdata/keys1/secret.key
vendored
Normal file
1
dnscrypt/testdata/keys1/secret.key
vendored
Normal file
@ -0,0 +1 @@
|
||||
-&ç6\Uùõñh`^"…ºz/C9‚
óˆ¸_A¡O#÷ÛÈfó—ÌoD¶_<C2B6>eŶ)|'T¦éÜòO<C3B2>
|
1
dnscrypt/testdata/keys2/public.key
vendored
Normal file
1
dnscrypt/testdata/keys2/public.key
vendored
Normal file
@ -0,0 +1 @@
|
||||
ΓR ς<>ύeµτ{φl<1A>ΑKΛ€Ξ:5r\±}KΣηƒ
|
1
dnscrypt/testdata/keys2/secret.key
vendored
Normal file
1
dnscrypt/testdata/keys2/secret.key
vendored
Normal file
@ -0,0 +1 @@
|
||||
ηi%‚ 5fΝ™–νΙϋ<CE99>νBnκΝ―.Ί“ΓR ς<>ύeµτ{φl<1A>ΑKΛ€Ξ:5r\±}KΣηƒ
|
@ -2,6 +2,7 @@
|
||||
- Fix #1414: fix segfault on parse failure and log_replies.
|
||||
- zero qinfo in handle_request, this zeroes local_alias and also the
|
||||
qname member.
|
||||
- new keys and certs for dnscrypt tests.
|
||||
|
||||
28 August 2017: Wouter
|
||||
- Fix #1415: patch to free dnscrypt environment on reload.
|
||||
|
BIN
testdata/dnscrypt_cert.tdir/1.key
vendored
BIN
testdata/dnscrypt_cert.tdir/1.key
vendored
Binary file not shown.
BIN
testdata/dnscrypt_cert.tdir/1_chacha.cert
vendored
Normal file
BIN
testdata/dnscrypt_cert.tdir/1_chacha.cert
vendored
Normal file
Binary file not shown.
BIN
testdata/dnscrypt_cert.tdir/1_salsa.cert
vendored
Normal file
BIN
testdata/dnscrypt_cert.tdir/1_salsa.cert
vendored
Normal file
Binary file not shown.
3
testdata/dnscrypt_cert.tdir/2.key
vendored
3
testdata/dnscrypt_cert.tdir/2.key
vendored
@ -1,2 +1 @@
|
||||
°Ů`˝éj0ČuĽx‚¶t[
|
||||
]ŮuRŞł@ť;f]Z<
|
||||
m7÷ЯБб┐x;▒%в╦У░И*∙эR╞Дс╞╧mD╙Я
|
BIN
testdata/dnscrypt_cert.tdir/2_chacha.cert
vendored
Normal file
BIN
testdata/dnscrypt_cert.tdir/2_chacha.cert
vendored
Normal file
Binary file not shown.
BIN
testdata/dnscrypt_cert.tdir/2_salsa.cert
vendored
Normal file
BIN
testdata/dnscrypt_cert.tdir/2_salsa.cert
vendored
Normal file
Binary file not shown.
BIN
testdata/dnscrypt_cert_chacha.tdir/1.key
vendored
BIN
testdata/dnscrypt_cert_chacha.tdir/1.key
vendored
Binary file not shown.
BIN
testdata/dnscrypt_cert_chacha.tdir/1_chacha.cert
vendored
Normal file
BIN
testdata/dnscrypt_cert_chacha.tdir/1_chacha.cert
vendored
Normal file
Binary file not shown.
BIN
testdata/dnscrypt_cert_chacha.tdir/1_salsa.cert
vendored
Normal file
BIN
testdata/dnscrypt_cert_chacha.tdir/1_salsa.cert
vendored
Normal file
Binary file not shown.
3
testdata/dnscrypt_cert_chacha.tdir/2.key
vendored
3
testdata/dnscrypt_cert_chacha.tdir/2.key
vendored
@ -1,2 +1 @@
|
||||
°Ů`˝éj0ČuĽx‚¶t[
|
||||
]ŮuRŞł@ť;f]Z<
|
||||
m7÷ЯБб┐x;▒%в╦У░И*∙эR╞Дс╞╧mD╙Я
|
BIN
testdata/dnscrypt_cert_chacha.tdir/2_chacha.cert
vendored
BIN
testdata/dnscrypt_cert_chacha.tdir/2_chacha.cert
vendored
Binary file not shown.
BIN
testdata/dnscrypt_cert_chacha.tdir/2_salsa.cert
vendored
Normal file
BIN
testdata/dnscrypt_cert_chacha.tdir/2_salsa.cert
vendored
Normal file
Binary file not shown.
BIN
testdata/dnscrypt_queries.tdir/1.key
vendored
BIN
testdata/dnscrypt_queries.tdir/1.key
vendored
Binary file not shown.
BIN
testdata/dnscrypt_queries.tdir/1_chacha.cert
vendored
Normal file
BIN
testdata/dnscrypt_queries.tdir/1_chacha.cert
vendored
Normal file
Binary file not shown.
BIN
testdata/dnscrypt_queries.tdir/1_salsa.cert
vendored
Normal file
BIN
testdata/dnscrypt_queries.tdir/1_salsa.cert
vendored
Normal file
Binary file not shown.
3
testdata/dnscrypt_queries.tdir/2.key
vendored
3
testdata/dnscrypt_queries.tdir/2.key
vendored
@ -1,2 +1 @@
|
||||
°Ů`˝éj0ČuĽx‚¶t[
|
||||
]ŮuRŞł@ť;f]Z<
|
||||
m7÷ЯБб┐x;▒%в╦У░И*∙эR╞Дс╞╧mD╙Я
|
BIN
testdata/dnscrypt_queries.tdir/2_chacha.cert
vendored
Normal file
BIN
testdata/dnscrypt_queries.tdir/2_chacha.cert
vendored
Normal file
Binary file not shown.
BIN
testdata/dnscrypt_queries.tdir/2_salsa.cert
vendored
Normal file
BIN
testdata/dnscrypt_queries.tdir/2_salsa.cert
vendored
Normal file
Binary file not shown.
1
testdata/dnscrypt_queries_chacha.tdir/1.key
vendored
Normal file
1
testdata/dnscrypt_queries_chacha.tdir/1.key
vendored
Normal file
@ -0,0 +1 @@
|
||||
®öÝìK¬‡#‘€4ùsŽ pèÖôÁæÀx!¹»AŠ"mM
|
BIN
testdata/dnscrypt_queries_chacha.tdir/1_chacha.cert
vendored
Normal file
BIN
testdata/dnscrypt_queries_chacha.tdir/1_chacha.cert
vendored
Normal file
Binary file not shown.
BIN
testdata/dnscrypt_queries_chacha.tdir/1_salsa.cert
vendored
Normal file
BIN
testdata/dnscrypt_queries_chacha.tdir/1_salsa.cert
vendored
Normal file
Binary file not shown.
3
testdata/dnscrypt_queries_chacha.tdir/2.key
vendored
3
testdata/dnscrypt_queries_chacha.tdir/2.key
vendored
@ -1,2 +1 @@
|
||||
°Ů`˝éj0ČuĽx‚¶t[
|
||||
]ŮuRŞł@ť;f]Z<
|
||||
m7÷ЯБб┐x;▒%в╦У░И*∙эR╞Дс╞╧mD╙Я
|
BIN
testdata/dnscrypt_queries_chacha.tdir/2_chacha.cert
vendored
BIN
testdata/dnscrypt_queries_chacha.tdir/2_chacha.cert
vendored
Binary file not shown.
BIN
testdata/dnscrypt_queries_chacha.tdir/2_salsa.cert
vendored
BIN
testdata/dnscrypt_queries_chacha.tdir/2_salsa.cert
vendored
Binary file not shown.
Loading…
Reference in New Issue
Block a user