Crates.io | fast-cli-keepass |
lib.rs | fast-cli-keepass |
version | 0.1.0 |
source | src |
created_at | 2024-03-09 18:03:49.090101 |
updated_at | 2024-03-09 18:03:49.090101 |
description | A tool to quickly find entries in a keepass database using the command-line |
homepage | |
repository | https://github.com/Sxmourai/Fast-Cli-Keepass |
max_upload_size | |
id | 1168031 |
size | 67,760 |
Keepass is a great tool that I use day to day, but sometimes I don't want to open my whole vault just to get one password. So this tool will try to be fast and secure to give you your passwords ! This tool is written in Rust, it's ~2Mb in release mode. Opening the databases can be slow (~1 second), which is a problem, but I can't do anything to fix that
The config (database path & key) can be set using a cli argument, so I recommend setting up an alias like:
alias fcpass=fcpass /home/me/my_passwords.kdbx
You can set the password (not recommended for obvious reasons):
alias fcpass=fcpass /home/me/my_passwords.kdbx --im-stupid 1234
If you don't set the password via cli args, it will be asked in an input
Let's say we have a db Example.kdbx
with the password 1234 (in the project's root)
We have an entry named something like youtube, then we can find it using:
$ fcpass ./Example.kdbx read Youtube
Database key: *1234* (not showed when typing)
1221
Or you can choose the info you want:
$ fcpass ./Example.kdbx read Youtube password # default behaviour
$ fcpass ./Example.kdbx read Youtube username # username in entry
$ fcpass ./Example.kdbx read Youtube title # title of entry
$ fcpass ./Example.kdbx read Youtube infos # all of the above