4 releases

Uses old Rust 2015

0.2.0 Jun 16, 2017
0.1.2 Jun 6, 2017
0.1.1 Jun 4, 2017
0.1.0 Jun 4, 2017

#993 in Authentication

MIT license

23KB
665 lines

🔑 lich

An extremely minimal command-line password manager.

Made with 🍵 + ❤️ by quadrupleslap. Any contributions welcome!

Quick Start

This example uses fzf for fuzzy-searching.

# Install it. For now this part needs Rust.
cargo install lich --all-features

# Initialize at the default file path.
export LICH=$HOME/.lich
lich init

# Set a password.
lich set github

# Fuzzy-select an entry and copy it to the clipboard. Alias this!
lich get $(lich list | fzf) | pbcopy

# Or just get it the old-fashioned way.
lich get github

# Heretic!
lich delete github
lich set bitbucket

# Generate a new password.
lich generate --length 64 | pbcopy
lich set reddit

# More information.
lich help

Is it secure?

Probably! It uses AES-256-GCM to store the passwords, encrypted with a randomly generated encryption key, which is in turn encrypted with the user's selected password. Any help verifying the code would be highly appreciated, though! 😉

Dependencies

~6–15MB
~251K SLoC