Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
4614659d
Commit
4614659d
authored
Jun 17, 2021
by
Sietse Ringers
Browse files
feat: remove sql file no longer used by the new keyshare server
parent
e5b7c83f
Changes
2
Hide whitespace changes
Inline
Side-by-side
internal/sessiontest/keyshare_test.go
View file @
4614659d
...
...
@@ -52,7 +52,6 @@ func TestKeyshareRegister(t *testing.T) {
// Use the existing keyshare enrollment and credentials
// in a keyshare session of each session type.
// Use keyshareuser.sql to enroll the user at the keyshare server.
func
TestKeyshareSessions
(
t
*
testing
.
T
)
{
testkeyshare
.
StartKeyshareServer
(
t
,
logger
)
defer
testkeyshare
.
StopKeyshareServer
(
t
)
...
...
testdata/keyshareuser.sql
deleted
100644 → 0
View file @
e5b7c83f
DELETE
from
irma
.
users
WHERE
username
=
'test_username'
;
INSERT
INTO
irma
.
users
(
username
,
language
,
coredata
,
last_seen
,
pin_counter
,
pin_block_date
)
VALUES
(
'test_username'
,
'en'
,
decode
(
'YWJjZK4w5SC+7D4lDrhiJGvB1iwxSeF90dGGPoGqqG7g3ivbfHibOdkKoOTZPbFlttBzn2EJgaEsL24Re8OWWWw5pd31/GCd14RXcb9Wy2oWhbr0pvJDLpIxXZt/qiQC0nJiIAYWLGZOdj5o0irDfqP1CSfw3IoKkVEl4lHRj0LCeINJIOpEfGlFtl4DHlWu8SMQFV1AIm3Gv64XzGncdkclVd41ti7cicBrcK8N2u9WvY/jCS4/Lxa2syp/O4IY'
,
'base64'
),
1591951755
,
0
,
0
);
INSERT
INTO
irma
.
log_entry_records
(
time
,
event
,
user_id
)
VALUES
(
1591951800
,
'PIN_CHECK_SUCCESS'
,
(
SELECT
id
FROM
irma
.
users
WHERE
username
=
'test_username'
)
);
INSERT
INTO
irma
.
email_verification_tokens
(
token
,
email
,
expiry
,
user_id
)
VALUES
(
'test_token'
,
'test@example.com'
,
1700000000
,
(
SELECT
id
FROM
irma
.
users
WHERE
username
=
'test_username'
)
);
INSERT
INTO
irma
.
emails
(
user_id
,
email
)
VALUES
(
(
SELECT
id
FROM
irma
.
users
WHERE
username
=
'test_username'
),
'test@example.com'
);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment