Skip to content

Refresh matching EHBP endpoint, key, and proxy route - #121

Open
jdrean wants to merge 5 commits into
mainfrom
fix/ehbp-auto-router-recovery
Open

Refresh matching EHBP endpoint, key, and proxy route#121
jdrean wants to merge 5 commits into
mainfrom
fix/ehbp-auto-router-recovery

Conversation

@jdrean

@jdrean jdrean commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

  • separate the caller-configured enclave constraint from the bundle-discovered runtime endpoint
  • remove every SDK special case for inference.tinfoil.sh
  • bind each EHBP sealing transport and verified proxy route in one immutable generation
  • allow a real forwarding proxy to refresh the complete attested endpoint and HPKE key pair
  • keep direct clients on the selected domain and explicitly configured clients pinned
  • reject bundle-domain mismatches before accepting verification state
  • delete the obsolete standalone header-routing layer and its dead tests

Security

A request is replayed only after the protocol-defined EHBP key-configuration mismatch signal. Replacement state must pass complete client-side attestation, and concurrent rotations cannot pair one generation's key with another generation's route.

Validation

  • 482 non-integration tests passed
  • 2 skipped, 24 live integration tests deselected
  • git diff --check

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread src/tinfoil/client.py Outdated
Comment thread src/tinfoil/client.py Outdated
@jdrean jdrean changed the title Recover matching EHBP enclave identity Refresh matching EHBP endpoint, key, and proxy route Aug 21, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files (changes from recent commits).

Tip: Review your code locally with the cubic CLI to iterate faster.

Fix all with cubic | Re-trigger cubic

Comment thread src/tinfoil/client.py Outdated

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files (changes from recent commits).

Tip: Review your code locally with the cubic CLI to iterate faster.

Fix all with cubic | Re-trigger cubic

Comment thread tests/test_encrypted_proxy.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant