KeePass database reader/writer/utility (WIP)
| cmd/kdb | init | |
| format/kdbx | init | |
| LICENSE | init | |
| Makefile | init | |
| README.md | init | |
hare-keepass
This package implements kdbx format
Status
- Decryptor/Reader: Implemented
- Encryptor/Writer: Not started
Dependencies
Examples
List groups and entries
# in find(1) format
kdb find
# in tree(1) format
kdb find | tree --fromfile .
# slash at the end is mandatory for groups
kdb find path/to/group/...
# pass entry to check if it exists
kdb find path/to/entry...
Print entry fields in GNU recutils format
# by path
kdb show path/to/entry...
# all entries
kdb find | grep -v '/$' | kdb show
# specific entry
kdb find | grep account/codeberg | kdb show
# using your favorite fuzzy finder
kdb find | fzy | kdb show
# or menu
kdb find | wmenu | kdb show
Print specific field content
# using GNU recutils
kdb show | recsel -i -t Entry -P Notes
# using standard utilities(base64 is nonstandard ok, but you can use uudecode!)
kdb show | grep -i username: | cut -d' ' -f2
kdb show | grep -i password: | cut -d' ' -f2 | sed 's/encoded-//' | base64 -d