xcagent

command module
v0.0.0-...-2285365 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: MIT Imports: 4 Imported by: 0

README

xcagent

password retention agent for keepassxc

Building

xcagent can be built like any other go app:

CGO_ENABLED=0 go build -ldflags="-s -w" -o xcagent ./main.go 

Usage

The usage is similar to ssh-agent, in that xcagent start prints environment values that are used to query the agent later on. The default flow to set up xcagent is therefore:

  1. eval $(xcagent start)
  2. xcagent set-passphrase <path to database>
  3. xcagent query <entry name> to get the data for the wished entry
xcagent: help

arguments:
start                       -    start the daemon in the background
kill                        -    kill the background agent
ping                        -    ping the background agent
command <args...>           -    send a raw command to keepassxc-cli through the agent
query <entry name>          -    query for an entry through the agent
set-passphrase <path to db> -    set database path and passphrase for the agent

flags:
--daemon        -    start daemon mode in foreground
-q / --quiet    -    disable output

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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