Repository navigation
Commit 73ebebc
fix(trustee): capture full SNP VCEK chip_id instead of truncating to 64 hex
collect-snp-vcek-urls.sh extracted the hardware ID with
`grep -oP '[0-9a-fA-F]{64}'`, truncating the chip_id to the first 32
bytes. The SNP verifier derives the on-disk VCEK directory from the full
hex(chip_id) — 128-hex for non-Turin EPYC, 16-hex for Turin — so a
truncated value can never match and attestation fails with
POST /kbs/v0/attest returning 401, leaving workloads in
CreateContainerError.
Extract the full chip_id as the KDS URL's trailing path segment (query
stripped) without truncating.
Refs validatedpatterns/trustee-chart#45.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 9800bf1 commit 73ebebc
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments