├── .github ├── CODEOWNERS ├── dependabot.yml └── workflows │ └── ci.yml ├── .gitignore ├── .gitmodules ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── crates ├── enclave-contract │ ├── Cargo.toml │ ├── README.md │ ├── contracts │ │ ├── MultisigUpgradeOperator.sol │ │ ├── UpgradeOperator.sol │ │ └── build.sh │ ├── foundry.toml │ ├── src │ │ ├── contract_interface.rs │ │ └── lib.rs │ └── tests │ │ ├── MultisigUpgradeOperator.t.sol │ │ └── multisig_test.rs ├── enclave-server │ ├── Cargo.toml │ ├── src │ │ ├── attestation │ │ │ ├── mod.rs │ │ │ ├── pccs.rs │ │ │ ├── upgrade_contract.rs │ │ │ └── utils.rs │ │ ├── key_manager │ │ │ └── mod.rs │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── server.rs │ │ ├── snapshot │ │ │ ├── compress.rs │ │ │ ├── file_encrypt.rs │ │ │ └── mod.rs │ │ └── utils.rs │ └── tests │ │ └── integration │ │ ├── integration.rs │ │ ├── main.rs │ │ └── utils.rs └── enclave │ ├── Cargo.toml │ └── src │ ├── api.rs │ ├── crypto.rs │ ├── lib.rs │ └── mock.rs ├── examples ├── as_token.txt ├── az_tdx_key_att.txt ├── policy.json ├── qncl.conf ├── tdx_att_req.json ├── tdx_byte_evidence.txt ├── tdx_core_token_claims.json ├── yocto_20241023223507.txt └── yocto_20241025193121.txt ├── scripts ├── README.md └── run_integration_tests.sh ├── udeps_crate.sh └── udeps_workspace.sh /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @cdrappi 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *target 2 | *out 3 | *cache 4 | .vscode -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/.gitmodules -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/README.md -------------------------------------------------------------------------------- /crates/enclave-contract/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-contract/Cargo.toml -------------------------------------------------------------------------------- /crates/enclave-contract/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-contract/README.md -------------------------------------------------------------------------------- /crates/enclave-contract/contracts/MultisigUpgradeOperator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-contract/contracts/MultisigUpgradeOperator.sol -------------------------------------------------------------------------------- /crates/enclave-contract/contracts/UpgradeOperator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-contract/contracts/UpgradeOperator.sol -------------------------------------------------------------------------------- /crates/enclave-contract/contracts/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-contract/contracts/build.sh -------------------------------------------------------------------------------- /crates/enclave-contract/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-contract/foundry.toml -------------------------------------------------------------------------------- /crates/enclave-contract/src/contract_interface.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-contract/src/contract_interface.rs -------------------------------------------------------------------------------- /crates/enclave-contract/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-contract/src/lib.rs -------------------------------------------------------------------------------- /crates/enclave-contract/tests/MultisigUpgradeOperator.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-contract/tests/MultisigUpgradeOperator.t.sol -------------------------------------------------------------------------------- /crates/enclave-contract/tests/multisig_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-contract/tests/multisig_test.rs -------------------------------------------------------------------------------- /crates/enclave-server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/Cargo.toml -------------------------------------------------------------------------------- /crates/enclave-server/src/attestation/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/src/attestation/mod.rs -------------------------------------------------------------------------------- /crates/enclave-server/src/attestation/pccs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/src/attestation/pccs.rs -------------------------------------------------------------------------------- /crates/enclave-server/src/attestation/upgrade_contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/src/attestation/upgrade_contract.rs -------------------------------------------------------------------------------- /crates/enclave-server/src/attestation/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/src/attestation/utils.rs -------------------------------------------------------------------------------- /crates/enclave-server/src/key_manager/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/src/key_manager/mod.rs -------------------------------------------------------------------------------- /crates/enclave-server/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/src/lib.rs -------------------------------------------------------------------------------- /crates/enclave-server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/src/main.rs -------------------------------------------------------------------------------- /crates/enclave-server/src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/src/server.rs -------------------------------------------------------------------------------- /crates/enclave-server/src/snapshot/compress.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/src/snapshot/compress.rs -------------------------------------------------------------------------------- /crates/enclave-server/src/snapshot/file_encrypt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/src/snapshot/file_encrypt.rs -------------------------------------------------------------------------------- /crates/enclave-server/src/snapshot/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/src/snapshot/mod.rs -------------------------------------------------------------------------------- /crates/enclave-server/src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/src/utils.rs -------------------------------------------------------------------------------- /crates/enclave-server/tests/integration/integration.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/tests/integration/integration.rs -------------------------------------------------------------------------------- /crates/enclave-server/tests/integration/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/tests/integration/main.rs -------------------------------------------------------------------------------- /crates/enclave-server/tests/integration/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave-server/tests/integration/utils.rs -------------------------------------------------------------------------------- /crates/enclave/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave/Cargo.toml -------------------------------------------------------------------------------- /crates/enclave/src/api.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave/src/api.rs -------------------------------------------------------------------------------- /crates/enclave/src/crypto.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave/src/crypto.rs -------------------------------------------------------------------------------- /crates/enclave/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave/src/lib.rs -------------------------------------------------------------------------------- /crates/enclave/src/mock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/crates/enclave/src/mock.rs -------------------------------------------------------------------------------- /examples/as_token.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/examples/as_token.txt -------------------------------------------------------------------------------- /examples/az_tdx_key_att.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/examples/az_tdx_key_att.txt -------------------------------------------------------------------------------- /examples/policy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/examples/policy.json -------------------------------------------------------------------------------- /examples/qncl.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/examples/qncl.conf -------------------------------------------------------------------------------- /examples/tdx_att_req.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/examples/tdx_att_req.json -------------------------------------------------------------------------------- /examples/tdx_byte_evidence.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/examples/tdx_byte_evidence.txt -------------------------------------------------------------------------------- /examples/tdx_core_token_claims.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/examples/tdx_core_token_claims.json -------------------------------------------------------------------------------- /examples/yocto_20241023223507.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/examples/yocto_20241023223507.txt -------------------------------------------------------------------------------- /examples/yocto_20241025193121.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/examples/yocto_20241025193121.txt -------------------------------------------------------------------------------- /scripts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/scripts/README.md -------------------------------------------------------------------------------- /scripts/run_integration_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/scripts/run_integration_tests.sh -------------------------------------------------------------------------------- /udeps_crate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/udeps_crate.sh -------------------------------------------------------------------------------- /udeps_workspace.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SeismicSystems/enclave/HEAD/udeps_workspace.sh --------------------------------------------------------------------------------