Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/AGWA/force-urandom
- Owner: AGWA
- License: other
- Archived: true
- Created: 2017-11-20T01:18:16.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-23T22:26:47.000Z (almost 2 years ago)
- Last Synced: 2024-06-25T08:38:37.833Z (4 months ago)
- Language: C
- Homepage:
- Size: 7.81 KB
- Stars: 13
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
- awesome-ld-preload - force-urandom - force programs to use fast and secure /dev/urandom instead of pointlessly slow /dev/random (Libraries)
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`.