Simple. Practical. Reliable.
fox-vault is a minimalist CLI tool for file encryption using modern cryptography.
No complex configurations. No cloud sync. Just secure, local encryption.
- No insecure modes or configuration footguns
- No external dependencies or services
- Uses modern, audited cryptographic primitives
- Designed for local, deliberate workflows
- Hard to Misuse: XChaCha20-Poly1305 + Argon2id
- Tamper Evident: AEAD prevents silent corruption
- Memory Safe: Best-effort zeroing of sensitive data
- Zero Config: Single static binary
- Safe Defaults: Refuses to overwrite files
- Flexible Decryption: Safe (
unlock) and destructive (burn) modes
👉 https://github.com/foxhackerzdevs/fox-vault/releases
sha256sum -c fox-v1.0.1-linux-amd64.sha256go install github.com/foxhackerzdevs/fox-vault@latestgit clone https://github.com/foxhackerzdevs/fox-vault
cd fox-vault
go build -trimpath -ldflags="-s -w" -o fox main.go./fox -m lock -f secret.txtCreates:
secret.txt.fox
./fox -m unlock -f secret.txt.fox- Prints decrypted content to stdout
- Does NOT delete the file
Recommended:
./fox -m unlock -f file.fox | less
./fox -m unlock -f file.fox > output.txt./fox -m burn -f secret.txt.fox- Decrypts file
- Prints content
- Prompts before deletion
- Deletes encrypted file after confirmation
./fox -v0Success1General error2Invalid arguments3Decryption failed
- KDF: Argon2id (
Time=3,Memory=256MB,Threads=4) - Encryption: XChaCha20-Poly1305
- Nonce: 24 bytes
File Format:
[1-byte Version][16-byte Salt][24-byte Nonce][Ciphertext]
- Password Input: Secure terminal input
- File Permissions:
0600
- Not for plausible deniability
- Not for hiding filenames
- Not for very large files (RAM-bound, recommended <1GB)
- Not a password manager
- No password recovery — lost password = lost data
The burn mode uses overwrite + delete.
❗ On SSDs and modern filesystems, secure deletion is not guaranteed.
go mod tidy
go build -trimpath -ldflags="-s -w -X main.version=dev" -o fox main.goUses:
-trimpath- stripped binaries (
-s -w)
- Replace
burnwith--deleteflag - Streaming support (>1GB files)
- Output file support (
-o output.txt)
MIT License — see LICENSE
This software is provided "as is".
- No warranty
- No recovery
- No guarantees
You are responsible for your data and passwords.
Built by https://github.com/foxhackerzdevs Pull requests welcome.