Results 1 to 1 of 1
How do I get GnuPG to read random data from stdin or a file other than dev/random? I set up a random.org setup (with the radio hooked to audio port) ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-07-2006 #1
- Join Date
- Apr 2004
- Stalk much?
GnuPG and random data
Entropy = 7.998077 bits per byte.
Optimum compression would reduce the size
of this 100001 byte file by 0 percent.
Chi square distribution for 100001 samples is 267.41, and randomly
would exceed this value 50.00 percent of the times.
Arithmetic mean value of data bytes is 127.5287 (127.5 = random).
Monte Carlo value for Pi is 3.144365775 (error 0.09 percent).
Serial correlation coefficient is -0.004284 (totally uncorrelated = 0.0).
And i would like to get GPG to use it. I know linux reads some bits of eentropy, but it doesnt return this fast results (took about 3 minutes for a hundred thousand random bytes! kernel takes that long for a few kilos...) and the kernel scores lower. (using /dev/random, urandom is worse when it runs out of entropy)
So i want to make GPG read its random stuff from here. I can make it put x bytes into a file if it wants to read from there, or if it can read from stdin.