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
453acca7
Commit
453acca7
authored
Feb 15, 2019
by
Sietse Ringers
Browse files
Fix typo in irma server flags
parent
25829ac5
Changes
2
Hide whitespace changes
Inline
Side-by-side
server/irmad/cmd/root.go
View file @
453acca7
...
...
@@ -97,7 +97,7 @@ func setFlags(cmd *cobra.Command) error {
flags
.
StringP
(
"jwt-issuer"
,
"j"
,
"irmaserver"
,
"JWT issuer"
)
flags
.
String
(
"jwt-privkey"
,
""
,
"JWT private key"
)
flags
.
String
(
"jwt-privkeyfile"
,
""
,
"path to JWT private key"
)
flags
.
String
(
"jwt-privkey
-
file"
,
""
,
"path to JWT private key"
)
flags
.
Int
(
"max-request-age"
,
300
,
"max age in seconds of a session request JWT"
)
flags
.
Lookup
(
"jwt-issuer"
)
.
Header
=
`JWT configuration`
...
...
server/requestorserver/conf.go
View file @
453acca7
...
...
@@ -382,6 +382,7 @@ func (conf *Configuration) readPrivateKey() error {
}
conf
.
jwtPrivateKey
,
err
=
jwt
.
ParseRSAPrivateKeyFromPEM
(
keybytes
)
conf
.
Logger
.
Info
(
"Private key parsed, JWT endpoints enabled"
)
return
err
}
...
...
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