Skip to content
Repos

TOSV

Markdown 2.9 KB71 lines Opens in site

Directory Raw Download

TOSV concept and vision

TOSV (The Only Safe Vault) is a single-file digital vault for data meant to be collected once, used once, and never seen again. This page states the vision and the product shape. Normative truth lives in SPEC; this page explains it. Build status lives in BUILD-TRACK.

The idea in one minute

An operator starts one binary and opens a web page. First login uses self-minted creds that burn on use. A wizard names who may fetch (IPs), when (time window), and how (append-only or drive mode). The vault prints random creds for storing and for fetching. Storers upload through HTTP or WebDAV; blobs land AEAD-sealed in 64KB streams. Fetchers download inside their window from their network. Under duress, a second login wipes everything with an audit line as its witness.

Why it exists

Breach reports repeat one lesson: collected data outlives its purpose and then leaks. TOSV inverts the default: access dies on its own (windows), copies are useless elsewhere (IP gates, random creds), and the whole vault can be destroyed in one authenticated action (duress). It is built for tip lines, intake desks, dead drops, and one-shot evidence handling.

Design pillars

  • Small enough to audit: one C++ file, stdlib plus POSIX plus one pinned static lib. See implementation.
  • Paranoid by default: append-only, loopback, caps on everything, no silent deletes. See the security index.
  • Honest about limits: v2 seals new blobs with tamper evidence; v1 blobs keep legacy malleability until re-stored; platform hardening stays tracked future work, never implied. See shipped crypto.
  • Operable by one human: wizard, runbooks, monthly drill, boring deploys. See the runbook index.

Product shape

Personas: Operator, Storer, Fetcher (SPEC 2). Surfaces: login, wizard, grant result, store, fetch, logout, WebDAV (SPEC 4). Protocols: HTTP POST for store-only, WebDAV for bring plus fetch, SFTP planned via libssh (see future netops). Modes: append-only WORM by default, two-way drive by explicit checkbox with pre-decided sync policy (see modes).

Non-vision

TOSV is not a password manager, not multi-tenant SaaS, not a backup product with infinite retention, and not certified for regulated data in v1 (see SPEC 6.4). Each no is decided and dated, not a gap.

Lineage

Vision text (uploads/paste.txt), wizard history (plan.md), Python legacy (archive/), elite v2 report (pdf/931edaee4c9e/), protocol research (tasks/4ef6d085742c/), C++ port (tosv.cpp), canonical spec (SPEC 0.1.x). Every ancestor is named so no decision floats without a source.

See also

40.8ms