Pontifex
Pontifex (noun): Originally meaning "bridge-builder" in Latin
Pontifex is a Rust library for building and interacting with AWS Nitro enclaves. It provides a simple abstraction for building enclaves and interacting with them using the AWS Nitro Enclaves SDK.
Usage
First, add pontifex to your enclave's Cargo.toml with the server feature. Then, you can build your enclave as follows:
const ENCLAVE_PORT: u32 = 1000;
async
async
Then, on your client, add pontifex to your Cargo.toml with the client feature. You can then interact with your enclave as follows:
use ConnectionDetails;
const ENCLAVE_CID: u32 = 100;
const ENCLAVE_PORT: u32 = 1024;
async
For convenience, you can define a common crate that both your enclave and client depend on, which contains your request and response types.
License
This project is licensed under the MIT License. See the LICENSE file for details.