From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Wed, 4 Feb 2015 14:30:25 +0100 (CET) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YJ02B-0000RF-C4 for dm-crypt@saout.de; Wed, 04 Feb 2015 14:30:23 +0100 Received: from ip4d151e07.dynamic.kabel-deutschland.de ([77.21.30.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Feb 2015 14:30:23 +0100 Received: from for-gmane by ip4d151e07.dynamic.kabel-deutschland.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Feb 2015 14:30:23 +0100 From: "U.Mutlu" Date: Wed, 04 Feb 2015 14:30:17 +0100 Message-ID: References: <54D21872.2030406@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable In-Reply-To: <54D21872.2030406@yahoo.com> Subject: Re: [dm-crypt] plain: opening with a wrong password List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Quentin Lefebvre wrote, On 02/04/2015 02:02 PM: > Hi, > > Le 04/02/2015 13:33, U.Mutlu a =E9crit : >> Hi, >> what happens if an encrypted filesystem (plain, no LUKS) >> next time is opened accidently with a wrong password, >> and new data written to it? Will the filesystem then become >> damaged/unusable? > > What typically happens when you use a wrong password is that the crypts= etup > create/open command is indeed successful, but mounting your partition w= ill > fail (because the filesystem is not detected). > So you have few chance to accidentally damage a filesystem, even in pla= in mode. I tried this out now, and indeed that's cool! Thank you for this useful tip, it spares me to study further also the LUKS stuff, as plain is IMHO sufficient for my needs. The main drawback with plain seems to be that one cannot change the password, instead one needs to re-enrcrypt into a new file/device. cu Uenal