Re: Filling a device with random data
Arno Wagner <[email protected]>
| Newsgroups | dev.linux.lists.cryptsetup |
|---|---|
| Message-ID | <[email protected]> |
I should add that I though about removing it, but this approach may still have a use on very small Linux devices. Meube I should add a comment to that effect. Arno On Tue, Feb 14, 2023 at 23:17:11 CET, Arno Wagner wrote: > As I said, it is old. Old like some not having > hardware support and /dev/urandom being dog-slow. > > Toaday, it is not really a problem doing this fast. > > Regards, > Arno > > > > On Thu, Feb 09, 2023 at 20:03:52 CET, Eric Biggers wrote: > > While this is a creative use of dm-crypt, a cleaner way to generate very > > high throughput cryptographically secure random data (specifically, even > > higher throughput than /dev/urandom which is usually good enough) is to > > just generate it in userspace. For example, the command 'openssl rand > > $LENGTH' does this. > > > > - Eric > > -- > Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: [email protected] > GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 > ---- > A good decision is based on knowledge and not on numbers. -- Plato > > If it's in the news, don't worry about it. The very definition of > "news" is "something that hardly ever happens." -- Bruce Schneier -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: [email protected] GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. -- Plato If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier