[partman-crypto] Trying to understand crypto_do_wipe ( )

2008-09-07 Thread Oei, YC
Dear all, I was looking at the code that writes random data to disk as part of setting up an encrypted partition. The main reason I was interested is that it seems to be quite a lot faster than something like "dd if=/dev/urandom of=/dev/sdx", and so I wanted to know how it works. However, as far a

Re: [partman-crypto] Trying to understand crypto_do_wipe ( )

2008-09-08 Thread Oei, YC
On Mon, Sep 8, 2008 at 1:03 AM, David Härdeman <[EMAIL PROTECTED]> wrote: > > crypto_wipe_device() will first setup a crypt-device using a random > passphrase, then write data to the crypted device. After that is done, the > crypt-device is unmounted and the key is effectively lost and > forgotten.