Unifying password managers in Rust: would this trait be useful?

68 points Unlucky-Jaguar-9447 19 comments

Hi folks,

I've been trying to find a TUI password manager and I hit the same wall again and again: every tool (Passeportui, Steelsafe, etc.) is tightly coupled to its own backend and assumptions. Almost none are truly extensible - and the idea of plugging in different backends into a single TUI just doesn’t exist today.

So I got an idea of a small library to explore what a unified, backend-agnostic password manager interface could look like in Rust. It’s called vaultkit.

The idea is simple:

  • Define a PasswordSource trait: fetch, search, add, sync, etc.
  • Implement backends for common systems (pass, 1Password CLI, Bitwarden API)
  • Make it a lib for frontend devs (TUI, CLI, GUI, daemon) that work with any backend via the trait

At this stage, it’s just an idea. I’m mostly asking:

  • Would this be useful to you?
  • Have you seen anything like this already?
  • Want to build or test a backend?

If you have thoughts, ideas, or critiques, I’d love to hear them.

And, of course, you are welcome to join: vaultkit

Thanks for reading!