aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/rw-eap-aka-sql-rsa/hosts/moon/etc/ipsec.d
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2017-04-23 09:19:22 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2017-04-26 20:38:23 +0200
commit64f9fa9e9fa3aa83e3862e634879d7ad09d7edfa (patch)
treeccf9e392e88a32e3f589e38164843666b1e09fd3 /testing/tests/ikev2/rw-eap-aka-sql-rsa/hosts/moon/etc/ipsec.d
parent2fad3460fab865f20a7c9afce5afc8a1cd52afa6 (diff)
downloadstrongswan-64f9fa9e9fa3aa83e3862e634879d7ad09d7edfa.tar.bz2
strongswan-64f9fa9e9fa3aa83e3862e634879d7ad09d7edfa.tar.xz
testing: Created ikev2/rw-eap-aka-sql-rsa scenario
This test scenario tests the eap-simaka-sql plugin.
Diffstat (limited to 'testing/tests/ikev2/rw-eap-aka-sql-rsa/hosts/moon/etc/ipsec.d')
-rw-r--r--testing/tests/ikev2/rw-eap-aka-sql-rsa/hosts/moon/etc/ipsec.d/data.sql9
-rw-r--r--testing/tests/ikev2/rw-eap-aka-sql-rsa/hosts/moon/etc/ipsec.d/tables.sql10
2 files changed, 19 insertions, 0 deletions
diff --git a/testing/tests/ikev2/rw-eap-aka-sql-rsa/hosts/moon/etc/ipsec.d/data.sql b/testing/tests/ikev2/rw-eap-aka-sql-rsa/hosts/moon/etc/ipsec.d/data.sql
new file mode 100644
index 000000000..038c454aa
--- /dev/null
+++ b/testing/tests/ikev2/rw-eap-aka-sql-rsa/hosts/moon/etc/ipsec.d/data.sql
@@ -0,0 +1,9 @@
+INSERT INTO quintuplets
+ (id, used, rand, autn, ck, ik, res) VALUES
+ ('carol@strongswan.org', 0,
+ X'00112233445566778899AABBCCDDEEFF',
+ X'112233445566778899AABBCCDDEEFF00',
+ X'2233445566778899AABBCCDDEEFF0011',
+ X'33445566778899AABBCCDDEEFF001122',
+ X'00112233445566778899'
+ );
diff --git a/testing/tests/ikev2/rw-eap-aka-sql-rsa/hosts/moon/etc/ipsec.d/tables.sql b/testing/tests/ikev2/rw-eap-aka-sql-rsa/hosts/moon/etc/ipsec.d/tables.sql
new file mode 100644
index 000000000..301f2bfd6
--- /dev/null
+++ b/testing/tests/ikev2/rw-eap-aka-sql-rsa/hosts/moon/etc/ipsec.d/tables.sql
@@ -0,0 +1,10 @@
+DROP TABLE IF EXISTS quintuplets;
+CREATE TABLE quintuplets (
+ id TEXT NOT NULL,
+ used INTEGER NOT NULL,
+ rand BLOB NOT NULL,
+ autn BLOB NOT NULL,
+ ck BLOB NOT NULL,
+ ik BLOB NOT NULL,
+ res BLOB NOT NULL
+);