Download Latest Version kp_linux-x86.zip (1.6 MB)
Email in envelope

Get an email when there's a new version of KP V1

Home
Name Modified Size InfoDownloads / Week
kp_win32.zip 2021-12-14 6.3 MB
kp_linux-x86.zip 2021-12-14 1.6 MB
kp_linux-armel.zip 2021-12-14 1.6 MB
kp_linux-amd64.zip 2021-12-14 1.7 MB
KP.pdf 2021-12-14 23.6 kB
README.md 2021-12-14 1.9 kB
Totals: 6 Items   11.2 MB 0

kp

This project is a reimplementation of kpcli with a few additional features thrown in. It provides a shell-like interface for navigating a keepass database and manipulating entries.

Features, such as search have been added.

Usage

Command-line

> ./kp -help
Usage of ./kp:
  -db string
        the db to open
  -key string
        a key file to use to unlock the db
  -n string
        execute a given command and exit
  -version
        print version and exit

Program Shell

/ > help

Commands:
  attach       attach <get|show|delete> <entry> <filesystem location>
  cd           cd <path>
  clear        clear the screen
  edit         edit <entry>
  exit         exit the program
  help         display help
  ls           ls [path]
  mkdir        mkdir <group name>
  mv           mv <soruce> <destination>
  new          new <path>
  pwd          pwd
  rm           rm <entry>
  save         save
  saveas       saveas <file.kdb> [file.key]
  search       search <term>
  select       select [-f] <entry>
  show         show [-f] <entry>
  version      version
  xp           xp <entry>
  xu           xu
  xw           xw
  xx           xx

Running a command with the argument help will display a more detailed usage message

/ > attach help

manages the attachment for a given entry

Commands:
  create       attach create <entry> <name> <filesystem location>
  details      attach details <entry>
  get          attach get <entry> <filesystem location>

Overview

There are two main components, the shell and the libraries that interact with the database directly. The shell interfaces with the database through those abstractions. The shell works by having individual files for each command which are strung together in main.go.

License

This project is licensed under the ISC License.

Source: README.md, updated 2021-12-14