From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mail.saout.de (Postfix) with ESMTP for ; Sat, 19 Jun 2010 22:16:32 +0200 (CEST) Date: Sat, 19 Jun 2010 22:16:38 +0200 From: Heinz Diehl Message-ID: <20100619201638.GA29635@fancy-poultry.org> References: <20100619172056.EB09B655213@c-in3ws--03-02.sv2.lotusliveops.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100619172056.EB09B655213@c-in3ws--03-02.sv2.lotusliveops.com> Subject: Re: [dm-crypt] Bug in cryptsetup? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On 19.06.2010, Si St wrote: > Upon this command: > cryptsetup luksDelKey 1 /dev/hda5 > I receive this message: > > WARNING! > ======== > > This is the last keyslot. Device will become unusable after purging this key. I consider this a bug. The manpage says: luksKillSlot wipe key with number from LUKS device. A remaining passphrase or key file (via --key-file) must be supplied. luksDelKey identical to luksKillSlot, but deprecated action name. I think cryptsetup should have bailed out and exited, because "1" is not a device.