- Added comprehensive README files for the following new crates:
- `teepot`
- `teepot-tdx-attest-rs`
- `teepot-tdx-attest-sys`
- `teepot-tee-quote-verification-rs`
- `teepot-vault`
- Each includes an overview, usage examples, installation instructions, and licensing details.
- vendor unpublished tdx-attest-rs and tdx-attest-sys crates
to be able to publish to crates.io
- Updated package versions in `Cargo.toml` and `Cargo.lock` to 0.6.0.
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
- Introduced conditional compilation for Intel SGX/TDX quote verification based on target OS and architecture.
- Moved Intel-specific logic to a separate module and added a fallback for unsupported platforms.
This is done, so we can pull in the `teepot` crate even on `linux-x86_64`
without the Intel SGX SDK lib dependency.
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
- do not build packages, which require `x86_64-linux`
- use Phala `dcap-qvl` crate for remote attestation, if possible
- nix: exclude `nixsgx` on non `x86_64-linux` platforms
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
Free the FFI collateral on rust checks anyway to prevent memory leaks.
Also remove the `TryFrom<&sgx_ql_qve_collateral_t>` as it is unsafe.
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>