diff options
author | Andy Lutomirski <luto@amacapital.net> | 2014-08-11 17:51:27 -0700 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-08-22 01:43:30 +0800 |
commit | 3e2d68a059d559b59cac1f513b31f4d710dab806 (patch) | |
tree | 3e11ed5dbd8ff7096965f094372f9fbd12e3ef82 /sanity.cpp | |
parent | 78e2b7cc0897de3eb2a8cdc0f5efe49a34402f9d (diff) |
webconfig: fixes for token security
* Use 16-byte tokens
* Use os.urandom (random.getrandbits shouldn't be used for security)
* Convert to hex correctly
Diffstat (limited to 'sanity.cpp')
0 files changed, 0 insertions, 0 deletions