mirror of
https://github.com/ultravioletrs/cocos.git
synced 2026-08-07 07:14:50 +00:00
24a76a1685
* update code to reflect updated libraries * fix attestation CLI * update manual test for attestation CLI
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