Files
ssw-mpc/deploy/tee/real-machine/nodes/amd-sev-snp.node.example
T
admin 5dec915185 feat(tee): KBS 客户端 + 证明结构校验,OCI 打包与真机编排资产入仓
- mpc-tee 新增 kbs.rs(最小 HTTP/1.1 KBS 客户端 + fail-closed 校验 + KbsKeySource 替代内置 PSK)、verify.rs(SNP 报告结构解析 + 可插拔外部芯片验签器 + verify_attestation 显式区分「芯片签名未验证」)。
- mpc-cli 新增 mpc tee verify / mpc tee kbs-get 子命令。
- catalog.rs 补 verify/kbs 模块到 TEE 直接调度段并加回归断言(清单铁律)。
- deploy/tee 新增 oci/(分层镜像构建)、kbs/(serve stub)、guest/(init)、real-machine/(跨机双 guest 编排);docs/TEE_OCI_PATH.md 记录 Kata 实测复核(仅 AMD 有、海光无且不支持 CSV,不引入)与 e2b 远程调度接口参考。
- 影响:密钥经 KBS 注入(不再内置明文 PSK),证明结论如实区分结构与芯片验签;远程调度走 OCI digest + 框架选节点,不引入 Kata/e2b 依赖。
- 测试:./tools/ci.sh 四道全绿;mpc-tee 单测 73→86。
2026-11-06 19:33:53 +08:00

20 lines
746 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AMD SEV-SNP 真机节点描述(2026-11-06 实测 192.168.1.7 / tee-node-01)
# 用 deploy/tee/preflight.sh 产出实际值;measurement 必须换成
# `oci-image.py build` 输出的 manifest digest(64 hex),否则 fail-closed 会拒绝。
# pair-run.sh 分发时会把 initrd= 改写成远端路径,无需手改。
site=alice
host=192.168.1.7
kind=sev-snp
tcb=5
device_present=true
qemu_present=true
firmware_present=true
image_present=true
kbc=online
kbs_reachable=true
measurement=0000000000000000000000000000000000000000000000000000000000000000
qemu=/opt/kata/bin/qemu-system-x86_64
firmware=/opt/kata/share/ovmf/AMDSEV.fd
kernel=/opt/kata/share/kata-containers/vmlinuz-6.12.36-160-confidential
initrd=/tmp/mpc-tee-run/initrd.img