Trousseau

maintenance

by Théo Crevon (oleiade) · since 2013 · also known as oleiade/trousseau

Single-file encrypted key-value store for secrets, with GPG or AES-256 and S3/SSH/gist sync.

key-valuedatabase engineopen source (permissive)mature

maintenance. Long dormant after v0.4.1 (2019); v0.5.0 (Feb 2026) delivered security and bug fixes only.

Overview

Trousseau is a Go command-line tool and library that keeps key-value pairs in one encrypted file. Data is encrypted either for a set of OpenPGP recipients or symmetrically with AES-256, so a store can be committed to git, synced over Dropbox or pushed to and pulled from S3, SSH hosts or GitHub gists and only decrypted by the intended people or servers. It was written by Théo Crevon around 2013 for sharing keys and certificates across clusters and teams. After years of quiet, a February 2026 v0.5.0 release fixed security issues in key derivation and SSH handling, but the project sees fixes rather than feature work.

Strengths & trade-offs

Strengths

  • +Whole store is one encrypted file, safe to version in git or sync via cloud drives
  • +OpenPGP mode restricts decryption to named recipients; AES-256 mode for shared passphrases
  • +Built-in push/pull to S3, SSH and GitHub gists

Trade-offs

  • −Not a general database: no queries beyond key lookup, no concurrency control
  • −Sparse maintenance history; dedicated secret managers move faster

Great for

  • +Sharing certificates and keys across servers
  • +Small team password and secrets store

Think twice for

  • −Application data storage
  • −Large or frequently written datasets

Capabilities

Native or official first-party support · 2 of 25 tracked

✓Durable persistence
✓Encryption at rest
–Transactions
–Joins
–Secondary indexes
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–Pub/Sub
–Columnar storage
–In-memory
–Compression
–Role-based access
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
None
Multi-region
No
Transactions
None
Consistency
Strong
Schema
Schemaless
Architecture
Embedded, Single node
Query languages
CLI commands (get/set/del/keys)

Meant for hundreds or thousands of secrets, not bulk data.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

apis & protocolsCLI, Go package
client languagesGo

Alternatives to Trousseau

Compare all→
SQLCipherRelational17.5

SQLite with transparent 256-bit AES encryption of the whole database file.

trousseau vs sqlcipher →
Consul KVKey-Value39.0

The key-value store built into HashiCorp Consul for service config, locks and discovery.

trousseau vs hashicorp-consul-kv →
etcdKey-Value32.4

Raft-based, strongly consistent key-value store that holds Kubernetes' cluster state.

trousseau vs etcd →
bboltKey-Value11.5

etcd's maintained fork of BoltDB: a simple, pure-Go B+tree store in a single file.

trousseau vs bbolt →
cdbKey-Value3.5

D. J. Bernstein's constant database: immutable on-disk hash tables with two-read lookups and atomic swaps.

trousseau vs cdb →
kvdb.ioKey-Value1.5

Hosted key-value store driven by plain HTTP calls, with scoped access tokens, TTLs and Lua bucket scripts.

trousseau vs kvdb-io →

Trousseau FAQ

What is Trousseau?

Trousseau is a key-value database by Théo Crevon (oleiade), first released in 2013. Trousseau is a Go command-line tool and library that keeps key-value pairs in one encrypted file. Data is encrypted either for a set of OpenPGP recipients or symmetrically with AES-256, so a store can be committed to git, synced over Dropbox or pushed to and pulled from S3, SSH hosts or GitHub gists and only decrypted by the intended people or servers. It was written by Théo Crevon around 2013 for sharing keys and certificates across clusters and teams. After years of quiet, a February 2026 v0.5.0 release fixed security issues in key derivation and SSH handling, but the project sees fixes rather than feature work.

Is Trousseau open source?

Yes. Trousseau is open source. License: MIT License.

Does Trousseau support ACID transactions?

No. Trousseau does not provide ACID transactions; its consistency model is strong.

Does Trousseau scale horizontally?

Trousseau does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).

How can I run Trousseau?

You can self-host it and embed it in your application.

What is Trousseau best for?

Trousseau is a strong fit for sharing certificates and keys across servers; and small team password and secrets store. Think twice for application data storage.

What are the best alternatives to Trousseau?

Common alternatives to Trousseau include SQLCipher, Consul KV, etcd, bbolt and cdb. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is Trousseau still maintained?

Trousseau is in maintenance mode. Long dormant after v0.4.1 (2019); v0.5.0 (Feb 2026) delivered security and bug fixes only.

How popular is Trousseau?

Trousseau ranks #544 of 844 databases on the WhichDB Score (1.5/100), and #90 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.