External Random Source

As default, an MPC node in Builder Vault obtains its randomness from the operation system:

  • Linux, FreeBSD: getrandom(2) if available, /dev/urandom otherwise
  • OpenBSD: getentropy(2)
  • Unix-like systems: /dev/urandom
  • Windows: CryptGenRandom API

As an alternative, you can enable the following section in the MPC node configuration file:

[Randomness]
	Device = "/dev/urandom"

When enabled, the MPC node will read its randomness from the specified file, e.g., when generating new key shares.

It is recommended to leave this section out of the configuration file, unless you have a specific reason to use an external source.