Skip to content

Commit

Permalink
AA/attester: add README docs
Browse files Browse the repository at this point in the history
Signed-off-by: Xynnn007 <[email protected]>
  • Loading branch information
Xynnn007 committed Mar 1, 2024
1 parent 48517d2 commit 2ea76b7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions attestation-agent/attester/README.md
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.

0 comments on commit 2ea76b7

Please sign in to comment.