[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Encrypt swap? LOOP:_SET_STATUS failed.
On Tue, Mar 14, 2006 at 09:01:37PM +0100, Jan Johansson wrote:
> >You have a typo there. s/ASE/AES/
>
> Guess how stupid I feel now? Thanks. :)
Happens to everyone :-)
> Do I understand correctly that this will generate a new key every reboot?
> But how does that logic work? What scripts/inits takes care of that=
Yes, the key is regenerated every reboot. swapon takes a hash of
existing data on the partition and 32 bytes from /dev/urandom and
generates keys from those. There are no scripts involved.
cheers,
Max
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/