Encrypted, multi-tenant, audited storage for vCons
vcon-server stores vCons, the IETF format for conversation records, and returns them only to the keys allowed to see them. Each vCon is encrypted at rest under its own key, kept for its tenant's retention period, erased after it, and held past it when a legal hold says so. Every request is recorded.
This vcon-server, an encrypted vCon store with retention, legal holds and an audit log, is not the vCon Conserver. The Conserver, a pipeline that runs vCons through chains of processing steps, is at github.com/vcon-dev/vcon-server.
- 7112 automated tests pass
- 96.9% of lines covered, 69002 of 71205 lines
37d26adthe commit measured, in CI's run
Status: 0.4.22 released, not yet for production. The store, the HTTP API with its client routes and OpenAPI description, tenants and their keys, retention and the purge sweep, legal holds, the audit logs, the console, the terminal UI, the command line, key rotation,
checkand the MCP server with its tools are built and tested. From 0.4.0 the sealed objects can be kept in an S3 bucket (RustFS, MinIO or AWS S3) and packed there into Parquet files, and a tenant's vCons can be exported as Parquet files. See what is built, and the 1.0 checklist for what production needs.
Post-quantum key exchange first
Every TLS connection the server makes offers the hybrid key exchange X25519MLKEM768 first, and its listeners agree on it with a client that lists it first: X25519 combined with ML-KEM-768, the NIST-standard key encapsulation of FIPS 203, as RFC 10024 defines it for TLS 1.3. A peer without it agrees on a classical group (X25519, secp256r1 or secp384r1), and the connection goes ahead. A connection that agrees on the hybrid group is protected against decryption later by a quantum computer; the certificates and their signatures stay classical. Post-quantum TLS lists each connection and how to check the group a connection agreed.
What it is for
A vCon holds a conversation: who took part, the dialog itself (text, or a recording inline or by URL), and what was learned from it (transcripts, summaries, analysis). That is some of the most sensitive data a business keeps, and much of it must be kept for a fixed time and then destroyed, unless a court says otherwise.
vcon-server is the place a producer sends vCons to and the place they are read back from: an HTTP API over an encrypted store, with tenants kept apart, every request recorded, and retention periods and legal holds applied to each vCon.
Who it is for
- Operators who run the server on Linux: install it, follow getting started to a running server, store a first vCon, then read operations.
- Developers of the recorders, conservers and applications that send vCons and read them back: producers, the HTTP API and the client examples in five languages.
- Compliance and legal staff who set how long a conversation is kept and who may see it: retention and legal holds, audit logs and security.
- AI agents, and the people who connect them: connect an AI agent over MCP.
What it guarantees
-
Encrypted at rest, key by key
Each stored version is sealed with AES-256-GCM under its own data key, wrapped by its tenant's key, which is wrapped by the master key. The catalogs are SQLCipher databases.
Security -
Stored exactly as received
Unsigned, signed (JWS) and encrypted (JWE) vCons, plain or gzipped, are checked and stored byte for byte. Nothing is rewritten, so a signature stays valid.
Storing vCons -
Tenants kept apart
Each tenant has its own key, catalog, files, retention period and audit log. A key belongs to one tenant and reaches nothing else.
Tenants and keys -
Kept as long as required, then erased
A deleted vCon is hidden at once and purged once its tenant's retention period has passed since it was stored. A legal hold stops the purge.
Retention and legal holds -
Every request recorded
Each tenant has an append-only audit log, and the server keeps one for its own administration. Each record is a leaf of its log's hash tree, and the server signs checkpoints of every log. No log holds vCon content or a token.
Audit logs -
Errors you can act on
Every refusal is an RFC 9457 problem document whose
Problem typestypeis a page on this site.
A first look
Send a vCon with a key that holds the write scope, then read it back.
-
Store a vCon
curl --fail-with-body https://vcon.example.com/vcons \ -H "Authorization: Bearer $VCON_KEY" \ -H "Content-Type: application/vcon" \ --data-binary @call.vcon # 201 Created # Location: /vcons/01a07da8-c2bb-83e5-b9a2-279e0d16bc46 # ETag: "…version id…" -
Read it back
curl --fail-with-body https://vcon.example.com/vcons/01a07da8-c2bb-83e5-b9a2-279e0d16bc46 \ -H "Authorization: Bearer $VCON_KEY"
Sending the same bytes again answers 200 with the same version, so a producer can retry safely. The HTTP API lists every route.
Browse in a terminal
vcon-server tui lists a tenant's vCons in a terminal, over the HTTP API, with one key that holds the read scope.
vcon.example.com:8443 | tenant 8c41f2d9a07e4b5c9d13e6f0a2b4c7d8 | connected UUID STORED (UTC+00:00) UPDATED (UTC+00:00) f372fe94-f82b-8c6e-bf82-678dde6e5fd2 2026-11-10 01:08:10 2026-11-10 01:08:10 e6e5fd29-f054-88dd-bf05-8f1bbcdcbfa5 2026-11-10 00:31:07 2026-11-10 00:37:07 > da58fbbe-e87f-854c-be87-f6a99b4b1f77 2026-11-09 23:54:32 2026-11-10 00:06:32 cdcbfa53-e0a8-81bb-be0a-1e3779b97f4a 2026-11-09 23:17:29 2026-11-09 23:35:29 c13ef8e8-d8d2-8e2a-bd8d-45c55827df1d 2026-11-09 22:40:26 2026-11-09 22:40:26 b4b1f77d-d0fd-8a99-bd0f-ad5336963eef 2026-11-09 22:03:51 2026-11-09 22:09:51 a824f612-c926-8708-bc92-d4e115049ec2 2026-11-09 21:26:48 2026-11-09 21:38:48 9b97f4a7-c151-8377-bc15-3c6ef372fe94 2026-11-09 20:49:13 2026-11-09 21:07:13 8f0af33c-b97b-8fe6-bb97-63fcd1e15e67 2026-11-09 20:12:10 2026-11-09 20:12:10 827df1d1-b1a4-8c55-bb1a-8b8ab04fbe3a 2026-11-09 19:35:07 2026-11-09 19:41:07 75f0f066-a9cf-88c4-ba9c-f3188ebe1e0c 2026-11-09 18:58:32 2026-11-09 19:10:32 6963eefb-a1f8-8533-ba1f-1aa66d2c7ddf 2026-11-09 18:21:29 2026-11-09 18:39:29 5cd6ed90-9a22-81a2-b9a2-42344b9addb2 2026-11-09 17:44:26 2026-11-09 17:44:26 5049ec25-924d-8e11-b924-a9c22a093d84 2026-11-09 17:07:51 2026-11-09 17:13:51 43bceaba-8a76-8a80-b8a7-d15008779d57 2026-11-09 16:30:48 2026-11-09 16:42:48 372fe94f-82a1-86ef-b82a-38dde6e5fd29 2026-11-09 15:53:13 2026-11-09 16:11:13 2aa2e7e4-7acb-835e-b7ac-606bc5545cfc 2026-11-09 15:16:10 2026-11-09 15:16:10 1e15e679-72f4-8fcd-b72f-87f9a3c2bccf 2026-11-09 14:39:07 2026-11-09 14:45:07 1188e50e-6b1f-8c3c-b6b1-ef8782311ca1 2026-11-09 14:02:32 2026-11-09 14:14:32 04fbe3a3-6348-88ab-b634-1715609f7c74 2026-11-09 13:25:29 2026-11-09 13:43:29 3 of 100 read, more on the server | as of 2026-11-10 01:20:00 UTC+00:00 j down k up Enter open r refresh n more ? help q quit
It shows what GET /vcons lists and each vCon's masked view, with no content until a reveal key shows one part, and the server's scopes and audit log apply to it as to any client. Terminal UI shows how to set it up.
Install
vcon-server is one binary for Linux on x86_64 or aarch64. These are the release path's steps on Debian or Ubuntu. The install page also covers Fedora, cargo install, a build from source and a container, and what to do when a step fails. CI runs every one of these commands on each change.
-
Install what a minimal system lacks
apt-get update -qq apt-get install -y -qq sudo curl ca-certificates tar gzip >/dev/nullAs root, on Debian or Ubuntu. A minimal image has no sudo, curl or CA certificates.
-
Download the release and check it
VERSION=0.4.22 ARCHIVE=vcon-server-$VERSION-$(uname -m)-unknown-linux-gnu.tar.gz curl -fsSLO https://github.com/NormB/vcon-server/releases/download/v$VERSION/$ARCHIVE curl -fsSLO https://github.com/NormB/vcon-server/releases/download/v$VERSION/SHA256SUMS.txt sha256sum -c SHA256SUMS.txt --ignore-missingsha256sum prints the archive's name and OK. The 0.4.22 binaries need glibc 2.34 or later, such as Debian 12 or 13, Ubuntu 22.04 or 24.04, or Fedora 44; on an older system, install with cargo or build from source.
-
Unpack it
tar -xzf "$ARCHIVE" ls "${ARCHIVE%.tar.gz}"The archive holds vcon-server, its README and the two license files.
-
Install it
sudo install -m 0755 "${ARCHIVE%.tar.gz}/vcon-server" /usr/local/bin/vcon-server vcon-server --versionIt prints vcon-server and its version. The install page also checks the archive's build provenance with gh attestation verify.
-
Set it up and start it
Getting started makes the service account, the master key, a certificate, the configuration and the first keys, then starts the server under systemd or in the foreground.
How-to guides
Each guide gives every command and what it prints, and CI runs each against a live server.
- Get a Let's Encrypt certificateA free, publicly trusted certificate by HTTP-01 or DNS-01 with certbot, renewed automatically, so clients need no CA file.
- Store your first vConStore it, store it again, see a conflict refused, read it back, list it and delete it, with a key for each scope.
- Use keys and scopesA key for each scope, what each one may do, and what each one is refused.
- Add a second tenantA tenant made over the admin API, its key, and its data kept apart from the first.
- Revoke and rotate keysRevoke an API key, replace one without a gap, and rotate the tenant key and the master key.
- Back up and restoreThe master key and the data directory, a restore, and what the restore brings back.
- Run it in a containerAn image built from a checked release, named volumes, and the memory-lock limit a container needs.
- UpgradeA new binary over a running server, the data checked with it, and the way back.
- Connect an AI agent over MCPA key for the agent, the handshake and the tool list over HTTPS and through vcon-server mcp.
- All the guidesEvery how-to guide, with the install and getting-started pages.