You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
smallstep-certificates/kms
Herman Slatman 8c5b12e21d
Add non-TLS server and improve crypto.Decrypter interface
A server without TLS was added to serve the SCEP endpoints. According
to the RFC, SCEP has to be served via HTTP. The `sscep` client, for
example, will stop any URL that does not start with `http://` from
being used, so serving SCEP seems to be the right way to do it.

This commit adds a second server for which no TLS configuration is
configured. A distinct field in the configuration, `insecureAddress`
was added to specify the address for the insecure server.

The SCEP endpoints will also still be served via HTTPS. Some clients
may be able to work with that.

This commit also improves how the crypto.Decrypter interface is
handled for the different types of KMSes supported by step. The
apiv1.Decrypter interface was added. Currently only SoftKMS
implements this interface, providing a crypto.Decrypter required
for SCEP operations.
4 years ago
..
apiv1 Add non-TLS server and improve crypto.Decrypter interface 4 years ago
awskms Add non-TLS server and improve crypto.Decrypter interface 4 years ago
cloudkms Add non-TLS server and improve crypto.Decrypter interface 4 years ago
pkcs11 Add non-TLS server and improve crypto.Decrypter interface 4 years ago
softkms Merge branch 'master' into hs/scep 4 years ago
sshagentkms Add non-TLS server and improve crypto.Decrypter interface 4 years ago
uri Add test cases for uris with only the schema. 4 years ago
yubikey Add non-TLS server and improve crypto.Decrypter interface 4 years ago
kms.go Move load of kms to main package. 4 years ago
kms_test.go Fix unit tests. 4 years ago