Files
cocos/scripts/backend_info
Danko Miladinovic 24a76a1685 NOISSUE - Fix attested TLS and attestation CLI (#184)
* update code to reflect updated libraries

* fix attestation CLI

* update manual test for attestation CLI
2024-07-30 16:05:49 +02:00
..

Rust project for fetching backend info

This rust project fetches information from the host system needed for validation of the attestation report. It outputs a JSON file that contains the said information. The JSON file is in a format that can be used with the go-sev-guest library.

Usage

Clone cocos repository:

git clone git@github.com:ultravioletrs/cocos.git
cd ./cocos/scripts/backend_info 
make

Then run the binary. Keep in mind that you have to specify the policy of the Guest VM:

cd ./target/releas

# Run with option --policy (policy is 64 bit number) 
./backend_info --policy 196608