Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing support for adding certificate chains to the hypervisor memory #111

Closed
ngiraud99 opened this issue Dec 22, 2024 · 3 comments
Closed

Comments

@ngiraud99
Copy link

Hi,

I'm currently looking for an option to add a certificate-chain to the hypervisor memory to be able to perform the extended attestation workflow on an SNP host.
Is there already a method in this project to do this?
I already had a look at the respective AMD Documentation and it seems that this feature is supported by AMD under section 2.2.2.

Thanks in advance!

@tylerfanelli
Copy link
Member

Yes, it's supported, but is hypervisor-specific. I believe the documentation you're pointing to is showing how hypervisors importing this crate can easily store certificate chains in their memory using the API.

What hypervisor are you using?

@DGonzalezVillal
Copy link
Member

This functionality was deprecated in most recent kernels, the workflow was changed to creating a ghcb file and then passing it to the VM through QEMU, although that was not up streamed on kernel 6.11. The functionality is still in development and the behavior is expected to change. I could provide further instructions on how to do it with the more current workflow if you are interested.

@tylerfanelli
Copy link
Member

Closing as its not a snphost bug/feature.

@tylerfanelli tylerfanelli closed this as not planned Won't fix, can't repro, duplicate, stale Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants