confidential-containers / simple-kbs

Key Broker Server for SEV(-ES)
Apache License 2.0
10 stars 12 forks source link

client: Use sev-snp-measure to calculate expected launch digest #27

Closed dubek closed 2 years ago

dubek commented 2 years ago

The existing sev-snp-measure Python package can calculated the expected measurement of SEV guests. Replace the calc_launch_digest body in client/LaunchVM.py to use it; this may allow measuring SEV-ES as well with small modifications.

Signed-off-by: Dov Murik dov.murik1@il.ibm.com


To use this: pip install sev-snp-measure

Note: we should add other Python libraries used by the client to the requirements.txt file (separate PR).