Comments (3)
Maybe we should add a clarification in the README about SEV/SEV-ES - that the tool actually calculates only the expected launch digest, and doesn't do all the rest of the LAUNCH_MEASURE
parts.
from sev-snp-measure.
hmmm, this is indeed confusing; thanks @larrydewey for pointing this out.
This tool started with SNP support. In the SNP ABI spec, Section 7.3, Table 21, the attestation report contains a field called MEASUREMENT
described as the measurement calculated at launch
(it is 384 bits long). This tool aimed to calculate exactly this field.
Later we added SEV and SEV-ES support, but indeed the tool calculates just the GCTX.LD
part.
[Small note: the digest for SNP is not simply SHA384 of concatenation of pages; it is a more complex scheme (see the GCTX class or the SNP ABI description of SNP_LAUNCH_UPDATE
).]
from sev-snp-measure.
You are correct. My reason for bringing up the issue is for the SEV and SEV-ES workflows. SEV-SNP changes things significantly.
from sev-snp-measure.
Related Issues (20)
- SEV-ES support HOT 3
- [some question] some question about `build_save_area()` HOT 6
- VMSA_GPA = 0xFFFFFFFFF000 is 48-bit, confused.... HOT 3
- No module named 'sevsnpmeasure.cli' HOT 1
- Platforms >= Rome should be generating a SHA-384 instead of SHA-256 HOT 2
- Need a function to calculate snp id block HOT 1
- Provide Warning when OVMF is missing functionality for desired measurements. HOT 1
- Transferring sev-snp-measure repo to VirTEE org HOT 3
- OVMF metadata doesn't include SNP_KERNEL_HASHES section HOT 5
- What influences metadata in OVMF images? HOT 6
- Random error 'Bad signature' when launching with id block and id auth HOT 2
- How to compute the correct launch digest of a QEMU SEV-SNP guest HOT 5
- [Feature Request] Add support for (Coconut) SVSM HOT 3
- ID Block: keys forced to use the P-384 curve HOT 4
- [Question] Why measurement not need rootfs hash? HOT 1
- Issue with Recalculating Measurement from Attestation Report in Guest Machine on the Host Machine HOT 14
- Change to the Expected Guest Measurement Adjustment and the VMSA
- Latest SNP OVMF binary causes measurement failure HOT 5
- Error: Can't find SEV_ES_RESET_BLOCK_GUID entry in OVMF table HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sev-snp-measure.