certificates/kms
Anton Lundin 3e6137110b Add support for using ssh-agent as a KMS
This adds a new KMS, SSHAgentKMS, which is a KMS to provide signing keys
for issuing ssh certificates signed by a key managed by a ssh-agent. It
uses the golang.org/x/crypto package to get a native Go implementation
to talk to a ssh-agent.

This was primarly written to be able to use gpg-agent to provide the
keys stored in a YubiKeys openpgp interface, but can be used for other
setups like proxying a ssh-agent over network.

That way the signing key for ssh certificates can be kept in a
"sign-only" hsm.

This code was written for my employer Intinor AB, but for simplicity
sake gifted to me to contribute upstream.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
2020-11-04 09:06:23 +01:00
..
apiv1 Add support for using ssh-agent as a KMS 2020-11-04 09:06:23 +01:00
awskms Use always go.step.sm/crypto 2020-08-14 15:33:50 -07:00
cloudkms Use always go.step.sm/crypto 2020-08-14 15:33:50 -07:00
softkms Use smallstep/cli-utils instead of smallstep/cli 2020-10-29 13:10:03 -07:00
sshagentkms Add support for using ssh-agent as a KMS 2020-11-04 09:06:23 +01:00
uri Add test with query strings. 2020-05-26 11:13:07 -07:00
yubikey Make the YubiKey management key configurable. 2020-09-17 16:07:32 -07:00
kms.go Move load of kms to main package. 2020-06-12 14:55:35 -07:00
kms_test.go Fix unit tests. 2020-05-19 17:45:15 -07:00