snikket-server/docker
Kim Alvefur ffa5d0e24c
Improve efficiency of random secret generation
Reading untold amounts of data and throwing away all except \~86% seems
wasteful.

This method reads exactly 32 bytes from /dev/urandom, while the previous
method would have stuffed pipes full before finding 32 bytes in the
specified range. All of the entropy of those 32 bytes are also kept in
the base64 form, although this is probably insane overkill.
2020-05-21 17:57:26 +02:00
..
Dockerfile docker: Switch default BUILD_SERIES to dev 2020-05-13 13:57:22 +01:00
entrypoint.sh Improve efficiency of random secret generation 2020-05-21 17:57:26 +02:00