|
Download protocol_stack/protocol6_quantum_attest/docs/PHASE6_ARCHITECTURE.md from DeepSeekOracle/LYGO-Resonance-Engine: direct link, hf CLI and curl.
- Browser
- Download file 1.6 kB
-
https://huggingface.co/spaces/DeepSeekOracle/LYGO-Resonance-Engine/resolve/main/protocol_stack/protocol6_quantum_attest/docs/PHASE6_ARCHITECTURE.md
- Command line
-
hf download hf://spaces/DeepSeekOracle/LYGO-Resonance-Engine/protocol_stack/protocol6_quantum_attest/docs/PHASE6_ARCHITECTURE.md
-
curl -L -o PHASE6_ARCHITECTURE.md https://huggingface.co/spaces/DeepSeekOracle/LYGO-Resonance-Engine/resolve/main/protocol_stack/protocol6_quantum_attest/docs/PHASE6_ARCHITECTURE.md
1.6 kB
A newer version of the Gradio SDK is available: 6.30.0
Phase 6 — Hardware Attestation
Signature: Δ9Φ963-PHASE6-v1.0
Layers
- Measurement — TPM PCR stubs, boot hash, firmware stub, PUF challenge, P0 golden hash (
measurement.py). - Attestation — HMAC-signed badges from measurement digest + node id + PUF fingerprint (
attestation.py). - Verification — Local self-verify and peer verify via stack or HTTP (
api.py,node_api_server.py). - Hardware hooks —
tpm_interface.py(Keylime-ready),puf_arbiter.py(FPGA pending),secure_boot.py.
P0 golden hash
Canonical: protocol0_nano_kernel/fixtures/p0_canonical.sha2567e8d18fda979cbefec14c3fc86f43f2a020b494b6052acccb6f865f2b4fae1d3
HTTP routes (node API)
| Method | Path | Purpose |
|---|---|---|
| GET | /attestation/health |
TPM/PUF/P0 health |
| GET | /attestation/badge |
Signed badge |
| POST | /attestation/verify |
{ "badge": { ... } } |
Stack integration
from stack.lygo_stack import deploy_stack
stack = deploy_stack("NODE_A")
badge = stack.get_hardware_badge()
ok = stack.verify_peer_badge(badge)
Operator tools
python tools/verify_hardware_attestation.py
python tools/verify_peer_badge.py --peer http://127.0.0.1:8787
python tools/run_phase6_audit.py
Pending hardware
| Component | Status |
|---|---|
| Keylime TPM quotes | Setup pending |
| FPGA PUF | Hardware pending |
| Measured boot golden | Optional fixtures/boot_golden.sha256 |
References
- Keylime — TPM 2.0 remote attestation
- PLRAC / edge TEE attestation patterns (design only)