Return-Path: Received: from mail01.freesources.org (mail01.freesources.org [80.237.252.149]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Thu, 17 Sep 2009 23:58:15 +0200 (CEST) Date: Thu, 17 Sep 2009 23:58:09 +0200 From: Jonas Meurer Message-ID: <20090917215809.GC23460@resivo.wgnet.de> References: <11504775.29381253116338552.JavaMail.root@IRL-DUB-P-SRV-02> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vOmOzSkFvhd7u8Ms" Content-Disposition: inline In-Reply-To: <11504775.29381253116338552.JavaMail.root@IRL-DUB-P-SRV-02> Subject: Re: [dm-crypt] Remote authentication? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Niall Murphy Cc: dm-crypt@saout.de --vOmOzSkFvhd7u8Ms Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hey, On 16/09/2009 Niall Murphy wrote: > We provide a computer that acts as a server for our customers, who > have no physical interaction with the machine. > We need the data on this machine to be decrypted as it is needed by a > number of services on-the-fly. > As we need to provide automatica authentication we either need to: >=20 > Keep the parts of the filesystem required to boot up and allow an > OpenVPN ssh session - permanently decrypted - so that we can remotely > authenticate. it depends on whether you want to encrypt the whole system, including root filesystem, or if encrypting the data partitions is enough. for the latter case you can ssh-login into the machine after boot, unlock the encrypted data partitions and start services manually. in case that the root partition should be encrypted, you'll need to start a minimal ssh daemon in the initramfs in order to login remotely and unlock the root partition before the root filesystem is mounted. the debian cryptsetup package supports remote unlocking of the root partition with the help of a dropbear ssh server inside the initramfs. see README.remote for more information: http://svn.debian.org/wsvn/pkg-cryptsetup/cryptsetup/trunk/debian/README.re= mote please note that this information is specific to the debian and ubuntu distributions. it doesn't apply if you use any other linux distribution. > or=20 > Provide a usb key containing the secret key to our customer and read > this key when the machine boots. you already mentioned the drawbacks of this approach. greetings, jonas --vOmOzSkFvhd7u8Ms Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkqysPEACgkQd6lUs+JfIQLX7QCeLtn0qp9GfRgqTt7lOcSmLOo7 9IIAnj4JVbxksVYcbEaoofybDFu7oMfo =A7MT -----END PGP SIGNATURE----- --vOmOzSkFvhd7u8Ms--