NitroTPM 和 EC2 attestation
NitroTPM
nitro tpm 做 seal / unseal
> tpm2_createprimary -C o -g sha256 -G rsa -c primary.ctx
>
name-alg:
value: sha256
raw: 0xb
attributes:
value: fixedtpm|fixedparent|sensitivedataorigin|userwithauth|restricted|decrypt
raw: 0x30072
type:
value: rsa
raw: 0x1
exponent: 65537
bits: 2048
scheme:
value: null
raw: 0x10
scheme-halg:
value: (null)
raw: 0x0
sym-alg:
value: aes
raw: 0x6
sym-mode:
value: cfb
raw: 0x43
sym-keybits: 128
rsa: c6d189aaa88b6b8d4dd9829ac7a0588e5e6f54c16f53128eca6424e06f90a06d15e5700c874d332de97a0c0601cd60b08b9dc2c02177e40422daf4121d452632fb2c535aa392eb57b04deed39c1f4757df9abbb553a96fd6e7b00e379255ffa767a638e5c144c756864aa29aee1d898ee3256b1e88ff32602a6dc4ec5f2331153eef2ad00ee599b70f685491b5d49fe2a8dea893e8d44696b6tpm 创建 rsa key
tpm 持久化
在 attestable EC2 环境里用 NitroTPM
解决的问题
环境准备
镜像制作
加密
在 nitro TPM EC2上
解析 attestation document
生成 attestation document
解码 cbor 格式数据
Last updated