From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.47 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796378463; b=2vZXd11ooMnhkiG1GZHPJ1xp6VUr9Snk+C2oxm/uRBcDwsikdmJ/CQ+wHNkTyg+a5t7X OSOPfsxHvqTghFj2Osp8e/4VDTcLC6+nmNs4/gFWTY99q7jQdT8XAEdQLFeKZLbf/jqtX 9gE0UISXibOWHG5adP5FM+WK2klLaphltpi145xF7jFy9YsHGB2aCntzp9utQm8KNDnsn b0r2XdMB3Vw9KhIYU6GtXqpILIvzZbrQffDkCzoq07MYI6B9vXvNdoZbsto1FX+dCIuXX T+g2JkzpRi/FCx2YL8hMWtP9loYPHD5wdBQZsB1hnT9Yz9ycMxyZEn7i1xfdFilcMaw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796378463; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; bh=d+4yefzow9AlwLC+AUrkNApULUL1hV+o3e5WfzSNlmo=; b=mhzrzfPZtNSOFtXxSSao3KV8lRnnlZOZdMG3vY0jDOv6/Pjl5FlFui+JEU9IA1nOpP+B FjJR0YXtknsazJAuTYq4k/GbMZKX0hGkczl3opsY+1zeZ073wSSh6POnQvRqvwR4Frw2f 9Jz/SokoTPvjNuToaVJswfxdUtFG9IskdXDTuQNvF5yeMjyroZaqmcKhuS+B8W8wDA81a kEGFcEmsPThS21t5ZInxds69wqh1Md4JAYqmXIHXKvTicWloRPZnnPxiHjmXCXL4Vy51M Nq8w9pDIG0hJhdTdXgGGggJfyxM4d+keRC/jwl7uR+j4e8ho/brYPTf55h3fA+KMy6Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=resnulli.us; spf=pass smtp.mailfrom=resnulli.us; dkim=pass header.d=resnulli.us header.i=@resnulli.us header.a=rsa-sha256 header.s=google header.b=mW5uiUMw; arc=none smtp.remote-ip=209.85.221.47 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7ACE0606A333 for ; Fri, 4 Dec 2026 10:01:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7ACE0606A333 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=resnulli.us Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli.us header.i=@resnulli.us header.a=rsa-sha256 header.s=google header.b=mW5uiUMw Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-4a68190a2a7so574049f8f.1 for ; Fri, 04 Dec 2026 02:01:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli.us; s=google; t=1796378462; x=1796983262; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=d+4yefzow9AlwLC+AUrkNApULUL1hV+o3e5WfzSNlmo=; b=mW5uiUMwekW1Cgcaj4YeW+i93fXkdQljeRvLrfseAhvaVaFCaASi41ljasu1eSYzov e3J5/nUq+XXez3BNv5bV/yVjKYLWegHsjDIM8TV25e5BnhnuOvYZ05lDAgqNrF2ukSlV pg2sYFBujpQdVNrc+EQGHRO3SsgXBX1cE5kdf7al4CY521t187ne1d/e6xYMVsVxHht3 w93dF8yQDdLJw12H8kSS5bqWNb8lpjuJWlOtZtuyGu/KKFIzfylS1eCgvoHFgumkPxCe x2ATsQro/XFhQozExeIVW+XoFCkI/hN6iGAzH/QHCCwNvzveS/xPDtA3O7ZLk+d3XSUp SEcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796378462; x=1796983262; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=d+4yefzow9AlwLC+AUrkNApULUL1hV+o3e5WfzSNlmo=; b=hADvM8PR2T5P3YReAdL5lHcrxutgjTRXxWHoMhgyRB+f2tSnwPQ5ufiQNy2kisANRE /CUv6zXrrHg8lPsQzL9093kWIj1oSdndXUGLLIs2lJ06SfxZDTXN0Lm2qFI9bKozd13B bpa2lLIs/trE7juk+wHA/8smMm6kCM/C9YAB8gvSJQpuaatgDfkI4YcSu2j42CUfMcP6 zwtClI1hYo5rxsBVlYrsYOe+gaeqrddpDny9mp/Rb6h6pMd+vLXMNoSxDFwuWuMl61Es eUMC/YLD8fLm+hjJU58jnBORKaOxFVMsJrZwWfiwnG9EuNHOhNLQ1TX2RSzhtub280QM 83OQ== X-Forwarded-Encrypted: i=1; AL+hErF/w6zauPyr+yYTiAO0lwaUEdMXh1BtbuYQ/gSaW5azkZ1HTD7xnTeJmkdODXRQPNUsP3DGx/rH16Y=@vger.kernel.org X-Gm-Message-State: APuU4Z+YR01CiiwjetSNb7/GHXz0Cbwr0NxMhBIOQP2ZVbpKrBM5LuBa GoP76vrcOCIrNw9W3OXjZIgTCHyZyt60Opu/juaePrGlpzadWrfAJjFyQ/YfIxzPMbE= X-Gm-Gg: AZFdTZflKAn86SwTLuFhbB6uu2A0Ees9PWt0kJ3cGC0eYk3V61CYdT6nxB1EmQAMzO7 HLd/r+GEKu9LCJl9BPgl16Q/7oYYlatB0BLdCF9EHIAAjK6vF7cPYx5d4OzmKzyHyoFwgQpXzAN hRHIaJrx7LHbqyiciAp1bz/juUseOSDfAPRj0rbcGg8RyuT79uM3j0MIapIh6j41ehp0Y+0B7UE YkkTOptd8tC6rdDv5/z/yXx4vKPuBtk+HaEmVj8OcPZeGWhlwMn7o1B5MCJY9woIQjGJ/xfW0XR 4cNK5DdHbAsIfqc3lRZRczSMbLWnw8PpuDeWxNhdojHelZF8rfYc+mw7sXlp8w/zvEMnMymuhYi gh831o01egarW7M/mDWqfES67sPe0MySIC+flXPv3p6cioI0mAnu7qucDheb8pqCDxzKk+jLYMy 7KKqozV3RrQOxQzoUqewmpX4dU1eI93N/b5F+SoZN8dbNX/Dh3JFQBMGhRxe8cg/Y++8VzkeTUO y2+9BNiOm3BL7T7vMT8gPh0dHgvA3lj3J5eLmFzplKNvqYUZcEzwaLE8etkx8Qs6E2LPDJEQL74 yUgnXDPv7ABZOMnvE8/0EPYuq+SeL5ShpLnCpi0= X-Received: by 2002:a5d:5f04:0:b0:485:8cc8:1f5f with SMTP id ffacd0b85a97d-4d1ebd95e7amr2696600f8f.42.1796378456449; Fri, 04 Dec 2026 02:00:56 -0800 (PST) Received: from localhost ([140.209.217.211]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4d172e41e06sm4503366f8f.24.2026.12.04.02.00.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 02:00:56 -0800 (PST) Date: Fri, 4 Dec 2026 11:00:51 +0100 From: Jiri Pirko To: Jason Gunthorpe Cc: linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org, linux-doc@vger.kernel.org, david.quigley@intel.com, lukas@wunner.de, ksinyuk@kernel.org, rodrigo.vivi@intel.com, cedric.xing@intel.com, sameo@meta.com, drdeeglaze@gmail.com, James.Bottomley@hansenpartnership.com, aik@amd.com, jpiotrowski@nvidia.com, qinkun@google.com, pgonda@google.com, jic23@kernel.org, alistair.francis@wdc.com, ankita@nvidia.com, suzuki.poulose@arm.com, kas@kernel.org, rick.p.edgecombe@intel.com, elena.reshetova@intel.com, dave.hansen@linux.intel.com, sathyanarayanan.kuppuswamy@linux.intel.com, peter.fang@intel.com, jarkko@kernel.org, zohar@linux.ibm.com, yeoreum.yun@arm.com, aneesh.kumar@kernel.org, dave.jiang@intel.com, nik.borisov@suse.com, sergii.dmytruk@3mdeb.com Subject: Re: [PATCH RFC v2 1/9] attestation: Add the base family specification and generated files Message-ID: References: <20261113160838.2512652-1-jiri@resnulli.us> <20261113160838.2512652-2-jiri@resnulli.us> <179573913907.519186.8407997114208887089.b4-review@b4> <20261130202539.GA114472@nvidia.com> X-Mailing-List: linux-api@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Wed, Dec 02, 2026 at 03:01:58PM +0100, jiri@resnulli.us wrote: >Mon, Nov 30, 2026 at 09:25:39PM +0100, jgg@nvidia.com wrote: >>On Fri, Nov 27, 2026 at 01:54:49PM +0100, Jiri Pirko wrote: [..] >>> >The comment should be improved to define what consitutes a 'format'. I >>> >was advocating that the format should define enough to check the >>> >signature and the challenge universally. >>> > >>> >Like Peter described the new TDX evidence as "tdx-quote-eat-cwt-1.0". >>> > >>> >Poking at the IETF RFCs with AI a bit I think it should be described >>> >as "CWT EAT" in this language. The EAT RFC defines the location of the >>> >challenge and uses the CWT packaging which defines how the signature >>> >is placed. >>> > >>> >I think ARM uses this format too, IDK what AMD uses. >>> > >>> >The EAT itself should have information inside that describes the >>> >"tdx-quote-1.0" idea, so we don't need it externally. >>> >>> Perhaps we need 2 attributes, "evidence-packaging" and >>> "evidence-format"? This is a bit unclear to me to be honest. >> >>I think for now we can just have the packaging, the "CWT EAT". It is >>supposed to be self describing so userspace should be able to >>understand what it is after looking inside it. > >Okay. Actually, how do you know that quote-dice is "CWT EAT"? I wasn't able to find this anywhere. Could someone from Intel jump in and point me to where this is claimed? Peter? [..]