-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
Description
Following the merge of PR #437, dstack now supports a flexible attestation format designed for multi-platform compatibility. While our previous implementation was limited to Intel TDX, the new format paves the way for supporting other TEE technologies.
Implementation Guide
Here is a high-level implementation path outlined:
1. Update Attestation Data Structures
- In
dstack-attest/src/attestation.rs, introduce aDstackAmdSevSnpvariant to both theAttestationModeandAttestationQuoteenums.
2. Implement Quote Logic
- Implement the quote generation and verification logic for the new
DstackAmdSevSnpvariant. - Ensure this mirrors the logic currently used where
AttestationMode::DstackTdxis referenced.
3. Configure VMM & QEMU
- In
vmm/src/app/qemu.rs, Updatedstack-vmmto handle QEMU launch arguments specific to AMD SEV-SNP. - Add a
platformconfiguration entry tovmm.tomlto explicitly select the TEE backend, or implement platform auto-detection.
🤝 Call for Contributors
We would love community help with this feature! If you are interested in dstack, contributions are welcome.