mirror of
https://github.com/matter-labs/teepot.git
synced 2025-07-21 23:23:57 +02:00

- Add mock tests using real Intel API response data (25 tests) - Create fetch_test_data tool to retrieve real API responses for testing - Add integration_test example covering 17 API endpoints - Add common_usage example demonstrating attestation verification patterns - Add issuer chain validation checks to ensure signature verification is possible - Add comprehensive documentation in CLAUDE.md The test suite now covers all major Intel DCAP API functionality including TCB info, enclave identities, PCK CRLs, FMSPCs, and evaluation data numbers for both SGX and TDX platforms across API v3 and v4. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
35 lines
854 B
TOML
35 lines
854 B
TOML
[package]
|
|
name = "intel-dcap-api"
|
|
description = "Intel DCAP API Client"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
keywords = ["sgx", "tdx", "intel", "attestation", "confidential"]
|
|
categories = ["api-bindings", "cryptography", "authentication"]
|
|
|
|
[dependencies]
|
|
base64.workspace = true
|
|
percent-encoding = "2.3.1"
|
|
reqwest = { workspace = true, features = ["json"] }
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
thiserror.workspace = true
|
|
tokio.workspace = true
|
|
url.workspace = true
|
|
|
|
[dev-dependencies]
|
|
base64.workspace = true
|
|
hex.workspace = true
|
|
mockito = "1.4"
|
|
x509-cert.workspace = true
|
|
|
|
[[example]]
|
|
name = "integration_test"
|
|
required-features = ["default"]
|
|
|
|
[features]
|
|
default = ["reqwest/default-tls"]
|
|
rustls = ["reqwest/rustls-tls"]
|