Commit beba3348 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Update test server configuration

parent e995284f
...@@ -54,15 +54,16 @@ var JwtServerConfiguration = &irmaserver.Configuration{ ...@@ -54,15 +54,16 @@ var JwtServerConfiguration = &irmaserver.Configuration{
}, },
Port: 48682, Port: 48682,
DisableRequestorAuthentication: false, DisableRequestorAuthentication: false,
GlobalPermissions: irmaserver.Permissions{ MaxRequestAge: 3,
Permissions: irmaserver.Permissions{
Disclosing: []string{"*"}, Disclosing: []string{"*"},
Signing: []string{"*"}, Signing: []string{"*"},
Issuing: []string{"*"}, Issuing: []string{"*"},
}, },
Requestors: map[string]irmaserver.Requestor{ Requestors: map[string]irmaserver.Requestor{
"requestor1": { "requestor1": {
AuthenticationMethod: irmaserver.AuthenticationMethodPublicKey, AuthenticationMethod: irmaserver.AuthenticationMethodPublicKey,
AuthenticationKey: filepath.Join(testdata, "jwtkeys", "requestor1.pem"), AuthenticationKeyFile: filepath.Join(testdata, "jwtkeys", "requestor1.pem"),
}, },
"requestor2": { "requestor2": {
AuthenticationMethod: irmaserver.AuthenticationMethodToken, AuthenticationMethod: irmaserver.AuthenticationMethodToken,
...@@ -73,5 +74,5 @@ var JwtServerConfiguration = &irmaserver.Configuration{ ...@@ -73,5 +74,5 @@ var JwtServerConfiguration = &irmaserver.Configuration{
AuthenticationKey: "eGE2PSomOT84amVVdTU+LmYtJXJWZ2BmNjNwSGltCg==", AuthenticationKey: "eGE2PSomOT84amVVdTU+LmYtJXJWZ2BmNjNwSGltCg==",
}, },
}, },
JwtPrivateKey: filepath.Join(testdata, "jwtkeys", "sk.pem"), JwtPrivateKeyFile: filepath.Join(testdata, "jwtkeys", "sk.pem"),
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment