mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-16 00:40:49 +08:00
Add decrypt-to-unlock local admin via sealed env box.
Replace auto-grant-on-env with AES-GCM box + passphrase unlock, rebuild fallback sessions after restart, and document seal script usage. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
922abaa89e
commit
c26dc68f77
10 changed files with 583 additions and 44 deletions
|
|
@ -28,6 +28,14 @@ Bundled skill: [skills/uds-skill-auth](skills/uds-skill-auth). Handoff notes: [d
|
|||
|
||||
Loopback agent APIs: `GET|POST /uds-auth/agent-credentials`, `POST /uds-auth/outbound`.
|
||||
|
||||
### Local admin unlock (optional, decrypt-to-login)
|
||||
|
||||
1. `node scripts/seal-local-admin.mjs "your-passphrase"`
|
||||
2. Set printed `UDS_AUTH_LOCAL_ADMIN_BOX=...` on the Harness process (ciphertext only)
|
||||
3. Login panel → “Unlock with local key” → enter passphrase
|
||||
|
||||
Env alone does **not** grant admin. Legacy `UDS_AUTH_LOCAL_ADMIN_KEY` is ignored.
|
||||
|
||||
## Layout
|
||||
|
||||
| Piece | Path | Role |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue