keepass-httpd

command module
v0.0.0-...-83014fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2017 License: MIT Imports: 11 Imported by: 0

README

Keepass-HTTPD License

Serve your keepass file via http api

Not for production use yet
Installation
go get github.com/Gonzih/keepass-httpd
Usage

Start the server

$ keepass-httpd --keepass-file /path/to/file.kdbx --http-port 8080

Currently you always have to initialize db via http call

$ curl --form "password=mysecret" "http://localhost:8080/reload"
> {"status":"success"}

Search endpoint uses logical AND for parameters to search

$ curl "http://localhost:8080/search?title=entrytitle&url=url.com&username=myusername"
> {"username":"myusername","title":"entrytitle","password":"securepassword","url":"url.com"}

Re-read DB file from the disk to memory

$ curl --form "password=mysecret" "http://localhost:8080/reload"
> {"status":"success"}

To see all command line arguments run

keepass-httpd --help

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL