This repository was archived by the owner on Dec 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
See https://github.com/AGWA/ldpreload instead
License
AGWA/force-urandom
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
**** 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 <https://github.com/AGWA/ldpreload>. 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`.
About
See https://github.com/AGWA/ldpreload instead
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published