forked from confidential-containers/guest-components
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Xynnn007 <[email protected]>
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Attester Plugins | ||
|
||
This crate provides attester plugins for different platforms. An [attester](https://www.rfc-editor.org/rfc/rfc9334.html#section-7.2) plugin can provide the following abilities | ||
|
||
- Get remote attestation evidence. | ||
- Extend runtime measurement. | ||
- Check the initdata binding. | ||
|
||
## Evidence Getter Tool | ||
|
||
This crate provides a simple tool to detect the current platform type and get related quote due to given report data. | ||
|
||
Build the binary | ||
```shell | ||
git clone https://github.com/confidential-containers/guest-components.git | ||
cd guest-components/attestation-agent/attester | ||
|
||
cargo build --features=bin --bin evidence_getter --release | ||
``` | ||
|
||
Get evidence | ||
```shell | ||
echo $EVIDENCE_STRING | ../../target/release/evidence_getter | ||
``` | ||
|
||
Here, `$EVIDENCE_STRING` is a string/bytes of up to 64 bytes. |