Puppet Class: cis_security_hardening::rules::rngd
- Defined in:
- manifests/rules/rngd.pp
Summary
Ensure the operating system has enabled the hardware random number generator entropy gatherer serviceOverview
The operating system must enable the hardware random number generator entropy gatherer service.
Rationale: The most important characteristic of a random number generator is its randomness, namely its ability to deliver random numbers that are impossible to predict. Entropy in computer security is associated with the unpredictability of a source of randomness. The random source with high entropy tends to achieve a uniform distribution of random values. Random number generators are one of the most important building blocks of cryptosystems.
The rngd service feeds random data from hardware device to kernel random device. Quality (non-predictable) random number generation is important for several security functions (i.e., ciphers).
24 25 26 27 28 29 30 31 32 33 |
# File 'manifests/rules/rngd.pp', line 24
class cis_security_hardening::rules::rngd (
Boolean $enforce = false,
) {
if $enforce {
ensure_resource('service', 'rngd', {
ensure => running,
enable => true,
})
}
}
|