Tracking: AWS EC2 NitroTPM attestation platform support
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
調査の方向性
まず Dstack-TEE/dstack#753 と Dstack-TEE/meta-dstack#79 を確認し、docs/aws-attested-instance-security-evaluation.md と記載されている CI 結果も確認します。完了条件は、最初に #753 をマージし、meta#79 のサブモジュールを更新し、指定された既存の CodeQL アラートを却下することです。
索引モデルが issue の本文から書いたものです。
説明
Tracks the two PRs that add the AWS EC2 NitroTPM attestation platform to dstack (account-admin-untrusted threat model).
PRs
- Dstack-TEE/dstack#753 — core implementation: NitroTPM attestation-document parsing/verification, PCR14 launch + PCR23 runtime measurement, KMS key release without AWS KMS, verifier +
auth-simple/auth-ethsupport, and SDK updates. Basemaster, one squashed commit (504e3420). - Dstack-TEE/meta-dstack#79 — Yocto layer: the
dstack-awskernel fragment (NVMe/ENA root, EFI/GPT, serial console, TPM CRB) and thetpm2-tssguest build dep. Basemain(a1aa04e). Depends on #753.
Status
Both are rebased onto their latest base and MERGEABLE. On #753 every functional CI job is green (rust-checks, sdk-tests, kms, verifier, gateway, prek, reuse-lint); meta#79 CI is green.
Design notes for reviewers
- Integrates like AMD SEV-SNP, not with bespoke surface. A verified NitroTPM attestation has no TDX/SNP-style TCB surface, so it is normalized to
tcbStatus = "UpToDate"and passes the unchanged on-chain contract — no AWS-specific on-chain field. - AWS key release is opt-in:
aws_nitro_tpm_key_release = falseby default inkms.toml, mirroringsev_snp_key_release(fail-closed for the new, weaker mode). - App is trusted post-launch, exactly as on TDX/SNP — no compose-security filter or device sandbox; integrity rests on measurement + non-resettable PCR14. Rationale in
docs/aws-attested-instance-security-evaluation.md. GetPlatformwas folded intoAppInfo.attestationrather than adding a new endpoint.
Before merge
- Merge order: #753 first, then bump the submodule and merge meta#79.
- Dismiss the CodeQL alerts flagged on #753's diff — they are pre-existing, in files this PR doesn't touch (surfaced only because the squashed diff is large). Notably
sodiumbox/src/lib.rs:62"hard-coded cryptographic value" is the HSalsa20 zero nonce, i.e. the correct NaClcrypto_boxconstruction (false positive); the rest are pre-existing inra-rpc,http-client, andsdk/go/ratls.
Follow-ups (post-merge, optional)
- Share the X25519+AES-GCM envelope (
encrypt_for_x25519_recipientin KMS +dh_decryptin the guest) via a small lib crate — deferred becausedstack-utilis a binary crate. - Confirm whether the
tpm2-tssbuild dep in meta#79 is actually needed (the guest drives the TPM via the in-treetpm2crate over/dev/tpmrm0).
- 主要言語
- Rust
- スター
- 546
- フォーク
- 96
- 平均マージ
- 19時間 22分
- マージ済み PR(30日)
- 109
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Dstack-TEE/dstack のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
Dstack-TEE/dstack#1301 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
Dstack-TEE/dstack#1300 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
Dstack-TEE/dstack#1299 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
Dstack-TEE/dstack#1298 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
Dstack-TEE/dstack#1297 ·
Dstack-TEE/dstack の issue をすべて見る
似ている issue
-
risk:low runtime status:in-progress type:test
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
zeroclaw-labs/zeroclaw#11023 ·
-
good first issue refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
EricSpencer00/Resilient#4835 · コメント 1 件 ·
-
agent:ready documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
cesarferreira/stax#890 ·
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100