From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Wed, 7 Apr 2010 11:54:48 +0200 (CEST) Message-ID: <4BBC5662.2040503@redhat.com> Date: Wed, 07 Apr 2010 11:54:42 +0200 From: Milan Broz MIME-Version: 1.0 References: <1270631531.2807.26.camel@desa-compendia-tux> In-Reply-To: <1270631531.2807.26.camel@desa-compendia-tux> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: [dm-crypt] Library to do a 'luksOpen' programatically List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Miguel_=C1ngel_Garc=EDa_Roig?= Cc: dm-crypt@saout.de On 04/07/2010 11:12 AM, Miguel =C1ngel Garc=EDa Roig wrote: > I'm trying to do a :=20 >=20 > # cryptsetup luksOpen /dev/hda2 root >=20 > using a library call or similar. I am not able to call cryptsetup > directly due to security reasons. Which security reasons? >=20 > Is there any library to do this ? I have read about the > libcryptsetup library, but i can not found it in debian lenny. You need cryptsetup 1.1.0, it is in Debian testing/unstable already. Milan