adapted sql/rw-eap-aka-rsa scenario to new EAP identity type

This commit is contained in:
Andreas Steffen 2008-08-25 13:52:26 +00:00
parent 3c87e92695
commit bafb220857
2 changed files with 24 additions and 6 deletions

View File

@ -24,6 +24,18 @@ INSERT INTO identities (
2, X'6d6f6f6e2e7374726f6e677377616e2e6f7267' 2, X'6d6f6f6e2e7374726f6e677377616e2e6f7267'
); );
INSERT INTO identities (
type, data
) VALUES ( /* carol@strongswan.org as an EAP identity */
205, X'6361726f6c407374726f6e677377616e2e6f7267'
);
INSERT INTO identities (
type, data
) VALUES ( /* moon.strongswan.org as an EAP identity */
205, X'6d6f6f6e2e7374726f6e677377616e2e6f7267'
);
/* Certificates */ /* Certificates */
INSERT INTO certificates ( INSERT INTO certificates (
@ -55,13 +67,13 @@ INSERT INTO shared_secrets (
INSERT INTO shared_secret_identity ( INSERT INTO shared_secret_identity (
shared_secret, identity shared_secret, identity
) VALUES ( ) VALUES (
1, 3 1, 5
); );
INSERT INTO shared_secret_identity ( INSERT INTO shared_secret_identity (
shared_secret, identity shared_secret, identity
) VALUES ( ) VALUES (
1, 4 1, 6
); );
/* Configurations */ /* Configurations */

View File

@ -32,8 +32,14 @@ INSERT INTO identities (
INSERT INTO identities ( INSERT INTO identities (
type, data type, data
) VALUES ( /* carol@strongswan.org */ ) VALUES ( /* moon.strongswan.org as an EAP identity */
3, X'6361726f6c407374726f6e677377616e2e6f7267' 205, X'6d6f6f6e2e7374726f6e677377616e2e6f7267'
);
INSERT INTO identities (
type, data
) VALUES ( /* carol@strongswan.org as an EAP identity */
205, X'6361726f6c407374726f6e677377616e2e6f7267'
); );
/* Certificates */ /* Certificates */
@ -105,13 +111,13 @@ INSERT INTO shared_secrets (
INSERT INTO shared_secret_identity ( INSERT INTO shared_secret_identity (
shared_secret, identity shared_secret, identity
) VALUES ( ) VALUES (
1, 3 1, 6
); );
INSERT INTO shared_secret_identity ( INSERT INTO shared_secret_identity (
shared_secret, identity shared_secret, identity
) VALUES ( ) VALUES (
1, 6 1, 7
); );
/* Configurations */ /* Configurations */