mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-12-01 17:24:48 +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
|
|
@ -3,7 +3,7 @@
|
|||
"version": "0.1.1",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "LogicSRC credentials — Express app on Postgres (@profullstack/libsql-pg): auth + end-to-end-encrypted team credential sharing.",
|
||||
"description": "LogicSRC credentials \u2014 Express app on Postgres (@profullstack/libsql-pg): auth + end-to-end-encrypted team credential sharing.",
|
||||
"scripts": {
|
||||
"start": "bun src/server.mjs",
|
||||
"dev": "bun --watch src/server.mjs",
|
||||
|
|
@ -13,10 +13,11 @@
|
|||
"dependencies": {
|
||||
"@logicsrc/cli": "workspace:*",
|
||||
"@profullstack/coinpay-onboard": "0.3.1",
|
||||
"@profullstack/key-rotation": "0.1.0",
|
||||
"@profullstack/footer": "latest",
|
||||
"@profullstack/key-rotation": "0.1.0",
|
||||
"@profullstack/libsql-pg": "^0.1.4",
|
||||
"@profullstack/profile": "0.1.8",
|
||||
"@profullstack/sealed-secrets": "0.1.1",
|
||||
"@simplewebauthn/browser": "^14.0.0",
|
||||
"@simplewebauthn/server": "^14.0.3",
|
||||
"cookie-parser": "^1.4.7",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue