mirror of
https://github.com/Monkopedia/rouse-context.git
synced 2026-11-22 13:19:36 +00:00
* Keypair device identity for foss flavor (#462) Replace Firebase Anonymous Auth with a hardware-keypair identity for the `foss` flavor, while the relay accepts BOTH Firebase (google) and keypair (foss) auth simultaneously. Relay: - DeviceRecord gains an optional key_thumbprint (base64 SHA-256 of SPKI DER); find_device_by_thumbprint mirrors find_device_by_uid. - New keypair_auth module: canonical proof message, bounded-timestamp replay check, signature verify, thumbprint derivation (+ unit tests). - POST /register, /register/certs, /renew accept a keypair variant alongside the unchanged Firebase path. App (foss only): - Real keypair DeviceCredentialProvider + RenewalAuthProvider replace the stub auth bindings; google keeps its Firebase impls. - Flows thread a flavor-agnostic DeviceCredential. Part of #460. Fixes #462. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * cargo fmt the keypair_auth relay code (#462) CI Format check (rustfmt) flagged the new keypair_auth/register/renew Rust code. Pure formatting; no logic change. --------- Co-authored-by: Monkopedia <monkopedia@gmail.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bridge | ||
| mcp | ||
| testfixtures | ||
| tunnel | ||