TEE attestation library for AMD SEV-SNP and Intel TDX platforms
Project description
FHEnom TEE Attestation Library
A Python library for generating and verifying TEE (Trusted Execution Environment) attestation reports across different hardware platforms.
Features
- Multi-Platform Support: AMD SEV-SNP and Intel TDX
- Unified API: Single interface for all TEE platforms
- Cryptographic Verification: Full certificate chain validation
- Production Ready: Used in FHEnom AI confidential computing platform
Supported Platforms
- ✅ AMD SEV-SNP (Secure Encrypted Virtualization - Secure Nested Paging)
- 🚧 Intel TDX (Trust Domain Extensions) - Coming soon
Basic Installation (Python API only)
pip install fhenom-tee-attestation
Repository Overview
-
dk_tee_attestation/
Core Python library -
rust_lib/
Rust library (SEV-SNP firmware bindings) exposed to Python via PyO3
Public Python interface (high-level)
The Python interface is intentionally minimal and backend-agnostic.
Attestation engines are instantiated via a factory, and all interaction
happens through the abstract AttestationEngine interface.
from dk_tee_attestation import AttestationEngineFactory, AttestationEngineType
engine = AttestationEngineFactory.get(AttestationEngineType.AMD_SEV_SNP)
Generate an attestation report (inside the TEE)
report = engine.get_report(report_data)
report_data: caller-provided nonce / challenge (bytes)- returns raw attestation report bytes
Verify an attestation report (verifier side)
engine.verify_report(report_bytes, expected_report_data)
- raises an exception if verification fails
- returns
Noneon successful verification
All verification failures are reported via explicit domain exceptions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dk_tee_attestation-0.3.0.tar.gz.
File metadata
- Download URL: dk_tee_attestation-0.3.0.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6761e5031e65b7fe216e84c2bc54a6a11302f7be2bd21a0485bfa113c3583e6
|
|
| MD5 |
a6c0d3cfc7f8d80f93e8a72cd376083b
|
|
| BLAKE2b-256 |
ef7c96b07f34fcc43f7a23b0562d2d484cb92c57b3cfdda5fad5315c0d10a7e4
|
File details
Details for the file dk_tee_attestation-0.3.0-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: dk_tee_attestation-0.3.0-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 271.1 kB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d2eb89ef6e5938f7538676525f47d84893a7a8c448a71e8dadcc6e11008e721
|
|
| MD5 |
2bcba8e3e6b5d7aa1146b3f65d87126f
|
|
| BLAKE2b-256 |
661a3a919f0e35665fd8add6ded78b866dfa0e64df15e9fb8a8527a51bf61463
|