certificates/authority/provisioner
Oleksandr Kovalchuk 322200b7db
Implement modifier to set CommonName
Implement modifier which sets CommonName to the certificate if
CommonName is empty and forceCN is set in the config. Replace previous
implementation introduced in 0218018cee
with new modifier.

Closes https://github.com/smallstep/certificates/issues/259
Ref: https://github.com/smallstep/certificates/pull/260#issuecomment-628961322
2020-05-17 20:23:13 +03:00
..
testdata Introduce generalized statusCoder errors and loads of ssh unit tests. 2020-01-28 13:29:40 -08:00
acme.go Implement modifier to set CommonName 2020-05-17 20:23:13 +03:00
acme_test.go Introduce generalized statusCoder errors and loads of ssh unit tests. 2020-01-28 13:29:40 -08:00
aws.go Allow to use custom principals on cloud provisioners. 2020-03-05 14:33:42 -08:00
aws_test.go Allow to use custom principals on cloud provisioners. 2020-03-05 14:33:42 -08:00
azure.go Add support for OIDC multitoken tenants for azure. 2020-04-24 14:36:32 -07:00
azure_test.go Allow to use custom principals on cloud provisioners. 2020-03-05 14:33:42 -08:00
claims.go Add support for backdate to SSH certificates. 2020-01-28 13:29:39 -08:00
claims_test.go Add support for backdate to SSH certificates. 2020-01-28 13:29:39 -08:00
collection.go Introduce generalized statusCoder errors and loads of ssh unit tests. 2020-01-28 13:29:40 -08:00
collection_test.go Add kubernetes service account provisioner 2019-10-29 17:42:50 -07:00
duration.go Fix spelling errors. 2019-06-07 11:24:56 -07:00
duration_test.go Add NewDuration constructor. 2019-06-05 17:53:28 -07:00
gcp.go Allow to use custom principals on cloud provisioners. 2020-03-05 14:33:42 -08:00
gcp_test.go Allow to use custom principals on cloud provisioners. 2020-03-05 14:33:42 -08:00
jwk.go Simplify statuscoder error generators. 2020-01-28 13:29:40 -08:00
jwk_test.go Simplify statuscoder error generators. 2020-01-28 13:29:40 -08:00
k8sSA.go Simplify statuscoder error generators. 2020-01-28 13:29:40 -08:00
k8sSA_test.go Simplify statuscoder error generators. 2020-01-28 13:29:40 -08:00
keystore.go Simplify abs, it performs even better. 2019-06-25 11:04:48 -07:00
keystore_test.go Fix panic when max-age is set to zero. 2019-06-24 13:40:14 -07:00
method.go Introduce generalized statusCoder errors and loads of ssh unit tests. 2020-01-28 13:29:40 -08:00
noop.go sshpop provisioner + ssh renew | revoke | rekey first pass 2020-01-28 13:28:16 -08:00
noop_test.go Simplify statuscoder error generators. 2020-01-28 13:29:40 -08:00
oidc.go Add support for OIDC multitoken tenants for azure. 2020-04-24 14:36:32 -07:00
oidc_test.go Add support for OIDC multitoken tenants for azure. 2020-04-24 14:36:32 -07:00
provisioner.go Add context parameter to all SSH methods. 2020-03-10 19:01:45 -07:00
provisioner_test.go Add context to tests. 2020-03-10 19:17:32 -07:00
sign_options.go Implement modifier to set CommonName 2020-05-17 20:23:13 +03:00
sign_options_test.go Fix unit tests. 2020-04-20 12:29:23 -07:00
sign_ssh_options.go Add backdate validation to sshCertValidityValidator. 2020-01-28 13:29:40 -08:00
sign_ssh_options_test.go Add backdate validation to sshCertValidityValidator. 2020-01-28 13:29:40 -08:00
ssh_test.go Add backdate validation to sshCertValidityValidator. 2020-01-28 13:29:40 -08:00
sshpop.go Simplify statuscoder error generators. 2020-01-28 13:29:40 -08:00
sshpop_test.go Simplify statuscoder error generators. 2020-01-28 13:29:40 -08:00
timeduration.go Add Unix method to TimeDuration. 2019-07-31 12:36:31 -07:00
timeduration_test.go wip 2019-09-19 13:17:45 -07:00
utils_test.go Add support for OIDC multitoken tenants for azure. 2020-04-24 14:36:32 -07:00
x5c.go Simplify statuscoder error generators. 2020-01-28 13:29:40 -08:00
x5c_test.go Simplify statuscoder error generators. 2020-01-28 13:29:40 -08:00