Nix, crates and tools for TEE handling
Find a file
Harald Hoyer 9d46b7d6c2
Merge pull request #25 from matter-labs/renovate/trufflesecurity-trufflehog-3.x
chore(deps): update trufflesecurity/trufflehog action to v3.68.0
2024-02-21 22:48:58 +01:00
.github chore(deps): update trufflesecurity/trufflehog action to v3.68.0 2024-02-21 18:34:14 +00:00
assets feat: initial commit 2024-02-09 10:10:53 +01:00
bin fix(tee-key-preexec): don't hash public key 2024-02-15 10:31:54 +01:00
crates/intel-tee-quote-verification-rs feat: remove intel-tee-quote-verification-sys 2024-02-14 14:27:41 +01:00
examples feat: initial commit 2024-02-09 10:10:53 +01:00
packages chore(nix): replace nix-filter with lib.fileset 2024-02-15 11:23:22 +01:00
shells/teepot feat: use snowfall flake for nix 2024-02-14 11:39:39 +01:00
src feat: initial commit 2024-02-09 10:10:53 +01:00
tests feat: initial commit 2024-02-09 10:10:53 +01:00
vault feat: initial commit 2024-02-09 10:10:53 +01:00
.dockerignore feat: initial commit 2024-02-09 10:10:53 +01:00
.gitignore feat: initial commit 2024-02-09 10:10:53 +01:00
Cargo.lock chore(deps): update rust crate anyhow to 1.0.80 2024-02-19 11:09:24 +00:00
Cargo.toml chore(deps): update rust crate anyhow to 1.0.80 2024-02-19 11:09:24 +00:00
deny.toml feat: initial commit 2024-02-09 10:10:53 +01:00
flake.lock feat: use snowfall flake for nix 2024-02-14 11:39:39 +01:00
flake.nix chore(nix): replace nix-filter with lib.fileset 2024-02-15 11:23:22 +01:00
LICENSE-APACHE feat: initial commit 2024-02-09 10:10:53 +01:00
LICENSE-MIT feat: initial commit 2024-02-09 10:10:53 +01:00
README.md feat: initial commit 2024-02-09 10:10:53 +01:00
rust-toolchain.toml feat: initial commit 2024-02-09 10:10:53 +01:00
taplo.toml feat: initial commit 2024-02-09 10:10:53 +01:00

teepot

Key Value store in a TEE with Remote Attestation for Authentication

Introduction

This project is a key-value store that runs in a Trusted Execution Environment (TEE) and uses Remote Attestation for Authentication. The key-value store is implemented using Hashicorp Vault running in an Intel SGX enclave via the Gramine runtime.

Parts of this project

  • teepot: The main rust crate that abstracts TEEs and key-value stores.
  • tee-vault-unseal: An enclave that uses the Vault API to unseal a vault as a proxy.
  • vault-unseal: A client utility, that talks to tee-vault-unseal to unseal a vault.
  • tee-vault-admin: An enclave that uses the Vault API to administer a vault as a proxy.
  • vault-admin: A client utility, that talks to tee-vault-admin to administer a vault.
  • teepot-read : A pre-exec utility that reads from the key-value store and passes the key-value pairs as environment variables to the enclave.
  • teepot-write : A pre-exec utility that reads key-values from the environment variables and writes them to the key-value store.
  • verify-attestation: A client utility that verifies the attestation of an enclave.
  • tee-key-preexec: A pre-exec utility that generates a p256 secret key and passes it as an environment variable to the enclave along with the attestation quote containing the hash of the public key.