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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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