Skip to content

Add dAuth job secret endpoints - #458

Draft
aledefra wants to merge 4 commits into
codex/dauth-registry-gatingfrom
codex/dauth-job-secret-endpoints
Draft

Add dAuth job secret endpoints#458
aledefra wants to merge 4 commits into
codex/dauth-registry-gatingfrom
codex/dauth-job-secret-endpoints

Conversation

@aledefra

@aledefra aledefra commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add /add_secrets for full job secret bundle writes from signed protocol-oracle requests.
  • Add /get_secrets for R1FS-authorized job runners.
  • Require signed hex-millisecond timestamp nonces no older than 120 seconds on both endpoints.
  • Echo the request nonce in signed success and error responses.
  • Encrypt GET bundles to the signed requester and return only encrypted_secret_bundle.
  • Keep the single write shape {job_id, job_secrets} and overwrite semantics.

Stack

Security Model

Timestamp nonces provide a stateless 120-second freshness bound, not strict one-time use. Strict prevention of replay inside that window would require consumed-nonce state or monotonic counters.

Open Questions

  • Decide later whether partial merge/update semantics are needed.
  • Delete endpoints remain out of scope.

Tests

  • dAuth discovery: 15 passed on this branch; 21 passed at the top of the full stack
  • Deeploy discovery at stack top: 215 passed
  • compile and diff checks: passed

@aledefra
aledefra marked this pull request as draft July 1, 2026 15:15
@aledefra
aledefra force-pushed the codex/dauth-registry-gating branch from d5aaaa2 to 1fd2bd6 Compare July 8, 2026 10:57
@aledefra
aledefra force-pushed the codex/dauth-job-secret-endpoints branch from d95b58b to 02bbf6e Compare July 8, 2026 10:58
@aledefra
aledefra force-pushed the codex/dauth-job-secret-endpoints branch from 844e8eb to deb7954 Compare July 23, 2026 13:53
@aledefra
aledefra force-pushed the codex/dauth-registry-gating branch from 1fd2bd6 to 0acec17 Compare July 28, 2026 14:51
@aledefra
aledefra force-pushed the codex/dauth-job-secret-endpoints branch from deb7954 to c30fa82 Compare July 28, 2026 15:28
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