Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp478746lqh; Sat, 4 May 2024 08:36:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWR9F8KWDPWTaW37/FyFt3IS5ByWeqqGHVEpaD8/X3Bx6WkfDiE2rvMEpE+RVR+xHpyRsKR+echhHKR+eyFHkXCto+eGcQFPTMCQaFyLg== X-Google-Smtp-Source: AGHT+IHN+KBzBM8uK5hf4/rVyVbBqf72rewhpx/t74WMpehwVjmbGHaWuw1lrBycR6fJpXZaIVDC X-Received: by 2002:a05:6a20:3aaf:b0:1a8:2cd1:e4c6 with SMTP id d47-20020a056a203aaf00b001a82cd1e4c6mr6469161pzh.54.1714836962765; Sat, 04 May 2024 08:36:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714836962; cv=pass; d=google.com; s=arc-20160816; b=JT2kdlKiLG5xNfe/lkdbeRaPH7i6F9vjTEvhF2Z5cntuSPOAXvt65vQpYd58OGIujP 62R1Q2zZIPr+Emz9YyRDEpLqbcb5FFDiBC4sFhYAH7wQkuxBLr6cNTk/rZC33drS3kfQ Ff8iLGb3sy3eYfvZwq0fjTam6cm6+qDmxk0GhvmZkvc5TDTpOazBarq/emoV3RrHk9QW Ej5mH0ku9YEjAfUMSfpcxfAa/xf9jiIx5KH6lfMFlcN4Pfdm1cKxY1Ipayoak/1/H2nE krAkaoc64eefPByzbJTqhYhj5CZad7g3GdQTW/O1Rh3TgIP6scivxObj0+c20m73To+B SS8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=85RbBUO055p0/gJEMgqtLXFEp9Yh8y0N/o3PtDMKW74=; fh=rE9e8LB2NsiauApb8ErTCi8ANBUuPiM/W7uWwc0WH5A=; b=UzFR6sd+2y/HXSRXJczGqVP4vnyYVMBwLz+kZc7WMtPkKpzg6ILb9ZkogoCyDtnk3Q xIWqE3r8/Wn/xZMp1roh5MNamJLOldZq/YjyQ8GoAhavdSi/mwfiNbb+f0w7bWrEz5V8 hBWQkavl99czTpsIVFWxz3tjU8QPxG7OjaDzOxEdZJyVkONd6xLwVdhHu/XPCyOFlfyb 0pZiL45QnIZkyGFge2mSS4SdgJHwTUeuaEmZuuSq1Jb5Xzs106Cek+KsTcXU8gKFzSiZ rIj1DyO4iPAINAs6oG44BxDtfyiZkWBzdJwMlqqjKKFLSwglP5wxlzVQ0MBxIArqB0gL PzmA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E1qYw7ln; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168729-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m194-20020a633fcb000000b005dccf9c08ebsi4144031pga.656.2024.05.04.08.36.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 08:36:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168729-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E1qYw7ln; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168729-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3BBAA282A4F for ; Sat, 4 May 2024 15:36:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5432141741; Sat, 4 May 2024 15:35:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="E1qYw7ln" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6B06E1EF15; Sat, 4 May 2024 15:35:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714836954; cv=none; b=BDhTaSr6Vj6khhJdwYXfClWN+03xpIyAhDV4e+GakU9XU22X0QTLeAhMJchgMbJsgCc598E4ghL0+bjx/TrZO41JzAroG/7WKWRanbLN4UfZgIexKKZarDsT3pd/R5x5i6uHtAzqltM/EXNXt7VQeJbE88gyB7mp2BBudscrJ9c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714836954; c=relaxed/simple; bh=Gk/mhS8TriKuywu+H3KzIpPCU/lc2/yHAJtYyq2QK8I=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=SoiHGIvWfCVEscy65jJvOuOncgwuhq3qsuwkHFyUF3mgkYRb5wMIAqmEw+avUUrbaQXKLsJEwEwUNeIE2pG4W24AeCLXTynxDGWfCs5/8v0PrAcneFOkz5hI+ttC1UxcWI6vc1hZVERPk2OwrOICqF1OhOUKLMLzrxj4Gpvnayw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=E1qYw7ln; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 394EAC072AA; Sat, 4 May 2024 15:35:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714836953; bh=Gk/mhS8TriKuywu+H3KzIpPCU/lc2/yHAJtYyq2QK8I=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=E1qYw7lndcDJNl9XAEYLPpuwwU9h+88xGdsUPSOMQDie+h0nBD/Xn//eeyCZMYGGK PcIt4ItYu2jjeJ13atj0aFNZepI8NxFpWC81rPT85e7H8txGnalBG5Vzix7LgCsyvi WfMf8FvDdY5WFvS3SVOqN68TXF7L7ArFTHd519+X58BxpaFx9a3XIxtUT5aZbmi8HN db8a0+QNk/EoEbP6w5iiSkHgnorbJ2//8oxjbeFJBvNDt9lJrzfLgu6UeW5+/oDzoL 3509B6PuGT2OFUbrS5XyFeZY5+qW1yAL1kYJ3ZJZdNFHVpCCcOjVaOpNeFM88/YIW/ HYO6RVrfNGBsw== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 04 May 2024 18:35:48 +0300 Message-Id: Cc: "Ignat Korchagin" , "James Bottomley" , "Mimi Zohar" , "David Howells" , "Paul Moore" , "James Morris" , , , , , Subject: Re: [RFC PATCH 0/2] TPM derived keys From: "Jarkko Sakkinen" To: "Jarkko Sakkinen" , "Ben Boeckel" X-Mailer: aerc 0.17.0 References: <20240503221634.44274-1-ignat@cloudflare.com> In-Reply-To: On Sat May 4, 2024 at 5:51 PM EEST, Jarkko Sakkinen wrote: > On Sat May 4, 2024 at 4:55 PM EEST, Ben Boeckel wrote: > > On Sat, May 04, 2024 at 03:21:11 +0300, Jarkko Sakkinen wrote: > > > I have no idea for what the key created with this is even used, which > > > makes this impossible to review. > > > > Additionally, there is nothing in Documentation/ for how userspace migh= t > > use or create them. This includes things like their description format > > and describing available options. > > The whole user story is plain out broken. Documenting a feature that has > no provable use case won't fix that part. > > So it is better to start with the cover letter. With the *existing* > knowledge of the *real* issue I don't think we need this tbh. As for code I'd suggest the "Describe your changes" part from=20 https://www.kernel.org/doc/html/latest/process/submitting-patches.html and most essentially how to split them properly. My best bet could something along the lines that perhaps there is some issue to be sorted out but I don't honestly believe that this will ever be a solution for any possible problem that exist in this planet. BR, Jarkko