[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [cryptsetup] luksFormat - Welchen cipher?



Peter Jordan <usernetwork@gmx.info> wrote:
> 1. Disk mit Zufallsdaten überschreiben
> dd if=/dev/random of=/dev/sdc bs=1024

Deutlich schneller und aequivalent sicher ist es, Nullen mit nem random
key verschluesselt draufzuschreiben (auch deutlich schneller als
/dev/urandom).

cryptsetup --cipher aes-xts-plain --key-file /dev/random create sdc /dev/sdc
dd if=/dev/zero of=/dev/mapper/sdc bs=256k
cryptsetup remove sdc


regards
   Mario
-- 
I've never been certain whether the moral of the Icarus story should
only be, as is generally accepted, "Don't try to fly too high," or
whether it might also be thought of as, "Forget the wax and feathers
and do a better job on the wings."            -- Stanley Kubrick


Reply to: