No description
  • Go 96.4%
  • Makefile 2.6%
  • Shell 1%
2024-10-13 03:39:20 +02:00
cmd/keyctl remove dependencies 2024-10-13 03:06:35 +02:00
pkg added livez 2024-10-13 03:39:20 +02:00
scripts some fixes 2023-03-23 00:08:33 +01:00
vendor remove dependencies 2024-10-13 03:06:35 +02:00
.gitignore initial commit 2023-03-14 01:43:04 +01:00
COPYRIGHT first compiling version 2023-03-15 01:51:45 +01:00
go.mod remove dependencies 2024-10-13 03:06:35 +02:00
go.sum remove dependencies 2024-10-13 03:06:35 +02:00
LICENSE initial commit 2023-03-14 01:43:04 +01:00
Makefile cleanup 2023-03-21 01:00:13 +01:00
README.md updated readme 2023-12-20 19:39:12 +01:00
VERSION initial commit 2023-03-14 01:43:04 +01:00

KeyCtl - deliver secret keys with manual confirmation

Server

./keyctl server

Client

Admin Access

Admin access is only allowed via the Unix Domain Socket connection.

export KEYCTL_ENDPOINT=unix:///var/keyctl/keyctl.sock
./keyctl ls

Get Secret

The API to retrieve a secret can be called from any source IP.

export KEYCTL_ENDPOINT=http://127.0.0.1:7070
./keyctl get -id aabbccddeeff...

Get secret of type shamir with share via environment variable:

export KEYCTL_SHARE=aabbccddeeff...
./keyctl get -id aabbccddeeff...

Get secret of type shamir with share via commandline flag:

./keyctl get -id aabbccddeeff... -share aabbccddeeff...

Usage

./keyctl --help

./keyctl server --help

URL Scheme

HTTP

keyctl://127.0.0.1:7070/?id=aabbccddeeff...&share=aabbccddeeff...

HTTPS

keyctl://127.0.0.1:7070/?id=aabbccddeeff...&share=aabbccddeeff...&tls=true