Return-Path: Received: from mailgw-01.dd24.net (mailgw-01.dd24.net [193.46.215.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Sat, 2 Feb 2019 23:21:10 +0100 (CET) Received: from mailpolicy-01.live.igb.homer.key-systems.net (mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.27]) by mailgw-01.dd24.net (Postfix) with ESMTP id 1A4AD5FF97 for ; Sat, 2 Feb 2019 22:21:10 +0000 (UTC) Received: from smtp.dd24.net ([192.168.1.35]) by mailpolicy-01.live.igb.homer.key-systems.net (mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.25]) (amavisd-new, port 10235) with ESMTP id TtZxpSQvl2Gx for ; Sat, 2 Feb 2019 22:21:08 +0000 (UTC) Received: from heisenberg.fritz.box (ppp-82-135-82-31.dynamic.mnet-online.de [82.135.82.31]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.dd24.net (Postfix) with ESMTPSA for ; Sat, 2 Feb 2019 22:21:08 +0000 (UTC) Message-ID: From: Christoph Anton Mitterer Date: Sat, 02 Feb 2019 23:21:07 +0100 In-Reply-To: <54f092ef-6ec9-49f1-bf40-88cca69f4bff@freesources.org> References: <54f092ef-6ec9-49f1-bf40-88cca69f4bff@freesources.org> Content-Type: text/plain; charset="utf-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [dm-crypt] 'discard' as default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt On Thu, 2019-01-31 at 00:11 +0100, Jonas Meurer wrote: > explain to users that they should always give the 'discard' > option > to new devices if they don't have a good reason to not do so It's sad to see Debian giving bad advise to users, especially several people said here upon being questioned, that it should be vice-versa… i.e. using the more secure setting unless one has a good reason not to. > I see that the discard option has security implications. Absolutely. > Whether those are minor or major is debatable. My take on this is, > that > the tradeoff is acceptable and for the vast majority of users > neglectable. I cannot see that this has been anywhere proven by solid and extensive crpytoanalysis. Instead, past has always shown that even small leakage of information can be a huge attack surface. If it was 20 years ago, the question would have probably been: Can we enable compression without risk? And the answer would have been: It's not clear whether it can be abused, but rather don't to it. Then: Well let's still to it. Then: CRIME and BEAST attacks. Oops. > On the other side, having fstrim working per default > even > on encrypted volumes is a huge advantage. I wonder what advantage it is for someone who deliberately decides to use dm-crypt, to possibly weaken just this. Well just my two cents. :-)