logicsrc/apps/pwa/package.json
Anthony Ettinger bbf640abeb
Some checks failed
CI / build (push) Has been cancelled
Deploy to dev2 / deploy (push) Has been cancelled
test / test (push) Has been cancelled
App grants: one secret sealed to an external app (key hub phase 1) (#286)
* 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>

* App grants: re-check the webhook host is public on every delivery

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 05:16:37 -08:00

30 lines
949 B
JSON

{
"name": "@logicsrc/pwa",
"version": "0.1.1",
"private": true,
"type": "module",
"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",
"migrate": "bun src/migrate.mjs",
"test": "node --test"
},
"dependencies": {
"@logicsrc/cli": "workspace:*",
"@profullstack/coinpay-onboard": "0.3.1",
"@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",
"express": "^5.3.0",
"libsodium-wrappers": "^0.8.4"
},
"devDependencies": {
"@libsql/client": "^0.18.0"
}
}