From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tansi.org (ns.km10532-04.keymachine.de [87.118.102.195]) by mail.saout.de (Postfix) with ESMTP for ; Sat, 27 Mar 2010 08:38:19 +0100 (CET) Received: from gatewagner.dyndns.org (84-74-164-239.dclient.hispeed.ch [84.74.164.239]) by tansi.org (Postfix) with ESMTPA id 8BBF0212804A for ; Sat, 27 Mar 2010 08:38:18 +0100 (CET) Date: Sat, 27 Mar 2010 08:40:14 +0100 From: Arno Wagner Message-ID: <20100327074014.GA3777@tansi.org> References: <93bd79e11003262211p1c0fdd23h35f8bb2ea884259b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <93bd79e11003262211p1c0fdd23h35f8bb2ea884259b@mail.gmail.com> Subject: Re: [dm-crypt] luks in java List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de The Luks header starts from offset 0 in the LUKS partition. You can basically open the partition for reading and read it as if it was a file. Arno On Sat, Mar 27, 2010 at 01:11:04AM -0400, Oscar wrote: > hey everybody! i am currently working on a java program capable of reading > data encrypted following the luks standard. I have read hundreds of pages of > documentation but i am still a little lost on how should i begin to attack > the problem. My first question is, how can i retrieve the luks "header" from > a partition using java? is it a fixed size header starting from sector 0? > > thank you for your time, > > oscar > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier