{"id":13642161,"url":"https://github.com/AMDESE/sev-guest","last_synced_at":"2025-04-20T16:30:25.322Z","repository":{"id":42522435,"uuid":"412160887","full_name":"AMDESE/sev-guest","owner":"AMDESE","description":"Tools, scripts, and configuration files necessary to demonstrate an end-to-end remote attestation example with SEV-SNP.","archived":true,"fork":false,"pushed_at":"2024-01-26T19:10:39.000Z","size":450,"stargazers_count":53,"open_issues_count":25,"forks_count":27,"subscribers_count":13,"default_branch":"main","last_synced_at":"2024-08-03T01:25:50.492Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AMDESE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-09-30T17:31:19.000Z","updated_at":"2024-05-01T08:17:08.000Z","dependencies_parsed_at":"2024-01-26T20:33:18.783Z","dependency_job_id":"ba8df56b-5a2b-419c-a5b7-c68177bdae02","html_url":"https://github.com/AMDESE/sev-guest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMDESE%2Fsev-guest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMDESE%2Fsev-guest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMDESE%2Fsev-guest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMDESE%2Fsev-guest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AMDESE","download_url":"https://codeload.github.com/AMDESE/sev-guest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223832826,"owners_count":17210723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:01:28.088Z","updated_at":"2024-11-09T13:30:35.423Z","avatar_url":"https://github.com/AMDESE.png","language":"C","funding_links":[],"categories":["Other TEEs"],"sub_categories":["Memory Protection"],"readme":"# \u0026#x26A0; Deprecated \u0026#x26A0;\n\nWith the release of tooling by the [VirTEE](https://virtee.io) organization, this tool is now considered deprecated. Consult the following table for replacement tooling:\n\n|Technologies|Replacement|\n|-:|:-|\n|Complete Library Support|[sev](https://github.com/virtee/sev)|\n|Legacy SEV and SEV-ES|[sevctl](https://github.com/virtee/sevctl)|\n|SEV-SNP Guest Tooling|[snpguest](https://github.com/virtee/snpguest)|\n|SEV-SNP Host Tooling|[snphost](https://github.com/virtee/snphost)|\n\n# SEV-SNP Attestation Examples\n\nThis repository contains source, scripts, and configuration files for several open source tools that can be used together to demonstrate one way to perform remote attestation of SEV-SNP guests.\n\nNote that these materials are intended for educational use only and come with no guarantee of fitness for any purpose.\n\n## Architectural Overviews\n\nArchitectural discussions and security considerations for each example are available in the [docs](docs) directory. Currently, this repository contains the following examples:\n\n* [SSH Key Exchange](docs/ssh-key-exchange.md): Using remote attestation to securely exchange SSH public keys.\n* Encrypted Disk Unlock: Using remote attestation to retrieve a disk encryption key and unlock an encrypted root filesystem.\n\n## Example Setup\n\nInstallation instructions for the cloud host and the Guest Owner infrastructure are outlined below. Note that for simplicity, these two servers can be the same physical machine.\n\n * [Cloud Host Setup](docs/cloud-host-setup.md)\n * [Guest Owner Setup](docs/guest-owner-setup.md)\n\n## Future Work\n\nFuture updates to this repository will include additional examples of how to perform the following tasks:\n\n - [x] Construct the ID Block for the SNP guest. (Done. Documentation pending. See `sev-host-identity --help` for more information.)\n - [ ] Verify the ID Block in the attestation report. (in progress)\n - [x] Shift the attestation flow to the initrd and receive a disk encryption key. (Done. Documentation pending. See [attestation/cryptsetup-initramfs](attestation/cryptsetup-initramfs))\n\n---\n\n## Resources\n\n1. [AMD SEV-SNP ABI Specification (PDF)](https://www.amd.com/system/files/TechDocs/56860.pdf)\n2. [AMD Signing Key (ASK) and AMD Root Key (ARK) Certificates for Milan Processors](https://developer.amd.com/wp-content/resources/ask_ark_milan.cert)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAMDESE%2Fsev-guest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAMDESE%2Fsev-guest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAMDESE%2Fsev-guest/lists"}