Re: encrypted filesystem support

From: Frank (no_at_spam.org)
Date: 07/25/04


Date: Sun, 25 Jul 2004 23:43:40 +0200

Olivier LEMAIRE wrote:
>>Does OpenBSD 3.5 support encrypted filesystems?
>
>
> one way: consider using vnconfig
> another way: see cfs (ports security/cfs)
>
>
>>And if so, how can I create one?
>
>
> for vnconfig:
> # dd if=/dev/zero of=mycryptedfile.fs bs=1024 count=1024
> to create a 1M file (sure you'll prefer a bigger size...)
> # vnconfig -cvk svnd0 mycryptedfile.fs
> enter you (secret) key (be sure to be the only one on the host...)
> # newfs /dev/svnd0c
> # mount /dev/svnd0c /mount/point
> # cd /mount/point
> here you are :-)
>
> for cfs: consult man pages bundled with the package.
>
>
> Cheers,
> --
> lem

Thanx, the vnconfig example worked! Now I am trying to figure out how I
can automatically mount an encrypted fs at boottime. The problem is that
the encryption key is needed by vnconfig. There seems to be no option to
redirect it from a file or something. Any ideas?

Greetz,
Frank



Relevant Pages