fast-cli-keepass

Crates.iofast-cli-keepass
lib.rsfast-cli-keepass
version0.1.0
sourcesrc
created_at2024-03-09 18:03:49.090101
updated_at2024-03-09 18:03:49.090101
descriptionA tool to quickly find entries in a keepass database using the command-line
homepage
repositoryhttps://github.com/Sxmourai/Fast-Cli-Keepass
max_upload_size
id1168031
size67,760
Sxmourai (Sxmourai)

documentation

README

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
Commit count: 0

cargo fmt