]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Distributed openssl-ikev1 scenarios
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 18 Oct 2022 19:40:36 +0000 (21:40 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 5 Sep 2024 07:46:21 +0000 (09:46 +0200)
46 files changed:
testing/scripts/build-certs-chroot
testing/tests/ikev1-algs/alg-camellia/description.txt [moved from testing/tests/openssl-ikev1/alg-camellia/description.txt with 100% similarity]
testing/tests/ikev1-algs/alg-camellia/evaltest.dat [moved from testing/tests/openssl-ikev1/alg-camellia/evaltest.dat with 100% similarity]
testing/tests/ikev1-algs/alg-camellia/hosts/carol/etc/strongswan.conf [moved from testing/tests/openssl-ikev1/alg-camellia/hosts/carol/etc/strongswan.conf with 100% similarity]
testing/tests/ikev1-algs/alg-camellia/hosts/carol/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev1/alg-camellia/hosts/carol/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev1-algs/alg-camellia/hosts/moon/etc/strongswan.conf [moved from testing/tests/openssl-ikev1/alg-camellia/hosts/moon/etc/strongswan.conf with 100% similarity]
testing/tests/ikev1-algs/alg-camellia/hosts/moon/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev1/alg-camellia/hosts/moon/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev1-algs/alg-camellia/posttest.dat [moved from testing/tests/openssl-ikev1/alg-camellia/posttest.dat with 100% similarity]
testing/tests/ikev1-algs/alg-camellia/pretest.dat [moved from testing/tests/openssl-ikev1/alg-camellia/pretest.dat with 100% similarity]
testing/tests/ikev1-algs/alg-camellia/test.conf [moved from testing/tests/openssl-ikev1/alg-camellia/test.conf with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-high/description.txt [moved from testing/tests/openssl-ikev1/alg-ecp-high/description.txt with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-high/evaltest.dat [moved from testing/tests/openssl-ikev1/alg-ecp-high/evaltest.dat with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-high/hosts/carol/etc/strongswan.conf [moved from testing/tests/openssl-ikev1/alg-ecp-high/hosts/carol/etc/strongswan.conf with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-high/hosts/carol/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev1/alg-ecp-high/hosts/carol/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-high/hosts/dave/etc/strongswan.conf [moved from testing/tests/openssl-ikev1/alg-ecp-high/hosts/moon/etc/strongswan.conf with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-high/hosts/dave/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev1/alg-ecp-high/hosts/dave/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-high/hosts/moon/etc/strongswan.conf [moved from testing/tests/openssl-ikev1/alg-ecp-low/hosts/carol/etc/strongswan.conf with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-high/hosts/moon/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev1/alg-ecp-high/hosts/moon/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-high/posttest.dat [moved from testing/tests/openssl-ikev1/alg-ecp-high/posttest.dat with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-high/pretest.dat [moved from testing/tests/openssl-ikev1/alg-ecp-high/pretest.dat with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-high/test.conf [moved from testing/tests/openssl-ikev1/alg-ecp-high/test.conf with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-low/description.txt [moved from testing/tests/openssl-ikev1/alg-ecp-low/description.txt with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-low/evaltest.dat [moved from testing/tests/openssl-ikev1/alg-ecp-low/evaltest.dat with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-low/hosts/carol/etc/strongswan.conf [moved from testing/tests/openssl-ikev1/alg-ecp-low/hosts/moon/etc/strongswan.conf with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-low/hosts/carol/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev1/alg-ecp-low/hosts/carol/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-low/hosts/dave/etc/strongswan.conf [moved from testing/tests/openssl-ikev1/ecdsa-certs/hosts/carol/etc/strongswan.conf with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-low/hosts/dave/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev1/alg-ecp-low/hosts/dave/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-low/hosts/moon/etc/strongswan.conf [moved from testing/tests/openssl-ikev1/ecdsa-certs/hosts/dave/etc/strongswan.conf with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-low/hosts/moon/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev1/alg-ecp-low/hosts/moon/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-low/posttest.dat [moved from testing/tests/openssl-ikev1/alg-ecp-low/posttest.dat with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-low/pretest.dat [moved from testing/tests/openssl-ikev1/alg-ecp-low/pretest.dat with 100% similarity]
testing/tests/ikev1-algs/alg-ecp-low/test.conf [moved from testing/tests/openssl-ikev1/alg-ecp-low/test.conf with 100% similarity]
testing/tests/ikev1/ecdsa-certs/description.txt [moved from testing/tests/openssl-ikev1/ecdsa-certs/description.txt with 100% similarity]
testing/tests/ikev1/ecdsa-certs/evaltest.dat [moved from testing/tests/openssl-ikev1/ecdsa-certs/evaltest.dat with 100% similarity]
testing/tests/ikev1/ecdsa-certs/hosts/.gitignore [moved from testing/tests/openssl-ikev1/ecdsa-certs/hosts/.gitignore with 100% similarity]
testing/tests/ikev1/ecdsa-certs/hosts/carol/etc/strongswan.conf [moved from testing/tests/openssl-ikev1/ecdsa-certs/hosts/moon/etc/strongswan.conf with 100% similarity]
testing/tests/ikev1/ecdsa-certs/hosts/carol/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev1/ecdsa-certs/hosts/carol/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev1/ecdsa-certs/hosts/dave/etc/strongswan.conf [new file with mode: 0644]
testing/tests/ikev1/ecdsa-certs/hosts/dave/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev1/ecdsa-certs/hosts/dave/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev1/ecdsa-certs/hosts/moon/etc/strongswan.conf [new file with mode: 0644]
testing/tests/ikev1/ecdsa-certs/hosts/moon/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev1/ecdsa-certs/hosts/moon/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev1/ecdsa-certs/posttest.dat [moved from testing/tests/openssl-ikev1/ecdsa-certs/posttest.dat with 100% similarity]
testing/tests/ikev1/ecdsa-certs/pretest.dat [moved from testing/tests/openssl-ikev1/ecdsa-certs/pretest.dat with 100% similarity]
testing/tests/ikev1/ecdsa-certs/test.conf [moved from testing/tests/openssl-ikev1/ecdsa-certs/test.conf with 100% similarity]
testing/tests/openssl-ikev1/alg-ecp-high/hosts/dave/etc/strongswan.conf [deleted file]
testing/tests/openssl-ikev1/alg-ecp-low/hosts/dave/etc/strongswan.conf [deleted file]

index 5d4457f7ec851a5c97a9938dddb6bc4cc8fc24b0..e84e3e8a91a252ba3a6330bbd98bda2671ae4c9a 100755 (executable)
@@ -1219,8 +1219,8 @@ mkdir -p ${TEST}/hosts/dave/${SWANCTL_DIR}/pkcs8
 openssl pkcs8 -in ${DAVE_KEY} -nocrypt -topk8  -v2 aes128 \
               -passout "pass:OJlNZBx+80dLh4wC6fw5LmBd" -out ${TEST_KEY}
 
-# Put CA and EE certificate copies in the openssl-ikev1/ecdsa-certs scenario
-TEST="${TEST_DIR}/openssl-ikev1/ecdsa-certs"
+# Put CA and EE certificate copies in the ikev1/ecdsa-certs scenario
+TEST="${TEST_DIR}/ikev1/ecdsa-certs"
 cd ${TEST}/hosts/moon/${SWANCTL_DIR}
 mkdir -p ecdsa x509 x509ca
 cp ${MOON_KEY}   ecdsa
diff --git a/testing/tests/ikev1/ecdsa-certs/hosts/dave/etc/strongswan.conf b/testing/tests/ikev1/ecdsa-certs/hosts/dave/etc/strongswan.conf
new file mode 100644 (file)
index 0000000..a322670
--- /dev/null
@@ -0,0 +1,5 @@
+# /etc/strongswan.conf - strongSwan configuration file
+
+charon {
+  load = random nonce pem pkcs1 openssl curl revocation vici kernel-netlink socket-default updown
+}
diff --git a/testing/tests/ikev1/ecdsa-certs/hosts/moon/etc/strongswan.conf b/testing/tests/ikev1/ecdsa-certs/hosts/moon/etc/strongswan.conf
new file mode 100644 (file)
index 0000000..a322670
--- /dev/null
@@ -0,0 +1,5 @@
+# /etc/strongswan.conf - strongSwan configuration file
+
+charon {
+  load = random nonce pem pkcs1 openssl curl revocation vici kernel-netlink socket-default updown
+}
diff --git a/testing/tests/openssl-ikev1/alg-ecp-high/hosts/dave/etc/strongswan.conf b/testing/tests/openssl-ikev1/alg-ecp-high/hosts/dave/etc/strongswan.conf
deleted file mode 100644 (file)
index 59c81a0..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# /etc/strongswan.conf - strongSwan configuration file
-
-charon {
-  load = random nonce aes sha1 sha2 gmp pem pkcs1 hmac kdf x509 openssl curl revocation vici kernel-netlink socket-default updown
-}
diff --git a/testing/tests/openssl-ikev1/alg-ecp-low/hosts/dave/etc/strongswan.conf b/testing/tests/openssl-ikev1/alg-ecp-low/hosts/dave/etc/strongswan.conf
deleted file mode 100644 (file)
index f08553b..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# /etc/strongswan.conf - strongSwan configuration file
-
-charon {
-  load = random nonce aes des sha1 sha2 gmp pem pkcs1 hmac kdf x509 openssl curl revocation vici kernel-netlink socket-default updown
-}