logicsrc/docs
Anthony Ettinger 41ad9f0987
vault: opt-in paid email recovery for the personal vault ($5 lifetime) (#298)
* vault: opt-in paid email recovery for the personal vault ($5 lifetime)

A second way back into a logicsrc personal vault when the master password and
the offline recovery key are both gone, without the server holding anything
that alone (even with the DB and server env) opens the vault.

Client (packages/opencreds): random escrow key E encrypts the user key K
(AES-256-GCM, AAD "<ns>:vault:email-escrow:v1|<createdAt>"); E is split into
S (random, to the server) and U = E XOR S (emailed once as a checksummed
Crockford recovery code, never stored). `recover --email` checks the code's
check group first, asks the server for a one-time code, claims S, recombines
E, proves K against an item, sets a new password, issues a new offline
recovery key and re-enrolls with fresh shares (warns loudly if that fails).
New `recovery status|buy|enable|disable` commands; the CLI client lives in
packages/cli/src/vault-sync.ts.

Server (apps/pwa): /api/opencreds/recovery/{checkout,enroll,start,claim} +
status/disable. S is sealed under VAULT_ESCROW_KEY (versioned for rotation,
AAD binds the user). Enrollment is pending until the email with U is sent,
else rolled back. One-time codes: 8 digits, HMAC at rest, 15 min, 5 tries,
single use, 3 starts/hour; claims are audited and announced by email.
Purchase via CoinPay checkout (purpose vault_recovery); /api/coinpay/webhook
now verifies once and dispatches by purpose, auto_rotation unchanged.
Settings card with status and a Buy button. Migration 014 in both dialects.

Docs: security.md and crypto.md "Email recovery (opt-in, paid)" sections with
the honest trade-off; cli.md command reference.

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

* vault email recovery: state that the mailbox alone is enough

The account password resets by email, so mailbox control = sign-in + one-time
code + the enrollment code U. Say so in security.md and stop the one-time-code
email from implying the vault stays safe if someone else reads the mailbox.

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

* vault email recovery: leave .env.example as on master

Touching it made the credential gate re-scan the existing SESSION_SECRET
placeholder (false positive). VAULT_ESCROW_KEY / _VERSION / VAULT_RECOVERY_PRICE_USD
are documented in docs/opencreds/security.md and crypto.md; prod values live in
vault app-logicsrc-com--prod.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 07:49:06 -08:00
..
opencontext feat(opencontext): curl | sh installer at logicsrc.com/opencontext/install.sh (#238) 2026-10-12 18:37:10 -07:00
opencreds vault: opt-in paid email recovery for the personal vault ($5 lifetime) (#298) 2026-11-30 07:49:06 -08:00
openprd Add Tech Stack and Monetization sections to OpenPRD (0.3) (#144) 2026-09-06 16:50:11 -07:00
openskill Add OpenSkill descriptions for human capabilities and OpenProfile discovery 2026-09-13 15:47:58 +00:00
openstream/reports docs: OpenStream benchmark report for nixamp 0.24.2 (#184) 2026-09-13 05:16:24 -07:00
openswarm OpenServer 0.2: the provider says how to install its CLI (#171) 2026-09-12 21:46:01 -07:00
agent-screening.md Add AgentByte screening plugin spec 2026-06-06 15:54:08 +00:00
agentad-marketplace.md feat(agentad): AgentAd Marketplace PRD + reference exchange (M5) 2026-07-01 10:29:36 +00:00
agentad.md feat(agentad): AgentAd Marketplace PRD + reference exchange (M5) 2026-07-01 10:29:36 +00:00
agentgit.md Add AgentGit M1: agent-native git layer over a Forgejo backend 2026-06-14 15:15:06 +00:00
agentstack.md feat(agentstack): add @logicsrc/agentstack coordination module (#5) 2026-06-10 16:39:32 -07:00
ans-sdk.md docs(ans): spec the @logicsrc/ans TypeScript SDK 2026-06-24 14:41:00 +00:00
arcade.md Add waiting arcade MVP 2026-06-06 22:09:22 +00:00
asdlc.md Add ASDLC, the Agentic Software Development Lifecycle 2026-09-06 15:02:31 +00:00
cli.md OpenErrand reference runner: @logicsrc/openerrand and logicsrc errand (#228) 2026-10-04 09:17:06 -07:00
communication-accounts.md Ship OpenFleet contracts and the OpenWall draft proposal (#177) 2026-09-13 00:57:45 -07:00
config.md fix(credentials): one vault per user, in the config dir (#119) 2026-07-31 22:53:17 -07:00
credential-sharing.md Machine API keys: headless teams pull for deploy boxes and CI (#230) 2026-10-05 23:08:32 -07:00
data-model.md Merge master; OpenFleet keeps its name, PR 177's rental descriptor becomes OpenRental 2026-09-13 08:45:33 +00:00
keyring.md feat(keyring): revocable share link for SSH public keys (#267) 2026-10-29 01:57:47 +00:00
openabtest.md OpenABTest 0.2-draft: goal conversions (#239) 2026-10-17 04:58:40 -07:00
openaccess.md Point retired domains at their pit.world hosts (#283) 2026-11-08 07:59:13 -08:00
openaffiliate.md OpenAffiliate 0.1: one file a merchant serves about the commission it pays (#166) 2026-09-12 19:36:59 -07:00
openagent.md Publish OpenPersona Markdown specification 2026-10-31 11:03:46 +00:00
openapi.yaml Add communication account plugin scaffolds 2026-06-09 10:02:07 +00:00
openbandwidth.md docs: OpenCPU, OpenMemory, OpenGPU and OpenBandwidth, the resources of a server purchase (#163) 2026-09-12 18:59:05 -07:00
openbroadcast.md docs: OpenBroadcast and OpenGuest, the broadcaster-and-guest framework as OpenProfile.md sections (#168) 2026-09-12 20:30:42 -07:00
opencar.md OpenVehicle is now OpenCar, and scoped to match the name (#214) 2026-09-25 03:22:36 -07:00
openconnection.md OpenConnection: a setup token you paste, a bridge that honours it (#174) 2026-09-12 22:22:39 -07:00
opencontext.md Add the LogicSRC OpenContext specification (#132) 2026-08-09 11:46:11 -07:00
opencoupon.md docs: OpenCoupon and OpenRecipe.md, the first two niche specs (#165) 2026-09-12 19:16:34 -07:00
opencpu.md docs: OpenCPU, OpenMemory, OpenGPU and OpenBandwidth, the resources of a server purchase (#163) 2026-09-12 18:59:05 -07:00
opencreds.md Add the LogicSRC OpenCreds specification (#140) 2026-08-29 04:11:38 -07:00
opendesktop.md spec: OpenDevice 0.1 with OpenDesktop, OpenPhone, OpenTablet profiles (#261) 2026-10-28 08:01:46 -07:00
opendevice.md OpenDevice 0.2: aliases, access (ssh_config-shaped, creds by reference), notes; OpenFleet 0.2: hosts by any device name (#289) 2026-11-14 18:25:13 -08:00
opendisk.md Point retired domains at their pit.world hosts (#283) 2026-11-08 07:59:13 -08:00
openemoji.md OpenEmoji catalog: every emoji in the reference set, with search and filters (#197) 2026-09-23 21:27:40 -07:00
openerrand.md OpenErrand reference runner: @logicsrc/openerrand and logicsrc errand (#228) 2026-10-04 09:17:06 -07:00
openfile.md OpenFile and OpenDisk carry OpenServer 0.2's developer block, and OpenFile names fi1zes.com (#173) 2026-09-12 22:05:06 -07:00
openfleet.md OpenDevice 0.2: aliases, access (ssh_config-shaped, creds by reference), notes; OpenFleet 0.2: hosts by any device name (#289) 2026-11-14 18:25:13 -08:00
opengpu.md docs: OpenCPU, OpenMemory, OpenGPU and OpenBandwidth, the resources of a server purchase (#163) 2026-09-12 18:59:05 -07:00
openguest.md docs: OpenBroadcast and OpenGuest, the broadcaster-and-guest framework as OpenProfile.md sections (#168) 2026-09-12 20:30:42 -07:00
openi18n.md fix(docs): OpenI18n and OpenL10n link each other's doc pages (#243) 2026-10-17 12:10:47 -07:00
openicon.md OpenIcon: the agentic styles re-render brand marks, and a style says which ground it needs (#211) 2026-09-24 07:24:08 -07:00
openinstall.md OpenInstall 0.1: one idempotent bin/install.sh that puts an app into service (#221) 2026-10-01 03:08:14 -07:00
openjob.md docs: OpenJob and OpenResume.md (#148) 2026-09-08 16:16:05 -07:00
openl10n.md fix(docs): OpenI18n and OpenL10n link each other's doc pages (#243) 2026-10-17 12:10:47 -07:00
openlisting.md OpenVehicle is now OpenCar, and scoped to match the name (#214) 2026-09-25 03:22:36 -07:00
openmcp.md Point retired domains at their pit.world hosts (#283) 2026-11-08 07:59:13 -08:00
openmemory.md docs: OpenCPU, OpenMemory, OpenGPU and OpenBandwidth, the resources of a server purchase (#163) 2026-09-12 18:59:05 -07:00
openmodel.md OpenModel 0.1: what a model costs, from the provider that bills you (#212) 2026-09-24 11:21:10 -07:00
openobject.md Point retired domains at their pit.world hosts (#283) 2026-11-08 07:59:13 -08:00
openontology-governance.md feat(openontology): implement OpenOntology Phase 0 + local engine and CLI (#99) 2026-07-26 02:10:13 -07:00
openontology-interoperability.md feat(openontology): Phase 2 + Phase 3 — storage, REST/SSE, MCP, RDF/SHACL, adapters, TUI, explorer (#101) 2026-07-28 05:10:33 -07:00
openontology.md feat(openontology): Phase 2 + Phase 3 — storage, REST/SSE, MCP, RDF/SHACL, adapters, TUI, explorer (#101) 2026-07-28 05:10:33 -07:00
openpersona.md Publish OpenPersona Markdown specification 2026-10-31 11:03:46 +00:00
openphone.md spec: OpenDevice 0.1 with OpenDesktop, OpenPhone, OpenTablet profiles (#261) 2026-10-28 08:01:46 -07:00
openpkg.md feat(specs): OpenPkg 1.0 Draft, the open format behind W3BS Package Manager (#237) 2026-10-12 17:05:13 -07:00
openprd.md Add Tech Stack and Monetization sections to OpenPRD (0.3) (#144) 2026-09-06 16:50:11 -07:00
openprofile.md OpenProfile 0.6: Languages, Accent and Dialect (#291) 2026-11-20 15:16:57 -08:00
openproperty.md OpenListing 0.1: one file a seller serves about a thing on offer (#213) 2026-09-25 03:14:19 -07:00
openrecipe.md docs: OpenCoupon and OpenRecipe.md, the first two niche specs (#165) 2026-09-12 19:16:34 -07:00
openrental.md Publish OpenAgent profile specification and discovery (#188) 2026-09-13 05:37:59 -07:00
openresume.md docs: OpenJob and OpenResume.md (#148) 2026-09-08 16:16:05 -07:00
opensaas.md OpenSaaS 0.1: one file a subscription service serves about the way in and the way out (#176) 2026-09-12 22:29:24 -07:00
openserver.md spec: OpenDevice 0.1 with OpenDesktop, OpenPhone, OpenTablet profiles (#261) 2026-10-28 08:01:46 -07:00
opensite.md OpenSite: one record about a page or a site, the card a reader would draw (#175) 2026-09-12 22:30:41 -07:00
openskill.md Add OpenSkill descriptions for human capabilities and OpenProfile discovery 2026-09-13 15:47:58 +00:00
openslice.md feat(specs): OpenObject and OpenSlice 0.1 (#192) 2026-09-21 03:05:38 -07:00
opensong.md Add OpenSong spec: a song as plain-text blocks a generator takes (#194) 2026-09-23 17:33:18 -07:00
openspec-comparison.md feat(agentstack): add @logicsrc/agentstack coordination module (#5) 2026-06-10 16:39:32 -07:00
openstack.md docs: OpenStack.md 0.1, one Markdown file for what a project is built on (#191) 2026-09-21 02:21:12 -07:00
openstream.md docs: OpenStream benchmark reports, published per release (#150) 2026-09-12 06:23:46 -07:00
openswarm.md feat(specs): OpenObject and OpenSlice 0.1 (#192) 2026-09-21 03:05:38 -07:00
opentablet.md spec: OpenDevice 0.1 with OpenDesktop, OpenPhone, OpenTablet profiles (#261) 2026-10-28 08:01:46 -07:00
opentask.md OpenTask 0.1 + OpenWorkflow 0.1 (#250) 2026-10-19 12:18:16 -07:00
openthreat.md docs: point Bluesky lexicon and CSAF links at their current homes (#244) 2026-10-17 12:52:45 -07:00
opentld.md OpenTLD 0.1: what a domain costs at a registrar, and the TLD record from IANA (#219) 2026-09-25 09:42:12 -07:00
openvuln.md OpenVuln 0.1.1: exploitation.public, claims (unvetted), ssvc, scanners (#268) 2026-10-29 02:13:17 +00:00
openwall.md docs: point Bluesky lexicon and CSAF links at their current homes (#244) 2026-10-17 12:52:45 -07:00
openwebring.md OpenWebring and OpenWiki carry the whole AI Content Disclosure vocabulary (#190) 2026-09-13 13:14:05 +00:00
openwiki.md OpenWebring and OpenWiki carry the whole AI Content Disclosure vocabulary (#190) 2026-09-13 13:14:05 +00:00
openworkflow.md OpenTask 0.1 + OpenWorkflow 0.1 (#250) 2026-10-19 12:18:16 -07:00
permissions.md Add communication account plugin scaffolds 2026-06-09 10:02:07 +00:00
plugins.md Add AgentGit M1: agent-native git layer over a Forgejo backend 2026-06-14 15:15:06 +00:00
positioning.md Add credential sharing openspec 2026-06-06 18:47:41 +00:00
roadmap.md Add communication account plugin scaffolds 2026-06-09 10:02:07 +00:00
ROTATION.md feat(rotation): provider rotators, consumer propagation, weekly job, runbook (CLI 0.14.0) (#265) 2026-10-29 00:43:55 +00:00
rotation.md fix(rotation): one CoinPay login per run, real login errors (CLI 0.16.1) (#292) 2026-11-22 02:57:37 -08:00
tui.md Add waiting arcade MVP 2026-06-06 22:09:22 +00:00