smallstep-certificates/api
Herman Slatman 4186b2c2d0
Change JSON marshaling for SCEP provisioners
Instead of the old method that redacted sensitive information
by overriding the value of the property and changing it back
to the original, the API now uses a model specifically meant
for API responses. This prevents potential race conditions.

This may be iterated on a bit so that we don't need to rely
on the [provisioner.Interface] interface, which requires the
API model to implement unnecessary methods.
2023-08-03 17:21:50 +02:00
..
log Refactor tests stylistically 2022-11-18 10:26:03 +01:00
models Change JSON marshaling for SCEP provisioners 2023-08-03 17:21:50 +02:00
read Standardize linting file and fix or ignore lots of linting errors 2022-09-20 16:35:41 -07:00
render optimized render.JSON (#929) 2023-05-04 22:16:12 +03:00
api_test.go Change JSON marshaling for SCEP provisioners 2023-08-03 17:21:50 +02:00
api.go Change JSON marshaling for SCEP provisioners 2023-08-03 17:21:50 +02:00
crl.go do not render CRLs in memory (#1373) 2023-05-03 23:49:26 +03:00
rekey.go Retrieve the authority from the context in api methods. 2022-04-26 12:58:40 -07:00
renew.go Add support for renew when using stepcas 2022-11-04 16:42:07 -07:00
revoke_test.go Standardize linting file and fix or ignore lots of linting errors 2022-09-20 16:35:41 -07:00
revoke.go Update bad serial error to be more specific 2022-08-11 09:34:04 -07:00
sign.go Add SSH certificate logging to renew and rekey too 2023-05-05 11:06:01 +02:00
ssh_test.go Do not use deprecated AuthorizeSign 2022-05-04 17:35:34 -07:00
ssh.go Add SSH certificate logging to renew and rekey too 2023-05-05 11:06:01 +02:00
sshRekey.go Add SSH certificate logging to renew and rekey too 2023-05-05 11:06:01 +02:00
sshRenew.go Add SSH certificate logging to renew and rekey too 2023-05-05 11:06:01 +02:00
sshRevoke.go Retrieve the authority from the context in api methods. 2022-04-26 12:58:40 -07:00