crowdsec/pkg/apiserver/middlewares/v1
registergoofy eda9c03c82
jwt token generation improvement (#557)
* add some warning comment for those who want to choose their secret
* strictly follow the golang doc for using crypto/rand
* fatal if not enough entropy
* add a check when using pre-choosen secret
2021-01-07 14:24:53 +01:00
..
api_key.go local api (#482) 2020-11-30 10:37:17 +01:00
jwt.go jwt token generation improvement (#557) 2021-01-07 14:24:53 +01:00
middlewares.go local api (#482) 2020-11-30 10:37:17 +01:00