Nick Craig-Wood
4c215cc81e
random: fix incorrect use of math/rand instead of crypto/rand CVE-2020-28924
...
For implications see the linked issue.
Fixes #4783
2020-11-19 16:49:51 +00:00
Nick Craig-Wood
193c30d570
Review random string/password generation
...
- factor password generation into lib/random.Password
- call from appropriate places
- choose appropriate use of random.String vs random.Password
2019-08-25 11:09:19 +01:00
Nick Craig-Wood
5065c422b4
lib/random: unify random string generation into random.String
...
This was factored from fstest as we were including the testing
enviroment into the main binary because of it.
This was causing opening the browser to fail because of 8243ff8bc8
.
2019-08-06 12:44:08 +01:00