-
Notifications
You must be signed in to change notification settings - Fork 0
TSD Entropy
Dmytro Titov edited this page Nov 27, 2020
·
3 revisions
In order for the cryptography algorithms to function properly (specifically, for the DOA microservice), there should be enough entropy in the system. Otherwise, one would experience problems like this: https://github.com/actions/virtual-environments/issues/672
Since DOA is running in the Docker container, it might be not enough entropy inside by default and it needs to be injected from the outside (the host machine). For this purpose, one would need to mount the host's /dev/urandom/
to the inside. This is done in the Docker Swarm deployment file:
...
volumes:
...
- /dev/urandom:/dev/random
...
...