No description
  • Go 96.4%
  • Makefile 2.6%
  • Shell 1%
Find a file
2023-04-01 13:10:04 +02:00
cmd/keyctl cleanup 2023-03-21 01:00:13 +01:00
pkg added existing key option 2023-04-01 13:10:04 +02:00
scripts some fixes 2023-03-23 00:08:33 +01: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 added shamir keys 2023-03-20 21:18:44 +01:00
go.sum added shamir keys 2023-03-20 21:18:44 +01:00
LICENSE initial commit 2023-03-14 01:43:04 +01:00
Makefile cleanup 2023-03-21 01:00:13 +01:00
README.md added env variable 2023-03-21 01:18:48 +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