From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.45 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796378463; b=zAXj3bfg6VGrAPiANfUbjRksI7Rl/fMmUj6MUqgjt1T19aX7ovlNvcv1uuqV0t5n3pbT ipFXf0X8w/uogP2Gx9AlThq+oHEKbN/9umdgT2WBmZTfZe+SG0cxYrQD9T40+ggyshEr3 RUmijvTYxuKjSZxh8xFhEoUmeOibm5thOM3qj4IljT7oAJtDvVVmbqvBoV8T1fR9KIBK3 QWYotSxuXH528thDxNVi6msbLPobu6p7b8HdhZxl7j0n5k0bBQUG3BqrXEkalzt4BTLRC 3x6j1mEeR3jbMp+w+kWJ4RBfZOH7FlyFbnH2xsS3cd4eskcqBShuLKqKId5IeAJpfWQ== 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-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=AteG0SnPTH8M0gwMuPaU2u4skcMud1T1gFU7NbDkSKBM46QWriCSCw9TiYjJa6uYAqN/ xb0U+CecKfEF/6+mKDgQCu9hi2y07XFlLuHlS8iAVnsNah21h7ttG3lt7CHhZYeCOdUIz wsiNd5LEAGHXAAekA95rWC1EO5Ma3fjHyxPiTEz1w40rD7NWPKNog5qnCQt4tSeJMRR7N xBTZLLkoUXOpI/K30MBXF4JLjJuhO6excLIgpvC4SrDT7UsRJDfGumH3e46larjLTNIvc n57h2N2ip9WEqSzoXgF3nSu8RBSnKh2aSzA0FQes0kEn4LXpVMXgledWWUgZV1TSkwA== 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=tkAZNhKj; arc=none smtp.remote-ip=209.85.221.45 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 56078606A330 for ; Fri, 4 Dec 2026 10:01:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 56078606A330 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=tkAZNhKj Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-4a68190a2a7so574045f8f.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=lists.linux.dev; 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=tkAZNhKj0ImFXG9YABi3xc3GfhLYfSLFdTQHjfiwhDJr2fY9pkwNChH+qTvLOC51cx fnxxLmryxtnXhdqN13SBVS0nE9ecfO5qHrEmDE9MkHAxPG1Oc2Xkz892/Ptzhy/cRyGY 7UB2tyV272JqR6xnxdBWfUXfU0liPmvPjPzjZ1t1hCMUdkUbyU0A/K0FD14zBjbRLr1s 7g3PqFQWVyBlH0n/R/AU8sEXV0URVwB8tlMtPiBsWEG7h0MTxxJtcWre25OeTH3XDEw9 yliLFn8edEBcqmhMOuBdl7s3Sw/KEjjzMZVJixbmly9yW96XyegJvq76MwJc4sSAehg/ 8pjA== 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=OKErt13R2DGZMb+fQ+8RaCLM6fQF/1RgaSuJ0w6eTjnVSs4h7NZMcZRpNnsKZDjuSF mVZ1XVIqUohJF7E0O3WlXEAKjZL8sWYCAvP+Eho8ESxs6EonnVcuhvWaUG3klG1yFCRS YpvppxtG+PnrIQxpUEoN0IDB7L0AE3IU4mAY37ZNwDSt0UW3IpDTXUNFovFFwoqQlpFR 5k8BBMFl5/AoOzCNjPWFGHFYprVtGDTmI+Yc7P3cVdGC9OaMYvEMctCGX1BJkTFrGfkP +X7ga9Gk0DfssNAZm13c/zY2QNHveWjAAtS3PtFdiqjhFyCyhPT133VHvF2e+PsXocDV iDNg== X-Gm-Message-State: APuU4Z9LNmC8PeA0PHdeQxksjLFFhYIC/NUsB7ebQbH92uWCGtSzuhsJ kg2rmeu4HHgpwMrUZt7SP6azJRbllAq1AB6FtQ42xrh5Fk7WEGu505XYkr/PqShJs/0= X-Gm-Gg: AZFdTZcpNsRbF3K1XxE47WweRte3j16R/qpntISb7v7doPvEWDqZnNdPIWOP39QMGkp 1sxsd3Ux4pcmBsreu7FoxkS6hj18RyyF9zpVS4k41uyte6Q9Y1SYFRCv0steMBZ/Vy5FAJSKUPL OkRu/6B7kwdAWkfNu42jULEl7JYxJpwSSXM888gF2qCIgDN+tp/2/nq2bokk51D7gdFqW3Ssckv NF0srUUlHKSGtzedZlcl/qk6ElDow6xGOQvTRhetz/3RGgKf7qt8iLE6GsHXj5TtUqgU283VpV2 62BJvmQydyeckHlsFYdGVCMDPP88aWQxRDbxdesA3/IpczGi9YaDVbdWdrJbbsW5FhGA3eZEw2T xJHpM5r/opW/9GmjUd6JhO2PMOCkHwZdcIqBhsJ3Pc2zH0F3e6H82Ow6CfQNaniVqtw0boV/See tykC6SrNIwSJ8EXZgJ255uuwPxZHZbePXgw7UESZZ+slp5SCu8bS9saaRsmE30lNUQwgPSuL1VH 0e0U6JGfef4sTzsCIOULyGTj/sWrpoOPOlOW3tryZYWyMiNlZbYNgoquL9qzR8R07d3Ew8pNxpj g1nLlhR+p0C5ieHp/ruLJwOF8LdHHvjMgF7NDsU= 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-coco@lists.linux.dev 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? [..]