Difference between revisions of "Talk:Random number generation"

From ArchWiki
Jump to: navigation, search
m (on the bashing of /dev/urandom: closing, old and un-related here. Securely_wipe_disk has an appropriate warning)
(random vs urandom in this page: rm closed)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== <s>on the bashing of /dev/urandom </s>==
+
== References for update ==
{{Note|This section was moved from [[Talk:Dm-crypt_with_LUKS]].}}
 
  
I don't take an opinion on whether old overwritten data can be read.
+
Update reminder:
 
+
* Linux 4.13 will bring the next important updates for {{ic|/dev/urandom}}. References:
However, there is an unrelated reason to fill a LUKS partition from {{ic|/dev/urandom}} before LUKS-initializing it (and after checking for bad blocks if you wanted to do that).
+
** [https://lwn.net/Articles/724643/ LWN] article ([https://lwn.net/Articles/724671/], incl [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=52f6c588c77b76d548201470c2a28263a41b462b] [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e297a783e41560b44e3c14f38e420cba518113b8])
 
+
** Related, systemd resolved the linked [https://github.com/systemd/systemd/issues/4167].
It makes it harder for people trying to read your disk and find out what's on it.  If you filled it with zeroes, for example, then they would be able to tell which portions of the partition had been written to since you initialized it.
 
 
 
compare gentoo docs, http://en.gentoo-wiki.com/wiki/DM-Crypt_with_LUKS#Filling_the_disk_with_random_data --[[User:Idupree|Idupree]] 22:45, 3 March 2010 (EST)
 
 
 
:Agreed, {{ic|/dev/urandom}} should be used to clear partitions, at least as default in the examples. If anyone wants to zero the partitions instead of using random data, they are free to do so. --[[User:Montschok|Montschok]] 20:53, 11 August 2010 (EDT)
 
 
 
== <s>Links with content</s> ==
 
This is to provide some links which may be useful, if this page is going to be expanded.  
 
 
 
Proposals to renew the linux /dev/random:
 
http://www.phoronix.com/scan.php?page=news_item&px=MTI5NzY leading to http://lkml.indiana.edu/hypermail/linux/kernel/1302.1/00479.html
 
and an article on /dev/random robustness (current; June 2013)
 
http://eprint.iacr.org/2013/338
 
 
 
--[[User:Indigo|Indigo]] ([[User talk:Indigo|talk]]) 11:12, 25 August 2013 (UTC)
 
 
 
:Very interesting, we could add them to the See also section as a start, right? -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 13:38, 28 August 2013 (UTC)
 
::Ok, fine. I added them. Maybe the LKML one can be put more into context sometime later. closing this. --[[User:Indigo|Indigo]] ([[User talk:Indigo|talk]]) 22:58, 28 August 2013 (UTC)
 

Latest revision as of 15:56, 27 August 2017

References for update

Update reminder:

  • Linux 4.13 will bring the next important updates for /dev/urandom. References: