mirror of
https://github.com/ultravioletrs/cocos.git
synced 2026-06-23 04:10:25 +00:00
COCOS-326 - Add vTPM support to CoCoS (#376)
* manager, cli and agent vtpm support * rebase and changed atls for vtpm * deleted unused code * changed chekproto.yaml script so it find the manager proto file correctly * fixe manager proto version * fix agent tests * fix server agent test * fix attestation test * fix attestation test gofumpt * created dummy RWC for TPM * fix comment * add default PCR values * rebase main * fix rust ci and missing header * changed embedded attestation to VMPL 2 * fix unused impot * fix pkg test * address attestation type * fix agent attestation test * add prc15 check * fix comments * fix cli tests * add doc * add mock for LeveledQuoteProvider when SEV-SNP device is not found Signed-off-by: Sammy Oina <sammyoina@gmail.com> * fix manager reading attestation policy * refactor PCR value checks and update attestation policy values Signed-off-by: Sammy Oina <sammyoina@gmail.com> * fix tests for sev and grpc --------- Signed-off-by: Sammy Oina <sammyoina@gmail.com> Co-authored-by: Sammy Oina <sammyoina@gmail.com>
This commit is contained in:
committed by
GitHub
parent
fa26573643
commit
67f939fc66
@@ -67,7 +67,15 @@ export AGENT_GRPC_ATTESTATION_POLICY=./scripts/attestation_policy/attestation_po
|
||||
export AGENT_GRPC_ATTESTED_TLS=true
|
||||
|
||||
# Retrieve Attestation
|
||||
./build/cocos-cli attestation get '<report_data>'
|
||||
# Three different attestation reports can be retrieved:
|
||||
# - SEV-SNP with argument snp for attestation get command.
|
||||
./build/cocos-cli attestation get snp --tee '<report_data>'
|
||||
|
||||
# - vTPM with argument vtpm for attestation get command.
|
||||
./build/cocos-cli attestation get vtpm --vtpm '<vtpm_nonce>'
|
||||
|
||||
# - vTPM with SEV-SNP with argument snp-vtpm for attestation get command.
|
||||
./build/cocos-cli attestation get snp-vtpm --tee '<report_data>' --vtpm '<vtpm_nonce>'
|
||||
|
||||
# Validate Attestation
|
||||
# Product name must be Milan or Genoa
|
||||
|
||||
Reference in New Issue
Block a user