quentinguidee/cloud-sh-server

Better auth token generation

Opened this issue · 0 comments

Currently, the auth token generation could be predicted.

token := make([]byte, 32)
_, err := rand.Read(token)

We should probably set the seed and also use lowercase chars.