From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3bwAJNYXFAe5 for ; Fri, 26 Oct 2012 19:53:28 +0200 (CEST) Received: from v4.tansi.org (ns.km33513-03.keymachine.de [87.118.94.3]) by mail.saout.de (Postfix) with ESMTP for ; Fri, 26 Oct 2012 19:53:28 +0200 (CEST) Received: from gatewagner.dyndns.org (84-72-142-78.dclient.hispeed.ch [84.72.142.78]) by v4.tansi.org (Postfix) with ESMTPA id 2174C1404001 for ; Fri, 26 Oct 2012 19:53:28 +0200 (CEST) Date: Fri, 26 Oct 2012 19:53:27 +0200 From: Arno Wagner Message-ID: <20121026175327.GA14117@tansi.org> References: <2BF272FBF2F3384F849D44C247B9883A043C71205229@cs-mail.cloudshield.com> <508A493A.9030005@dennis.birkholz.biz> <2BF272FBF2F3384F849D44C247B9883A043C71205273@cs-mail.cloudshield.com> <508ABC36.7060407@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <508ABC36.7060407@gmail.com> Subject: Re: [dm-crypt] Newbie question --key-file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Fri, Oct 26, 2012 at 06:37:10PM +0200, Milan Broz wrote: > > [Li, David] Can you explain a little here why key slot wasn't used? > > Why did the luksDump or the blkid result seem to be normal? > > I think there are just missing internal kernel modules. > > Cryptsetup internally first generates master key, then writes visible header and then > enables keyslot - and for keyslot write it requires kernel crypto modules. > If last step fails, you end up with LUKS header without any slot enabled. Maybe use the kernel crypto modules needed later in some dummy operation early on? That way you could terminate with error before the header gets written. Arno > (The error reporting here is not optimal, still thinking how to get > exact infmation from kernel. > Anyway there is: > "Check that kernel supports aes-cbc-essiv:sha256 cipher (check syslog for more info)." > > Did you check syslog? > > According to /proc/crypto, you have no aes module, no cbc, no sha256... > > Milan > > _______________________________________________ > 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: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision. -- Bertrand Russell