1 unstable release
0.1.0 | Mar 9, 2024 |
---|
#1284 in Database interfaces
23KB
236 lines
Fast Cli tool for Keepass.info
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
Usage
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
Commands
Read
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
Dependencies
~10–19MB
~236K SLoC