This repo contains several projects relating to the Remote Attestation Protocol used by Evervault Cages.
- The Attestation doc discusses the protocol in depth.
- attestation-doc-validation contains a rust crate which implements the core logic required for attesting a Cage (validating certs, and attestation docs)
- node-attestation-bindings contains an npm module which creates bindings for consuming the rust crate from node clients
To get up and running with this project you'll need rust
, node
, clippy
, rustfmt
, and cargo-make
installed.
Each project has some useful tasks defined in their Makefile.toml
:
cargo make build
cargo make test
cargo make format
### Run Clippy
cargo make lint
- This project uses pedantic clippy, so please run clippy before committing.
- Due to the time sensitive nature of the attestation documents and their signatures, some tests require the use of libfaketime.