mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-12-01 09:24:46 +00:00
App grants: hand one secret to an external app, sealed to its per-user inbox
Phase 1 of the CoinPay <-> logicsrc key hub (spec: claude.ai/artifact/LAZgAiqWqeLQ14uJ5JpdKb). - /grant consent page: logicsrc fetches the request manifest from the app's own origin over TLS (/.well-known/logicsrc-grant/<nonce>), public hosts only, so the page shows a verified origin, not a claimed name - The browser decrypts with the identity key (as the vault page does) and seals with @profullstack/sealed-secrets to the app's inbox; the server stores ciphertext + metadata only (app_grant_requests, app_grants) - Signed Standard Webhooks to the app: grant.delivered / updated / revoked - Signing keys (wallet, seed, SSH) are refused for apps - rotate-keys re-seals the new value to every app grant on the old fingerprint (resealAppGrants); /apps lists and revokes grants Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
64eb42e2c1
commit
f19b817c70
13 changed files with 957 additions and 4 deletions
|
|
@ -35,6 +35,7 @@
|
|||
"@logicsrc/validators": "file:../validators",
|
||||
"@profullstack/hqtui": "^0.11.1",
|
||||
"@profullstack/logicsrc-mcp": "file:../logicsrc-mcp",
|
||||
"@profullstack/sealed-secrets": "0.1.1",
|
||||
"commander": "^15.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue