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/authority
Mariano Cano 30ce9e65f7
Write configuration only if encoding succeeds
This commit fixes a problem when the ca.json is truncated if the
encoding of the configuration fails. This can happen by adding a new
provisioner with bad template data.

Related to smallstep/cli#994
11 months ago
..
admin address linter warning for go 1.19 1 year ago
administrator Improve policy error handling code coverage 2 years ago
config Write configuration only if encoding succeeds 11 months ago
internal/constraints Fix some more extra white spaces 2 years ago
policy Standardize linting file and fix or ignore lots of linting errors 2 years ago
provisioner Address comments from code review 11 months ago
testdata Add special handling for *json.UnmarshalTypeError 2 years ago
admins.go exposing authority configuration for provisioner cli commands 2 years ago
authority.go Move SCEP checks after reload of provisioners in CA initialization 1 year ago
authority_test.go Allow root and federated root bundles 2 years ago
authorize.go address linter warning for go 1.19 1 year ago
authorize_test.go Add support for renew when using stepcas 2 years ago
config.go Admin level API for provisioner mgmt v1 3 years ago
export.go Use go.step.sm/crypto/kms 2 years ago
linkedca.go address linter warning for go 1.19 1 year ago
options.go Disable initialization log output if started with `--quiet` 2 years ago
policy.go address linter warning for go 1.19 1 year ago
policy_test.go Fix linting errors 1 year ago
provisioners.go Add support for the disableSmallstepExtensions claim 11 months ago
provisioners_test.go Use `require.NoError` where appropriate in provisioner tests 1 year ago
root.go Simplify statuscoder error generators. 4 years ago
root_test.go Fix errors.As linter warnings 2 years ago
ssh.go address linter warning for go 1.19 1 year ago
ssh_test.go address linter warning for go 1.19 1 year ago
tls.go address linter warning for go 1.19 1 year ago
tls_test.go address linter warning for go 1.19 1 year ago
version.go Add missing version.go file. 4 years ago
webhook.go Provisioner webhooks (#1001) 2 years ago
webhook_test.go address linter warning for go 1.19 1 year ago