Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp613847pxb; Tue, 2 Feb 2021 13:14:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzkIFhI9ZUt2bEKUoc744zcB/loC0YI0dGOV7d5KURuBba/v/v94+JJh6I+iDetdnXeby4g X-Received: by 2002:aa7:cd0a:: with SMTP id b10mr10198edw.153.1612300474203; Tue, 02 Feb 2021 13:14:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612300474; cv=none; d=google.com; s=arc-20160816; b=dYN1a4WwewBMB9gECQ9I7q3Lk4QwC9rtDIk9BMkhFxKXqowhGgbYTeBvtrBHW2mWAv LD8SVongH8RIPSIKodrU8FKkBGA463ZgvbJPvCCbcSgdyO1a00f6pBKVg8sVmL/MGvLq 5b0uTTzZoaquMzdXMR9z8opKX4m8c5GEfVOYFxo6kP2X69BwwQLNfgYhDFhoUsMkBHYt U3GvHt5jtKwznxWZ/RRm2tY953bv2djq+W+T9NWk9vI1VstlOuIxx6v+0E6FEnFC2Jo+ 1Nbi7n9GdTbHegQzHDr2uB944dEqWndNy+tNm/aj79DsnesdvLzt4+PFv52utPrSjp3T 0D4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Akxce9YnDyco8PEyWQJZl4sJkTF+794x4DOgmD78wr4=; b=NQYNpztBbPl4zbtSHLrJw2TCqyeaL8nnOnX2dv4LSKPJuosE2s+gqLYdhVt61BinAN wCkF4WGF5bix0yqPJLQ9sTXAn8VJV6rS5irhVE58nA6n4BoKvqWyIGHy7D8xItd5JXo8 s749FjiLaxO4Jc1yYqEM/5mEGPONqlFkURCCpo7SE0kA7A4Nvq9fqu4xl3StJpRGzcdK cUNA06Mg4XVGd04OIurxVxSa7wrHLSRqHRUgveM/8Pu7YcOAI+29UYiIBqgHe6caU62Q ezU+LcfOpOKP39flLlEr5hqqL77wr8xIS189hr+tLTr312aeeOdYASq1FuUdfI1cmkDy nNSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OHydzpg6; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i17si21867ejf.482.2021.02.02.13.14.09; Tue, 02 Feb 2021 13:14:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OHydzpg6; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234225AbhBBVNF (ORCPT + 99 others); Tue, 2 Feb 2021 16:13:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:47358 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234123AbhBBVNE (ORCPT ); Tue, 2 Feb 2021 16:13:04 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 118AF64E2C; Tue, 2 Feb 2021 21:12:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612300343; bh=03p+YG0k6cqhvv/p/PcMm18f46IbvV/TYJlsk3PX5b0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OHydzpg6QbVaGqiors7IsACDmtwdYiisP/21fqrszCLrIMtss70kiyoQrV1hbEzrT 8S6XmP1+LvgnU4UyA0HfaksMAYUem16aeFDHEo1WndYo53/xCPtBXeZQnKju/UjKWm 9xQGzDdOs9/qQRIIRfKlhf/Cp1HMhXv5RCxMGOQlk9P8wVxYdUZf5cOKrFiACoSBTM 1Cs+X3LiMRfieFW7tEM6SSMDpapYwh7ZV9rNAfPY0+Db0r0ikuV8PhseQFRpGFn1oz gJ3nR8MXxcMgpx4cwll93562IyL24R86q/lS/5gXgvu7zzzPItLELIJeGY8eKLdnlq hx3aaGgYlfLCQ== Date: Tue, 2 Feb 2021 13:12:21 -0800 From: Eric Biggers To: Theodore Ts'o Cc: linux-ext4@vger.kernel.org Subject: Re: [ANNOUNCE] e2fsprogs v1.46.0 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Feb 02, 2021 at 12:32:07PM -0500, Theodore Ts'o wrote: > E2fsprogs now supports the stable_inodes (COMPAT_STABLE_INODES) feature. > This needed to support the siphash file system encryption algorithm, > which calculates the initial vector (IV) for encryption based on the > UUID and the inode number. This means that we can't renumber inodes > (for example, when shrinking a file system) and the UUID can't be > changed without breaking the ability to decrypt the encryption. Note that in the new encryption formats which stable_inodes allows, the encryption algorithm is still AES-256-XTS, not SipHash. (SipHash is a hash function, not an encryption algorithm.) It's the key derivation and IV generation method that change. > E2fsprogs now supports file systems which have both file system > encryption and the casefold feature enabled. This requires Linux > version 5.10. The kernel patches for encrypt + casefold on ext4 haven't been merged yet. So this combination actually won't be supported until Linux 5.12 at the earliest. - Eric