Bob Mottram 11 years ago
parent
commit
64c38873dd
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      beaglebone.txt

+ 6
- 0
beaglebone.txt View File

@@ -261,6 +261,12 @@ apt-get install emacs
261 261
 
262 262
 ** Random number generation
263 263
 
264
+#+BEGIN_VERSE
265
+/Near as I can tell, the answer on what has been requested is everything: deliberate weakenings of encryption algorithms, deliberate weakenings of random number generations, copies of master keys, encryption of the session key with an NSA-specific key … everything./
266
+
267
+-- Bruce Schneier, on the 2013 leaked NSA documents
268
+#+END_VERSE
269
+
264 270
 The security of encryption depends upon how random the pseudo-random number generation on your system is.  If it isn't very random then it may be far more vulnerable to cryptanalysis, and it's known that in the past some dubious agencies have encouraged the use of flawed random number generators to assist with their prurient activities.  Randomness - typically referred to as /entropy/ - is often gathered from factors such as the timing of key presses or mouse movements, but since the BBB won't have such devices plugged into it this reduces the amount of entropy available.
265 271
 
266 272
 To improve entropy generation there are two options.  One is to install a kernel module which enables the hardware crypto available on the BBB, but that's a bit complicated and might have some stability implications.  The other option is to install [[http://www.issihosts.com/haveged/][havegd]].  While not as good as a true hardware random number generator, havegd is better than the default pseudo-random number generation within the Linux kernel.  To install it: