DEV Community

classx
classx

Posted on

Dark Matter — Rust-based CLI vault for secure GPG-encrypted config files

Hi everyone! I'm currently learning Rust, and as a hands-on project I built a small command-line utility for Linux called Dark Matter. It's a minimal yet functional vault tool that encrypts sensitive project files using GPG and tracks them in a local SQLite database.

Key Features:

  • Secure GPG encryption using gpgme
  • Add / update / remove / export encrypted files
  • GPG key verification and diagnostics
  • Local SQLite database for file metadata
  • 100% command-line based — no external/cloud dependencies

Requirements: GPG installed and a valid keypair

Rust toolchain

  • libgpgme-dev (on Debian/Ubuntu)
  • sqlite-dev

Repo: https://github.com/classx/dark-matter

I'm still new to Rust, so I’d love feedback — bug reports, feature suggestions, or advice on improving the code. Any contributions or reviews are welcome!

Top comments (0)