2
2
Fork
You've already forked hare-keepass
0
KeePass database reader/writer/utility (WIP)
  • Makefile 100%
Find a file
2023年02月15日 16:40:33 +03:00
cmd/kdb init 2023年02月15日 16:40:33 +03:00
format/kdbx init 2023年02月15日 16:40:33 +03:00
LICENSE init 2023年02月15日 16:40:33 +03:00
Makefile init 2023年02月15日 16:40:33 +03:00
README.md init 2023年02月15日 16:40:33 +03:00

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