smallstep-certificates/authority/config
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
2023-08-03 17:54:49 -07:00
..
config_test.go Allow option to skip the validation of config 2022-08-16 14:04:04 -07:00
config.go Write configuration only if encoding succeeds 2023-08-03 17:54:49 -07:00
ssh_test.go Admin level API for provisioner mgmt v1 2021-07-02 19:05:17 -07:00
ssh.go
tls_options_test.go
tls_options.go Standardize linting file and fix or ignore lots of linting errors 2022-09-20 16:35:41 -07:00
types_test.go
types.go Introduce gocritic linter and address warnings 2021-10-08 14:59:57 -04:00