- cosign 3.0.6 + ssw-tee-cosign 密钥对(公钥指纹 1e7926e7...86bd) - ssw/tee-compute 镜像 build+push+sign/verify 通过(digest sha256:b8b40...) - OPA 策略 v0 语法(ssw.tee.allow)覆盖 runtime/sig/attest/encrypt/delivery 5 维度 - OPA bundle 打包脚本 + KBS reference values(cosign pub + trusted image + runtime 白名单) - runbook:硬件前置、TDC 配置、验证脚本、回滚 - web 栈 tdc router 加 tdc-tee-security 入口(jweb 走 base_module,web 走手写路由) Refs: refs/tee/runbooks/real-tee-e2e.md
33 lines
1.1 KiB
JSON
33 lines
1.1 KiB
JSON
{
|
|
"policy_id": "ssw-tds-default",
|
|
"policy": {
|
|
"description": "SSW TDS TEE attestation policy (SEV-SNP + cosign-signed tee-compute image)",
|
|
"evaluation_type": "tdx"
|
|
},
|
|
"revocation": {
|
|
"ignore_stateful_session_insecure_versions": true
|
|
},
|
|
"service": {
|
|
"host_data": {}
|
|
},
|
|
"tdx": {
|
|
"trusted_boot_layers": ["BCS", "MRC", "RTMR"]
|
|
},
|
|
"reference": {
|
|
"cosign-public-key-path": "/Users/xs/Desktop/ssw/refs/tee/keys/ssw-tee-cosign.pub",
|
|
"cosign-public-key-fingerprint-sha256": "1e7926e7e678c665d77c8917dade862b5566c326f2c77bcbfe5c22b7234866bd",
|
|
"trusted-images": [
|
|
{
|
|
"registry": "127.0.0.1:5050",
|
|
"repository": "ssw/tee-compute",
|
|
"tag-or-digest": "sha256:b8b40f98254068d805aea10c5029d6fcc96ed586e9e219d1ca16f9d753fdf48d",
|
|
"subject": "127.0.0.1:5050/ssw/tee-compute@sha256:b8b40f98254068d805aea10c5029d6fcc96ed586e9e219d1ca16f9d753fdf48d"
|
|
}
|
|
],
|
|
"allowed-runtime-classes": ["kata-qemu-snp"],
|
|
"allowed-kbs-path-prefixes": ["default/ssw-tds-"],
|
|
"require-image-digest-pinning": true,
|
|
"require-image-signature": true,
|
|
"require-encrypted-input": true
|
|
}
|
|
} |