From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MNWZf-0004EL-HM for garchives@archives.gentoo.org; Sun, 05 Jul 2009 18:36:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D6F6E02F2; Sun, 5 Jul 2009 18:36:25 +0000 (UTC) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by pigeon.gentoo.org (Postfix) with ESMTP id 0C103E02F2 for ; Sun, 5 Jul 2009 18:36:25 +0000 (UTC) Received: from rohan.altum.de (p5DC80F96.dip0.t-ipconnect.de [93.200.15.150]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1MNWZc0G9m-000pt4; Sun, 05 Jul 2009 20:36:24 +0200 Received: from localhost (localhost [127.0.0.1]) by rohan.altum.de (Postfix) with ESMTP id 79C4170008A for ; Sun, 5 Jul 2009 20:36:23 +0200 (CEST) Received: from gondolin.localnet (gondolin.altum.de [192.168.1.4]) (Authenticated sender: heini) by rohan.altum.de (Postfix) with ESMTPSA id E360A700089 for ; Sun, 5 Jul 2009 20:36:19 +0200 (CEST) From: Dirk Heinrichs Organization: Privat To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Encrypting everything Date: Sun, 5 Jul 2009 20:36:17 +0200 User-Agent: KMail/1.11.4 (Linux/2.6.30.1; KDE/4.2.4; i686; ; ) References: <200907011240.21313.wonko@wonkology.org> <200907052010.00883.dirk.heinrichs@online.de> <200907052026.24252.wonko@wonkology.org> In-Reply-To: <200907052026.24252.wonko@wonkology.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3924837.LKGQZ8uiOa"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200907052036.18169.dirk.heinrichs@online.de> X-Provags-ID: V01U2FsdGVkX1+yvnyh/0ADZvx3T+7ET/WI6dT+cuyl7UIRZmb Kot+KAO8TBPnHttygMF7zDUPi1eor4v9wEgAyBOZikqDDAQ5vj ck6ID2KJWUwNjFCzLzjTg== X-Archives-Salt: faec58d4-946a-47d6-96bd-beb1ee5243b1 X-Archives-Hash: 1df23bd6ea38d51e26a89ef2dea149c1 --nextPart3924837.LKGQZ8uiOa Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Sonntag 05 Juli 2009 20:26:23 schrieb Alex Schuster: > > The LUKS key isn't stored as cleartext, it's encrypted. > > Um, I mean the passphrase I specify with --key-file to cryptsetup. Or whi= ch > would be asked at the prompt if I would not give it. OK, now I get it. But those are two different beasts. The keyfile is usuall= y one=20 that consists of random data (created by reading from /dev/urandom). If you= =20 don't protect that by some means, you don't gain any security. The one you're asked for at the prompt is more like a password/-phrase. So here's what I do, as an example: I've got a small unencrypted /boot which holds the kernel and enough Linux = to=20 open the LUKS encrypted root LV. So I'm prompted for the passphrase to unlo= ck=20 it. Once unlocked and mounted, I get access to the random data keyfile stor= ed=20 in /etc which is used to unlock all other LVs automatically. Bye... Dirk --nextPart3924837.LKGQZ8uiOa Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iD8DBQBKUPKi8NVtnsLkZ7sRAh31AJ9NE+WKiTaBJzjRlVYqTpKP7NOheACgp4A8 6akPZdukktIs1PB/RDJPMp4= =y048 -----END PGP SIGNATURE----- --nextPart3924837.LKGQZ8uiOa--