mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-11-29 15:51:52 +00:00
`logicsrc keyring` (alias `kr`; `keys` is API keys): add/gen/list/show/restore/ rm/export --pub/sync/status. A keyring is an OpenCreds user-profile vault (same PBKDF2-600k + HKDF + AES-256-GCM scheme as `logicsrc vault`, recovery key); each private key is an OpenCreds `key` item envelope, public halves stay readable. Works fully local under ~/.config/logicsrc/keyring; `keyring sync` pushes ciphertext to the account. restore writes the default file name, 600/644, refuses a different existing key without --force and backs it up first; private keys are printed only with --print-private. - apps/pwa: /api/keyring (person Bearer key; session read-only; machine keys refused), additive migration 008_keyring, server refuses any upload that carries plaintext private key material (incl. base64'd PEM "ciphertext"); /keyring page lists public halves and decrypts in the browser (WebCrypto, same derivation) for download. - logicsrc-mcp: list/show/export_authorized_keys/add (sealed only)/remove/ restore instructions; never returns a private key. - docs/keyring.md served at /docs/keyring. - Tests: crypto round trip, ssh-keygen fingerprint parity, AAD binding, restore perms + overwrite guard + backup, two-machine sync, server stores ciphertext only, browser decrypt opens CLI-sealed envelopes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
44 lines
1.6 KiB
JSON
44 lines
1.6 KiB
JSON
{
|
|
"name": "@logicsrc/cli",
|
|
"version": "0.12.0",
|
|
"description": "LogicSRC CLI: every LogicSRC standard and tool as one command.",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"bin": {
|
|
"logicsrc": "./dist/index.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"dev": "tsx src/index.ts",
|
|
"test": "vitest run src"
|
|
},
|
|
"dependencies": {
|
|
"@fission-ai/openspec": "^1.15.0",
|
|
"@logicsrc/account-core": "file:../account-core",
|
|
"@logicsrc/opencontext": "file:../opencontext",
|
|
"@logicsrc/opencreds": "file:../opencreds",
|
|
"@logicsrc/openerrand": "file:../openerrand",
|
|
"@logicsrc/openfleet": "file:../openfleet",
|
|
"@logicsrc/openmcp": "^0.4.1",
|
|
"@logicsrc/openontology": "file:../openontology",
|
|
"@logicsrc/openprd": "file:../openprd",
|
|
"@logicsrc/plugin-agentbbs": "file:../../plugins/agentbbs",
|
|
"@logicsrc/plugin-coinpay": "file:../../plugins/coinpay",
|
|
"@logicsrc/plugin-core": "file:../plugin-core",
|
|
"@logicsrc/plugin-credential-sharing": "file:../../plugins/credential-sharing",
|
|
"@logicsrc/plugin-email-accounts": "file:../../plugins/email-accounts",
|
|
"@logicsrc/plugin-feed-discovery": "file:../../plugins/feed-discovery",
|
|
"@logicsrc/plugin-social-accounts": "file:../../plugins/social-accounts",
|
|
"@logicsrc/plugin-ugig": "file:../../plugins/ugig",
|
|
"@logicsrc/tui": "file:../tui",
|
|
"@logicsrc/validators": "file:../validators",
|
|
"@profullstack/hqtui": "^0.11.1",
|
|
"@profullstack/logicsrc-mcp": "file:../logicsrc-mcp",
|
|
"commander": "^15.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"tsx": "^4.23.15",
|
|
"vitest": "^5.0.5"
|
|
}
|
|
}
|