sev-attestation
بواسطة xinyuwang
Coding Agents & IDEsموجز
Perform AMD SEV-SNP remote attestation to cryptographically verify VM identity and integrity.
الوصف
ما الذي تفعله هذه المهارة
AMD SEV-SNP remote attestation for cryptographically verifying VM identity and integrity. Runs a 6-step workflow: detecting SEV-SNP availability, generating attestation reports with a nonce, fetching AMD certificates, verifying the certificate chain (ARK/ASK/VCEK), and validating the report signature.
Automates the full 6-step AMD SEV-SNP attestation workflow with individually runnable scripts, removing the need to manually chain openssl commands and AMD KDS API calls.
متى تستخدمها
- Verifying a confidential VM before sharing secrets with it
- Proving a VM runs in a genuine AMD SEV-SNP environment for compliance audits
- Debugging attestation failures in confidential computing deployments
- Automating pre-deployment integrity checks on SEV-SNP VMs
- Validating AMD certificate chains before trusting remote workloads
مثال على سير العمل
User asks: verify this VM is running in a genuine AMD SEV-SNP environment
- 1
Run detect-sev-snp.sh to check if SEV-SNP is available on the host
- 2
Generate an attestation report with a random nonce using generate-report.sh
- 3
Fetch ARK, ASK, and VCEK certificates from AMD KDS using the report data
- 4
Verify the certificate chain from ARK down to VCEK
- 5
Verify the report signature against the VCEK certificate
PASSED or FAILED with attestation report details and certificate chain validation results
المتطلبات
- snpguest Rust CLI (install via: cargo install snpguest)
التثبيت
clawhub install xinyuwang/sev-attestationشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.