Skip to content

Commit 96e94c9

Browse files
authored
feat(remote-providers): verify TEE attestations fail closed (#1453)
* feat(remote-providers): verify TEE attestations fail closed * refactor(tee): centralize remote attestation verification * fix(tee): repair attestation ci and deps * fix(crypto): keep bls on compatible ark traits * fix(faas): enable warp server feature
1 parent e96394e commit 96e94c9

50 files changed

Lines changed: 3724 additions & 448 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/remote-providers-tests.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,32 @@ jobs:
2727
- name: Run pricing tests
2828
run: cargo test -p blueprint-remote-providers test_pricing
2929

30+
test-remote-providers-attestation:
31+
name: cargo test (blueprint-remote-providers-tee-attestation)
32+
runs-on: ubuntu-latest
33+
steps:
34+
- uses: actions/checkout@v4
35+
36+
- name: Install Rust
37+
uses: dtolnay/rust-toolchain@stable
38+
39+
# JWT attestation path (GCP Confidential Space / Azure MAA) ships in the
40+
# default feature set; run the end-to-end gate tests + inline unit tests.
41+
- name: Run TEE attestation integration tests (JWT path)
42+
run: cargo test -p blueprint-remote-providers --test tee_attestation --features tee-attestation
43+
44+
- name: Run TEE attestation unit tests (JWT path)
45+
run: cargo test -p blueprint-remote-providers --lib --features tee-attestation
46+
47+
# AWS Nitro COSE verifier compiles and tests only under the opt-in
48+
# feature; keep it green so the security-critical path cannot rot
49+
# silently.
50+
- name: Run TEE attestation tests (Nitro COSE)
51+
run: cargo test -p blueprint-remote-providers --test tee_attestation --features tee-attestation-nitro
52+
53+
- name: Build all attestation features
54+
run: cargo build -p blueprint-remote-providers --features tee-attestation-nitro
55+
3056
test-remote-providers-kubernetes:
3157
name: cargo test (blueprint-remote-providers-kubernetes)
3258
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)