Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mitsuzo

Encrypted pastebin with end-to-end encryption.

Features

  • Client-side encryption — ChaCha20Poly1305 + Argon2id, all in your browser
  • Zero-knowledge password validation — server never sees your password or plaintext
  • Chunked encryption — supports pastes up to 1 GB, 64 KB chunks with unique nonces
  • Self-destructing pastes — TTL + try-count limits, auto-deleted on expiry
  • File upload with preview — images previewed inline, files downloadable
  • CLI clientcreate and get commands
  • i18n — English and Persian
  • Dark theme

Quick Start

docker run -p 3030:3030 ghcr.io/metantesan/mitsuzo:latest

Open http://localhost:3030.

Build from source

cd crates/frontend && dx build --release && cd ../..
cargo build --release -p backend -p cli
./target/release/backend

CLI

echo "secret message" | cli create
cli create --file document.pdf
cli get 123456
cli get 123456 --output decrypted.pdf

Architecture

crates/
├── backend/     Axum HTTP server, sled metadata DB, filesystem storage
├── frontend/    Dioxus WASM app
├── cli/         Rust CLI client
├── types/       Shared types + bitcode serialization
└── utils/       Argon2id, ChaCha20Poly1305, HMAC-SHA256

Security

  • Argon2id (19MB memory, 2 iterations, 1 parallel) → 64 bytes split into encryption + validation keys
  • ChaCha20Poly1305 authenticated encryption
  • HMAC-SHA256 for password validation (encryption key never leaves your device)
  • Constant-time comparison against timing attacks
  • No plaintext on server — even full compromise cannot expose data

License

BSD-3-Clause

About

End-to-end encrypted pastebin with zero-knowledge password validation — client-side ChaCha20-Poly1305 encryption, Argon2id key derivation, self-destructing pastes. Web + CLI clients.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages