From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from v6.tansi.org (ns.km31936-01.keymachine.de [87.118.116.4]) by mail.server123.net (Postfix) with ESMTP for ; Wed, 30 Sep 2015 21:27:15 +0200 (CEST) Received: from gatewagner.dyndns.org (77-57-54-224.dclient.hispeed.ch [77.57.54.224]) by v6.tansi.org (Postfix) with ESMTPA id 837C420DC1FA for ; Wed, 30 Sep 2015 21:27:15 +0200 (CEST) Date: Wed, 30 Sep 2015 21:27:13 +0200 From: Arno Wagner Message-ID: <20150930192713.GA23645@tansi.org> References: <20150927110859.GA31821@manjaro.chello.hu> <20150927140814.GC13009@tansi.org> <20150927141533.GP14230@yeono.kjorling.se> <20150927161208.GA26184@manjaro.chello.hu> <20150927185554.GA15831@fritha.org> <20150927215010.GA2506@manjaro.chello.hu> <20150928201127.GA1669@fritha.org> <20150930121626.GA25001@manjaro.chello.hu> <20150930150003.GA21363@tansi.org> <20150930174921.GA31590@manjaro.chello.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150930174921.GA31590@manjaro.chello.hu> Subject: Re: [dm-crypt] Basics List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de You are welcome. Arno On Wed, Sep 30, 2015 at 19:49:21 CEST, Mike Nagie wrote: > Thanks Arno! > > I thought it was just a bug, but now, it works :) > I didn't really understand it. I thought it would generate > a secure keyfile. > Now it's clean, thank you! > > On 15-09-30 17:00:03, Arno Wagner wrote: > > You are using /dev/sdb1 as your keyfile. cryptsetup > > has a compiled-in size limit on keyfiles, which is > > per default 8kB. If /dev/sdb1 is larger, you get the > > error you observe. > > > > Regards, > > Arno > > > > > > On Wed, Sep 30, 2015 at 14:16:26 CEST, Mike Nagie wrote: > > > Why is this happening? I'm trying to create encrypted luks partition > > > with a keyfile. > > > > > > cryptsetup luksFormat /dev/sda2 /dev/sdb1 > > > > > > WARNING! > > > This will overwrite data on /dev/sda2 irrevocably. > > > > > > Are you sure? (Type uppercase yes): YES > > > Maximum keyfile size exceeded. > > > cryptsetup luksFormat /dev/sda2 /dev/sdb1 10.54s user 4.55s system 83% > > > cpu 18.1 > > > > > > (and sometimes: command failed with code 22 invalid argument) > > > > > > cryptsetup open --type luks /dev/sda2 home -d /dev/sdb1 > > > Maximum keyfile size exceeded. > > > cryptsetup open --type luks /dev/sda2 home -d /dev/sdb1 10.43s user > > > 4.64s system 99% cpu 15.103 total > > > -- > > > You are so lucky! > > > _______________________________________________ > > > dm-crypt mailing list > > > dm-crypt@saout.de > > > http://www.saout.de/mailman/listinfo/dm-crypt > > > > -- > > Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name > > GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 > > ---- > > A good decision is based on knowledge and not on numbers. -- Plato > > > > If it's in the news, don't worry about it. The very definition of > > "news" is "something that hardly ever happens." -- Bruce Schneier > > _______________________________________________ > > dm-crypt mailing list > > dm-crypt@saout.de > > http://www.saout.de/mailman/listinfo/dm-crypt > > -- > You are so lucky! > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. -- Plato If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier