-
Notifications
You must be signed in to change notification settings - Fork 91
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
How to use the -certs option in launch-qemu.sh for extended attestation with snp-latest? #229
Comments
The -cert option is not required for attestation, it's more of a convenient way to provide that information to the guest so it doesn't need to fetch it through other means. But what the guest ends up doing with the certificates, or how it fetches them, is up to the guest owner and not strictly enforced/required by kernel or SNP spec. Also, -cert is no longer available since upstream is going a different direction on how that support will eventually be implemented, so the -cert option is no longer available in snp-latest branch to match more closely with upstream. |
Thanks. Any pointer how to perform the "extended attestation" workflow (as in #212 (comment))? Because I did indeed validate the "standard attestation" workflow |
Also interested in this :-) |
To clarify: what is the current upstream approach - how is the previous method for "extended attestation" replaced? An alternative/modifications would be needed to use the Trustee KBS without it AFAIK, according to this issue |
This is essentially a back-channel to additionally-provide a certificate blob alongside the attestation report supplied to the guest. The guest is free to fetch the certificates through other means however, e.g. scp'ing it from a local cache or some other facility provided by the guest's attestation stack/service. The KVM support is only to provide additional flexibility with various deployment models |
Thanks for the prompt clarification! |
Yep, thanks |
Hello,
I've build snp-latest branch and successfully tested it with a 6.11-rc5 kernel on Ubuntu 24.04. I'm able to validate standard attestation workflow.
I want to validate extended attestation, and if my understanding is right, I need to use the -certs option of launch-qemu.sh.
I have a hard time finding a description of the format of the certificate blob (I've tried with
snphost import
). And when trying out withlaunch-qemu.sh
I getqemu-system-x86_64: -object sev-snp-guest,id=sev0,policy=0xb0000,cbitpos=51,reduced-phys-bits=1,certs-path=cert-file.bin: Invalid parameter 'certs-path'
What am I missing?
Thanks for pointers
More specifically
The text was updated successfully, but these errors were encountered: