Skip to content

GEN-2832 Authenticate proxy control and direct unlock - #364

Closed
asselstine wants to merge 1 commit into
mainfrom
GEN-2832-proxy-auth
Closed

asselstine wants to merge 1 commit into
mainfrom
GEN-2832-proxy-auth

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

Summary

Adds the credential proxy's direct HTTPS unlock adapter: Ed25519 capability checks bound to proxy, owner, origin and generation; exact Origin/CORS handling; expiry and one-use replay enforcement; bounded JSON bodies; and rejection of unlock commands over agent stdin. Adds local TLS tests for origin, audience, expiry, replay, owner identity, wrong key, body limits and identity replacement.

Validation

  • Focused: npm run test --workspace=@factorize/credential-proxy (3 passed)
  • Required root: /usr/bin/time -p timeout --signal=TERM --kill-after=5s 590s npm test (331.84 seconds; all lanes passed)

Remaining blockers

This is a draft checkpoint. It is not ready for review or completion: Factorize has no persisted paired-proxy record or owner-session capability issuer in the current backend, proxy startup does not load/persist the identity helper, and the current runtime accepts any nonempty key. Those interfaces are needed to wire the handler securely and make wrong-key rejection real. Keep GEN-2832 In Progress until that wiring is implemented and verified.

@linear

linear Bot commented Nov 11, 2026

Copy link
Copy Markdown

GEN-2832

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