SYNSSL_RAND

File containing random data for Synergy SSL encryption

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS

The SYNSSL_RAND environment variable specifies a file that contains random data.

Value

The path and name of a text file or an entropy‑gathering device (if available on your system).

Discussion

When encrypting sensitive data, Synergy DBMS uses random data to ensure that the data is secure, because random data helps prevent hackers from guessing patterns. For most systems, this random data can be gathered from recognized system entropy devices or from the screen itself, or from a temporary file filled with random logic. However, on some systems, these methods do not generate enough random data to seed cryptographic algorithms, and a “Cannot load random state” error is generated. To eliminate this error, you can define the SYNSSL_RAND environment variable to point at a file that will be used (as a last resort) to gather random data when encryption occurs.

Setting location

The environment on the client and/or the server. On Windows, this environment variable can also be set in the [synergy], [dbr], or [myprog] section of synergy.ini (where myprog is any .dbr file).

Used by

xfServer, xfServerPlus.

See also

Examples

On Windows,

set SYNSSL_RAND=c:\windows\random.txt

On UNIX,

SYNSSL_RAND=/etc/entropy   ;export SYNSSL_RAND