Skip to content

password manager written in rust with TUI, stores aes-256-cbc encrypted data in a yaml file

Notifications You must be signed in to change notification settings

gabrielfalcao/tomb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚰Tomb - CLI Password Manager

Tomb is a command-line password manager built with Rust and TUI, it stores encrypted secrets in a single yaml file, dubbed Tomb File.

The encryption is powered by AES-256-CBC and private key generation by PBKDF2 derivation of user-input passwords.

CI

Developing

Before running the commands below make sure to install rust in stable version.

Running

make tomb-ui

"Unit" Testing

cargo test

"End-to-end" Testing

make test

Building

cargo build --release

Installing

cargo build --release
cp target/release/tomb /usr/local/bin/

Command-line Usage

Tomb File is located in ~/.tomb.yaml by default. Customizable via:

  • environment variable TOMB_FILE
  • command-line option --tomb-file or -t

Tomb Key is located in ~/.tomb.key by default. Customizable via:

  • environment variable TOMB_KEY
  • command-line option --key-filename or -k

Initialize your Tomb

tomb init --ask-password

Add secrets

tomb save personal/email/[email protected] 'I <3 Nickelback'
tomb save personal/netflix/[email protected] '123456'
tomb save personal/spotify/[email protected] '987654'

List Secrets

tomb list

Delete Secrets

tomb delete personal/spotify/[email protected]

Open UI

tomb ui

Demo video

tomb-demo.mp4

asciicast

About

password manager written in rust with TUI, stores aes-256-cbc encrypted data in a yaml file

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published