https://github.com/elcritch/jitter_entropy_port
Runs Jitter Entropy Port (Daemon)
https://github.com/elcritch/jitter_entropy_port
Last synced: 3 months ago
JSON representation
Runs Jitter Entropy Port (Daemon)
- Host: GitHub
- URL: https://github.com/elcritch/jitter_entropy_port
- Owner: elcritch
- License: bsd-2-clause
- Created: 2019-07-24T17:59:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-16T17:58:35.000Z (about 6 years ago)
- Last Synced: 2025-06-23T15:11:29.785Z (3 months ago)
- Language: C
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JitterEntropyPort
Elixir wrapper for `jiterentropy-rngd` by @smuellerDD:
Using the Jitter RNG core, the rngd provides an entropy source that feeds
into the Linux /dev/random device if its entropy runs low. It updates
the /dev/random entropy estimator such that the newly provided entropy
unblocks /dev/random.The seeding of /dev/random also ensures that /dev/urandom benefits from
entropy. Especially during boot time, when the entropy of Linux is low,
the Jitter RNGd provides a source of sufficient entropy.Useful on embedded devices without a TRNG/PRNG support.
Requires the `jitter` module in the Linux kernel is loaded or compiled in.
More info here: https://www.chronox.de/jent/doc/CPU-Jitter-NPTRNG.html
## Kernel Config
Enable the jitter entropy module using menuconfig, or modify the Linux kernel config by setting:
```
CONFIG_CRYPTO_RNG=y
CONFIG_CRYPTO_JITTERENTROPY=y
```If the `jitterentropy` needs loaded as a kernel module set in your config.exs:
config :jitter_entropy_port, :load_module, true
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `jitter_entropy_port` to your list of dependencies in `mix.exs`:```elixir
def deps do
[
{:jitter_entropy_port, "~> 0.1.0"}
]
end
```Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/jitter_entropy_port](https://hexdocs.pm/jitter_entropy_port).