certificates/authority
Herman Slatman 2d85d4c1c1 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.
2021-05-26 16:09:38 -07:00
..
admin wip 2021-05-25 16:52:06 -07:00
config wip 2021-05-25 16:52:06 -07:00
mgmt wip 2021-05-26 14:55:31 -07:00
provisioner Add support for configuring capabilities (cacaps) 2021-05-26 16:08:24 -07:00
status wip 2021-05-19 15:20:16 -07:00
testdata Update sshd_config.tpl to a Match all block. 2021-04-12 18:37:10 -07:00
authority.go Add non-TLS server and improve crypto.Decrypter interface 2021-05-26 16:09:38 -07:00
authority_test.go Close key manager for safe reloads when a cgo module is used. 2021-02-01 17:14:44 -08:00
authorize.go Create a hash of a token if a token id is empty. 2020-09-18 16:25:08 -07:00
authorize_test.go Create a hash of a token if a token id is empty. 2020-09-18 16:25:08 -07:00
config.go wip 2021-05-20 13:01:58 -07:00
options.go wip 2021-05-20 13:01:58 -07:00
provisioners.go wip 2021-05-26 14:55:31 -07:00
provisioners_test.go Remove all references to old apiError. 2020-01-28 13:29:40 -08:00
root.go Simplify statuscoder error generators. 2020-01-28 13:29:40 -08:00
root_test.go Use always go.step.sm/crypto 2020-08-14 15:33:50 -07:00
ssh.go first commit 2021-05-19 15:20:16 -07:00
ssh_test.go Update sshd_config.tpl to a Match all block. 2021-04-12 18:37:10 -07:00
tls.go first commit 2021-05-19 15:20:16 -07:00
tls_test.go Allow mTLS revocation without provisioner. 2021-03-22 13:37:31 -07:00
version.go Add missing version.go file. 2020-01-28 13:28:17 -08:00