Skip to content

About

Self-hosted, end-to-end encrypted sync server for Kemlock, inspired by Vaultwarden: post-quantum key sharing, Bitwarden API, federation, SSO. Rust.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Kemlock

Kemlock Server

A self-hosted, end-to-end encrypted sync server for Kemlock, inspired by Vaultwarden.

CI Audit Fuzz CodeQL OpenSSF Scorecard Licence: AGPL-3.0-only
Rust 1.100 Docker image DCO: signed off SQLite, PostgreSQL, MySQL ML-KEM-1024 + X25519 Status: in development

Self-hosting · Cryptography · Federation · Push relay (optional) · Contributing · Security policy · Kemlock app


A self-hosted sync server for Kemlock, the post-quantum encrypted authenticator and password manager. It is inspired by Vaultwarden:

  • End-to-end encrypted. Every item is sealed on the device that wrote it. The server stores ciphertext, wrapped keys, sizes and dates, and never holds a key that opens a vault.
  • Two APIs in one binary. The Kemlock API carries every Kemlock kind with ML-KEM-1024 + X25519 key sharing. The Bitwarden® API answers as Vaultwarden does, so Bitwarden apps and Amethystora Vault keep syncing.
  • Moves in from Vaultwarden. A Vaultwarden data folder is copied as stored, nothing decrypted, and apps notice nothing.
  • Federation. Servers can copy chosen vaults to each other as ciphertext, and Kemlock apps fall back to a replica when a vault's home server is down.
  • SSO without key escrow. OpenID Connect decides who signs in; a trusted device, an approval from another device or the master password opens the vault.
  • Homelab friendly. One static binary and multi-arch images for every architecture Vaultwarden supports, SQLite by default, PostgreSQL or MySQL when wanted.

Written in Rust (axum, SeaORM) in clean-architecture crates, with a React and TypeScript web vault built into the binary.

Documentation

Page What it covers
Self-hosting Installing on each platform, reverse proxies, checking downloads
Cryptography The byte formats every client and the server agree on
Federation The formats two servers agree on to copy vaults to each other
Push relay The contract with the optional hosted relay, a fallback for iPhones on a server with no Apple key
Custom fields and trusted devices The fields an admin offers for items, and stopping trust in a device: what the apps read
Security policy Reporting a vulnerability

Status

The design is done and implementation is starting. Nothing here is ready to run yet.

Contributing

Bug reports, fixes and docs are welcome. CONTRIBUTING.md covers the Docker-based dev setup, the checks CI runs, Conventional Commits and the DCO sign-off (git commit -s). Please follow the code of conduct. For questions, see SUPPORT.md; the project is run as described in GOVERNANCE.md, and changes are listed in the changelog.

Security

Report a vulnerability privately, with a GitHub security advisory, never in a public issue. SECURITY.md says what to include and what to expect.

Licence

AGPL-3.0. Anyone who runs a modified server for others must offer them its source.

Trademarks

Bitwarden® is a registered trademark of Bitwarden Inc. Vaultwarden is a project by Daniel García and its contributors. Kemlock is not affiliated with, endorsed by or sponsored by Bitwarden Inc. or the Vaultwarden project; the names are used only to say which apps and servers Kemlock works with.

About

Self-hosted, end-to-end encrypted sync server for Kemlock, inspired by Vaultwarden: post-quantum key sharing, Bitwarden API, federation, SSO. Rust.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages