Commit 453acca7 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Fix typo in irma server flags

parent 25829ac5
......@@ -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`
......@@ -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
Supports Markdown
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