- 根因:scard/code/connector/tpm/mock_tpm.go:231 的 MockTPM.Quote 没 prepend 'SW_TPM_QUOTE_V1' magic header,与 SoftwareFPGATPM.Quote 不一致。 - 触发:j7node2 启动 auto-detect 走到 MockTPM fallback (无 /dev/tpm0 也无 /dev/fpga_tpm),quote 格式不对;j7node 走 SoftwareFPGATPM (有 magic) 所以通过。 - 修复:MockTPM.Quote 也 prepend magic,对齐 server parseQuote 期望。 - 调试:server attest/attest.go parseQuote 前加 fmt.Printf quote 头部 hex 调试日志 (临时保留便于后续观测)。 - 顺手:j7node2 connector 首次成功注册 attestation=tofu-recorded,attestation-policy.json 自动登记 J7NODE-002 entry (含 tofu:true)
9.7 MiB
Executable File
9.7 MiB
Executable File
The file is too large to be shown.
View Raw