Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5693518ybe; Tue, 17 Sep 2019 11:58:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqycdTAsYBsPpAe4t16jIK2HE89psrWUNEQqTJqrIIukC//WQpyRkAJ8dp2eeNmdOsRUcTBe X-Received: by 2002:a50:fc0c:: with SMTP id i12mr5204050edr.82.1568746711638; Tue, 17 Sep 2019 11:58:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568746711; cv=none; d=google.com; s=arc-20160816; b=DYTPYBHGWTnThAyUQdjTempI0+CFHtsDbykKRZU4LskyNxuewNxGDp5bliuHo2QxXw AeW5pl6tmyviDBNfkBsQO0HhaLO7MGGFZDOE8V3f5Eqj1oDzTJDHZF9bY1oDxYhbcg43 3PDxrrdiQJ8ZV4YHJDCHF8OYrZxsN4SQWaju5ac0JokvdAhTSas21VzeIi4Ecb+bb1bs f4ZJcvg80wB8Z0ITGS7a/AP8uhuTv9ZENW1V/Q9fieHRnP5R0w55xVzQwHIjwl02kyBy ScMlN4bjIsKqRh+CQemXbIGtF5wiN7LVwMmAnFfBARgobw30l0FsuiaCwsYXVVyPHv/P YM0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+s0i10bEB4vQnOoo0VzcFR/k65BOCiuSJCVnsGJdaGE=; b=Ks7oyk3mLH/Qt06cLQgfphhAVfJv3xrW3nBytqxsAeTQu1nX7PSMijxm0gOUsuR31u AOcC2PXej4fpwG8Z1onyVuzwJkY5aXOpWybbz7tBoegY9FQYT8LkxAyWbhAr0Zek9YdU qELh+t4DE/4gMGWimPXNci3nT8YfToJXzBPa7BfGLcoGc0PnUEBSw85OwUg3SXG9ndEu jjLFaMwS47dGNabO0sTdyjJiyZp+7pHWxz1HwzW7OoJFd6CTYsK07HRc9rX+vHt3jUCh XIz/aSj1UvHYEkInyO+6CUeIzc44i7EQUC7fF22XDzWDAttjStDR6zMGMLdpn4da7XPB W62Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@codon.org.uk header.s=63138784 header.b=ZhjxQOoj; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s14si1597121eju.289.2019.09.17.11.58.07; Tue, 17 Sep 2019 11:58:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@codon.org.uk header.s=63138784 header.b=ZhjxQOoj; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730890AbfIQRUY (ORCPT + 99 others); Tue, 17 Sep 2019 13:20:24 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:55321 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726744AbfIQRUX (ORCPT ); Tue, 17 Sep 2019 13:20:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codon.org.uk; s=63138784; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+s0i10bEB4vQnOoo0VzcFR/k65BOCiuSJCVnsGJdaGE=; b=ZhjxQOojSL5faoWN1n8P5Ypz2 Cy73nzl8ylH1R+C1DHGdivrc5y5ja/zPnGPalzIwhEg4Y7rQiu8MbyEiX6YWho003IpZoqmyAPcpf Ld0ppb5m3uhFtF2Q8f2wGFgK3d47g2F5wcYy9bVS6jJJYLvS8PSssL256eFBFMfRLSbQ0=; Received: from mjg59 by cavan.codon.org.uk with local (Exim 4.89) (envelope-from ) id 1iAH90-0002UO-3t; Tue, 17 Sep 2019 18:20:02 +0100 Date: Tue, 17 Sep 2019 18:20:02 +0100 From: Matthew Garrett To: Willy Tarreau Cc: Linus Torvalds , Martin Steigerwald , "Ahmed S. Darwish" , "Theodore Y. Ts'o" , Vito Caputo , Lennart Poettering , Andreas Dilger , Jan Kara , Ray Strode , William Jon McCann , "Alexander E. Patrakov" , zhangjs , linux-ext4@vger.kernel.org, lkml Subject: Re: Linux 5.3-rc8 Message-ID: <20190917172002.vrkudj2ejtrtl7rh@srcf.ucam.org> References: <20190917052438.GA26923@1wt.eu> <2508489.jOnZlRuxVn@merkaba> <20190917163456.alzodstm3hd4yrni@srcf.ucam.org> <20190917171641.GC27999@1wt.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190917171641.GC27999@1wt.eu> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Sep 17, 2019 at 07:16:41PM +0200, Willy Tarreau wrote: > On Tue, Sep 17, 2019 at 05:34:56PM +0100, Matthew Garrett wrote: > > On Tue, Sep 17, 2019 at 09:27:44AM -0700, Linus Torvalds wrote: > > > > > Does anybody believe that 128 bits of randomness is a good basis for a > > > long-term secure key? > > > > Yes, it's exactly what you'd expect for an AES 128 key, which is still > > considered to be secure. > > AES keys are for symmetrical encryption and thus as such are short-lived. > We're back to what Linus was saying about the fact that our urandom is > already very good for such use cases, it should just not be used to > produce long-lived keys (i.e. asymmetrical). AES keys are used for a variety of long-lived purposes (eg, disk encryption). -- Matthew Garrett | mjg59@srcf.ucam.org