返回顶部
s

sev-attestation

Perform AMD SEV-SNP remote attestation to cryptographically verify VM identity and integrity. Use when proving a VM is running in a genuine AMD SEV-SNP confidential computing environment, verifying VM integrity before trusting it with secrets, checking SEV-SNP availability, generating attestation reports, validating AMD certificate chains (ARK/ASK/VCEK), or debugging attestation failures.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.2
安全检测
已通过
1,758
下载量
1
收藏
概述
安装方式
版本历史

sev-attestation

# sev-attestation AMD SEV-SNP remote attestation for cryptographic VM identity verification. ## Description Perform AMD SEV-SNP (Secure Encrypted Virtualization - Secure Nested Paging) remote attestation to cryptographically verify VM identity and integrity. Use this skill when: - Proving a VM is running in a genuine AMD SEV-SNP confidential computing environment - Verifying the integrity of a confidential VM before trusting it with secrets - Checking if SEV-SNP is available and properly configured - Generating attestation reports for remote verification - Validating AMD certificate chains (ARK → ASK → VCEK) - Debugging attestation failures or certificate issues **Keywords**: SEV-SNP, attestation, confidential computing, AMD, VCEK, certificate chain, remote attestation, VM identity, TCB, measurement ## Workflow ``` ┌─────────────────────────────────────────────────────────────────┐ │ SEV-SNP Attestation Flow │ └─────────────────────────────────────────────────────────────────┘ │ ▼ ┌─────────────────┐ │ 1. Detection │ │ Is SEV-SNP │ │ available? │ └────────┬────────┘ │ ┌──────────────┴──────────────┐ │ │ ▼ ▼ ┌─────────┐ ┌─────────┐ │ YES │ │ NO │ └────┬────┘ └────┬────┘ │ │ ▼ ▼ ┌─────────────────┐ ┌─────────────────┐ │ 2. Generate │ │ Exit with │ │ Report │ │ helpful error │ └────────┬────────┘ └─────────────────┘ │ ▼ ┌─────────────────┐ │ 3. Display │ │ Report Info │ └────────┬────────┘ │ ▼ ┌─────────────────┐ │ 4. Fetch AMD │ │ Certificates │ │ (ARK, ASK, VCEK)│ └────────┬────────┘ │ ▼ ┌─────────────────┐ │ 5. Verify │ │ Cert Chain │ └────────┬────────┘ │ ▼ ┌─────────────────┐ │ 6. Verify │ │ Report Sig │ └────────┬────────┘ │ ▼ ┌─────────────────┐ │ PASSED or │ │ FAILED │ └─────────────────┘ ``` ## Quick Start ### Check if SEV-SNP is Available ```bash ./scripts/detect-sev-snp.sh ``` ### Run Full Attestation ```bash ./scripts/full-attestation.sh [output_dir] ``` This runs the complete 6-step attestation workflow and outputs PASSED or FAILED. ## Individual Steps Each step can be run independently for debugging or custom workflows: | Script | Purpose | |--------|---------| | `scripts/detect-sev-snp.sh` | Check SEV-SNP availability | | `scripts/generate-report.sh <output_dir>` | Generate attestation report with nonce | | `scripts/fetch-certificates.sh <report_file> <output_dir>` | Fetch AMD certificates from KDS | | `scripts/verify-chain.sh <certs_dir>` | Verify certificate chain | | `scripts/verify-report.sh <report_file> <certs_dir>` | Verify report signature | ## Prerequisites - **snpguest**: Rust CLI from [virtee/snpguest](https://github.com/virtee/snpguest) - **openssl**: For certificate operations - **curl**: For fetching certificates from AMD KDS - **Root access**: Required to access `/dev/sev-guest` Install snpguest: ```bash cargo install snpguest ``` ## Reference Documentation - [Report Fields](references/report-fields.md) - Attestation report field reference - [Error Codes](references/error-codes.md) - Common errors and troubleshooting - [Manual Verification](references/manual-verification.md) - OpenSSL-based verification without snpguest ## Technical Details - **AMD KDS URL**: `https://kdsintf.amd.com` - **Certificate Chain**: ARK (self-signed) → ASK → VCEK - **Report Signature**: ECDSA P-384 - **Device**: `/dev/sev-guest` (requires root or sev group membership)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 sev-attestation-1776372579 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 sev-attestation-1776372579 技能

通过命令行安装

skillhub install sev-attestation-1776372579

下载 Zip 包

⬇ 下载 sev-attestation v1.0.2

文件大小: 20.24 KB | 发布时间: 2026-4-17 16:21

v1.0.2 最新 2026-4-17 16:21
sev-attestation 1.0.2

- No user-facing or internal changes; version bump only.
- All documentation, code, and workflow remain unchanged.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部