certificates/authority
Mariano Cano 955d4cf80d Add authority.WithX509SignerFunc
This change adds a new authority option that allows to pass a callback
that returns the certificate chain and signer used to sign X.509
certificates.

This option will be used by Caddy, they renew the intermediate
certificate weekly and there's no other way to replace it without
re-creating the embedded CA.

Fixes #874
2022-03-28 17:54:35 -07:00
..
admin authority/admin/api: refactored to use the read package 2022-03-18 20:21:00 +02:00
administrator Introduce gocritic linter and address warnings 2021-10-08 14:59:57 -04:00
config Rename claim to allowRenewAfterExpiry. 2022-03-14 15:40:01 -07:00
provisioner Merge pull request #845 from vijayjt/azure-user-mi-token 2022-03-23 17:18:51 -07:00
status wip 2021-05-19 15:20:16 -07:00
testdata Add special handling for *json.UnmarshalTypeError 2022-01-12 11:15:39 +01:00
admins.go Introduce gocritic linter and address warnings 2021-10-08 14:59:57 -04:00
authority.go Add options to use custom renewal methods. 2022-03-10 13:01:08 -08:00
authority_test.go Cleanup 2022-01-18 15:54:18 +01:00
authorize.go Refactor renew after expiry token authorization 2022-03-10 20:21:01 -08:00
authorize_test.go Refactor renew after expiry token authorization 2022-03-10 20:21:01 -08:00
config.go Admin level API for provisioner mgmt v1 2021-07-02 19:05:17 -07:00
export.go Merge branch 'master' into max/context 2021-11-17 11:40:01 -08:00
linkedca.go Introduce gocritic linter and address warnings 2021-10-08 14:59:57 -04:00
options.go Add authority.WithX509SignerFunc 2022-03-28 17:54:35 -07:00
provisioners.go Rename claim to allowRenewAfterExpiry. 2022-03-14 15:40:01 -07:00
provisioners_test.go Admin level API for provisioner mgmt v1 2021-07-02 19:05:17 -07: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 Refactor extraction of JSON template syntax errors 2022-01-12 10:41:36 +01:00
ssh_test.go Fix linting errors and pin linter version in release action 2022-02-03 12:23:02 -08:00
tls.go Merge pull request #804 from smallstep/herman/normalize-ipv6-dns-names 2022-02-09 11:25:24 +01:00
tls_test.go Add options to use custom renewal methods. 2022-03-10 13:01:08 -08:00
version.go Add missing version.go file. 2020-01-28 13:28:17 -08:00