Re: Encrypted swap and partitions
On Fri, Aug 15, 2003 at 06:56:16PM +0200, Vincent Bernat wrote:
> OoO Lors de la soir?e naissante du vendredi 15 ao?t 2003, vers 17:15,
> Marc Singer <elf@buici.com> disait:
>
> >> Encrypted partitions need user interaction to be mounted (the password
> >> is not generated on the fly, like for the swap),
>
> > I thought I just read that it is possible to mount swap without
> > entering a password. Sadly, i cannot now find the reference. It said
> > that with certain loopback options, the swapfile is mounted with a
> > random key generated by the kernel.
>
> Yes, it is possible. Use mcookie to build a password (or any other
> tool), then instruct losetup to read the password from stdin (-p 0).
I must defer to you on this since I cannot reproduce the reference.
What I recall is that the key was generated on-the-fly by one of the
kernel components.
Cheers.
Reply to: