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 wJhpK2Db1B1o for ; Tue, 21 May 2013 15:58:08 +0200 (CEST) Received: from mail.ramses-pyramidenbau.de (ramses-pyramidenbau.de [78.47.114.252]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Tue, 21 May 2013 15:58:07 +0200 (CEST) Received: from [10.0.1.50] (rfhinf217.hs-regensburg.de [194.95.108.212]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ramses-pyramidenbau.de (Postfix) with ESMTPSA id 817A560ED4 for ; Tue, 21 May 2013 15:58:06 +0200 (CEST) Message-ID: <519B7D75.1080304@ramses-pyramidenbau.de> Date: Tue, 21 May 2013 15:58:13 +0200 From: Ralf Ramsauer MIME-Version: 1.0 References: <519AA42D.4000609@ramses-pyramidenbau.de> <20130520234122.GA31243@tansi.org> <519AB8C5.7090908@ramses-pyramidenbau.de> <20130521021714.GA563@tansi.org> <1369121083.519b213be8fd2@www.inmano.com> In-Reply-To: <1369121083.519b213be8fd2@www.inmano.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: [dm-crypt] Authenticated Encryption for dm-crypt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dm-crypt@saout.de Arno, your objections are legitimate.Though I think that authenticity would be a nice feature to dm-crypt. And i also think, that it *could* be realisable. Head movement is a real problem, but not for SSDs. Another solution could be to outsource additional tag data onto other harddrives. Also, not all tags need to be stored at the same location. Another point: if you would tag a 512 Byte sector with a 512 Byte tag then you could store data and tags consecutively. Dm-verity does almost the same, but it needs two different partitions to store data and tags. If those partitions are on the same drive you loose performence because of the massive head movement. But if you store tag and data on one partition consecutively in chunks of 512 Byte it should be no problem any more. Regards On 05/21/2013 09:24 AM, octane indice wrote: > En r=E9ponse =E0 Arno Wagner : >> The additional space is not the problem. The problem is >> keeping data and additonal data consistent and keeping >> head-movements minimal. There is quite a bit of discussion >> and literature around about these problems as this gets >> proposed time and again.=20 >> If I remember correctly, some people even tried with custom >> disks that had 540 byte sectors or something like that. All >> efforts failed, this idea always dies as soon as practical >> filesystem aspects come into play.=20 >> > Maybe it's off topic, but why we don't put integrity at > filesystem level? > If we mess something at ciphered level, we could detect > it at filesystem level because it's really unlikely that somebody > could break the ciphered level *and* keep filesystem integrity. No, that's not off topic, it's a good thought. But if integrity would get part of an "underlying layer" then it would be filesystem independent. As far as i know only few filesystems support integrity. > > Thanks > > Envoy=E9 avec Inmano, ma messagerie renversante et gratuite : http://www.= inmano.com > > > > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt --=20 Ralf Ramsauer PGP: 0x8F10049B