Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/AGWA/force-urandom

See https://github.com/AGWA/ldpreload instead
https://github.com/AGWA/force-urandom

Last synced: 3 months ago
JSON representation

See https://github.com/AGWA/ldpreload instead

Awesome Lists containing this project

README

        

**** THIS PROJECT IS DEPRECATED ****

As of Linux 5.19, /dev/random is just as good as /dev/urandom, so it
is generally no longer necessary to force programs to use /dev/urandom.

If you do need to force programs to use /dev/urandom for some reason, you
can use ldpreload-forceurandom.so from .

Original README below:

force-urandom is a tool to force programs to use /dev/urandom instead of
/dev/random, since /dev/urandom on Linux is secure whereas /dev/random
is stupidly slow: https://www.2uo.de/myths-about-urandom/

Just put force-urandom in front of the command you want to run.
For example, to generate a GPG key in a reasonable amount of time,
you could run:

force-urandom gpg --gen-key

force-urandom works by LD_PRELOADing a shared library which intercepts
open calls and replaces a /dev/random argument with /dev/urandom.

To compile, run `make`.