Commit Graph

8 Commits (master)

Author SHA1 Message Date
verytrap db92404342 chore: fix function names in comment
Signed-off-by: verytrap <wangqiuyue@outlook.com>
1 month ago
Mariano Cano 52baf52f84
Change scep password type to string
This commit changes the type of the decrypter key password to string to
be consistent with other passwords in the ca.json
8 months ago
Mariano Cano 4d5fbfa439
Fix redacted types in SCEP provisioner
This commit uses the same types for the fields in the provisioner.SCEP
type and the "redacted" models.SCEP.
8 months ago
Herman Slatman 5fd70af2c8
Make API responses aware of the new SCEP decrypter properties 8 months ago
Herman Slatman 3ade92f8d5
Support both a decrypter key URI as well as PEM 8 months ago
Herman Slatman 98d015b5c3
Fix linting issues 9 months ago
Herman Slatman 9d3b78ae49
Add `excludeIntermediate` to SCEP provisioner 9 months ago
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.
10 months ago