Commit graph

2642 commits

Author SHA1 Message Date
dharanikumar-s
a3b5211e0f gofmted the code 2020-07-05 22:40:36 +05:30
dharanikumar-s
0c21f0ae9e Added error check after GenerateDefaultKeyPair 2020-07-05 22:38:45 +05:30
dharanikumar-s
2479371c06 Added error check while marshalling public key 2020-07-05 22:37:29 +05:30
dharanikumar-s
b368a53149 Modified TestAuthority_Renew to TestAuthority_RenewOrRekey 2020-07-05 22:17:57 +05:30
dharanikumar-s
c8c3581e2f SubjectKeyIdentifier extention is calculated from public key passed to this function instead of copying from old certificate 2020-07-05 22:15:01 +05:30
dharanikumar-s
954fda657b Added renewOrRekey to mockAuthority. Added Test_caHandler_Rekey 2020-07-05 22:05:00 +05:30
dharanikumar-s
01a6469d25 Moved peer certificate check to the first line 2020-07-03 16:00:22 +05:30
dharanikumar-s
8f504483ce Added RenewOrRekey function based on @maraino suggestion. RenewOrReky is called from Renew. 2020-07-03 15:58:15 +05:30
Mariano Cano
6736ddee69 Use smallstep/cli v0.14.6 2020-07-02 13:55:00 -07:00
dharanikumar-s
3813f57b1a Add support for rekeying Fixes #292 2020-07-01 19:10:13 +05:30
max furman
e1fdd9300c go mod tidy 2020-06-30 18:01:31 -07:00
max furman
f5da56e19f Bump version of cli to v0.14.5. 2020-06-30 16:25:58 -07:00
Mariano Cano
900651503e
Merge pull request #305 from mkontani/fix/provisioner-type
docs: fix provisioner type
2020-06-29 12:43:02 -07:00
mkontani
feadaa6c56
docs: fix provisioner type
Signed-off-by: mkontani <itoama@live.jp>
2020-06-30 04:32:42 +09:00
max furman
84d9bf86f5 Add forceCN option in ACME provisioner doc 2020-06-26 10:42:13 -07:00
max furman
5752408618 Document the ACME, SSHPOP, X5C, and K8sSA provisioners.
- Fixes #266, #293, #294
2020-06-25 17:29:25 -07:00
max furman
b200e84967 Pull most recent cli and go mod tidy 2020-06-25 15:36:35 -07:00
Max
debce1cec2
Merge pull request #299 from smallstep/max/refactor
Refactor
2020-06-25 15:32:04 -07:00
max furman
accf1be7e9 wip 2020-06-25 14:02:24 -07:00
max furman
7a7825cfcb wip 2020-06-25 14:00:25 -07:00
max furman
71d87b4e61 wip 2020-06-24 23:25:15 -07:00
max furman
c7a6385913 Add authz capabilities table to provisioners doc 2020-06-24 14:13:03 -07:00
max furman
d25e7f64c2 wip 2020-06-24 09:58:40 -07:00
max furman
3636ba3228 wip 2020-06-23 17:13:39 -07:00
Mariano Cano
39650637d4
Merge pull request #297 from smallstep/no-bastion-bastion
Do not return bastion for the configured bastion host.
2020-06-23 11:45:25 -07:00
Mariano Cano
e9a0ad4ec7
Merge pull request #291 from smallstep/template-variables
Add support for required template variables
2020-06-23 11:44:47 -07:00
Mariano Cano
fcfc4e9b2b Fix ssh federated template variables. 2020-06-23 11:14:26 -07:00
max furman
1951669e13 wip 2020-06-23 11:10:45 -07:00
Mariano Cano
b0fdd0b2be Do not return bastion for the configured bastion host.
Fixes #296
2020-06-19 12:37:08 -07:00
Max
be030309a4 Update issue templates 2020-06-18 13:52:16 -07:00
Max
5f27b31be5 Update issue templates 2020-06-18 13:46:59 -07:00
Mariano Cano
528d0910ab Add omitempty to requires property. 2020-06-16 19:03:33 -07:00
Mariano Cano
907162be44 Add test for DefaultTemplates. 2020-06-16 18:44:47 -07:00
Mariano Cano
f82a248617 Add test with backfill. 2020-06-16 18:26:41 -07:00
Mariano Cano
ff32746312 Add test case for error executing template. 2020-06-16 18:21:44 -07:00
Mariano Cano
e3ae751b57 Use templates from authority instead of config. 2020-06-16 17:57:35 -07:00
Mariano Cano
a845b56283 Remove the template path if we load the defaults. 2020-06-16 17:56:22 -07:00
Mariano Cano
237baa5169 Check for required variables in templates.
Fixes smallstep/cli#232
2020-06-16 17:26:54 -07:00
Mariano Cano
6c844a0618 Load default templates if no templates are configured. 2020-06-16 17:26:18 -07:00
Mariano Cano
b583d8d658 Move default templates to the template package. 2020-06-16 17:24:47 -07:00
Max
2ebfc73f77
Merge pull request #290 from smallstep/max/profileLimit
Update profileLimitDuration validator ...
2020-06-16 13:04:34 -07:00
max furman
7d5cf34ce5 Update profileLimitDuration validator ...
- respect notBefore of the provisioner
- modify/fix the reported errors
2020-06-16 12:16:43 -07:00
Mariano Cano
72bb6e159f
Merge pull request #287 from smallstep/nil-templates
Avoid nil pointer panic on step ssh config with no templates.

Fixes #289
2020-06-16 12:12:35 -07:00
max furman
54be8889cd Correct attribute names for SSH claims in provisioner docs 2020-06-16 10:58:58 -07:00
Max
6ee30c3a41
Merge pull request #288 from smallstep/max/rhel-doc
Add RHEL/Centos install documentation and a section on systemctl configuration
2020-06-15 20:23:04 -07:00
max furman
aaec9931f4 Add RHEL/Centos install docs and a section on systemctl config 2020-06-15 20:19:44 -07:00
Mariano Cano
9832d1538b Avoid nil pointer panic on step ssh config with no templates. 2020-06-15 17:25:47 -07:00
Mariano Cano
91bf74551b
Merge pull request #176 from moqmar/patch/ports-below-1024
Let step-ca bind to ports < 1024

Fixes #170
2020-06-15 15:53:52 -07:00
Mariano Cano
88add85e42
Merge pull request #286 from smallstep/ksm-imports
Move load of kms to main package.
2020-06-14 14:44:37 -07:00
Mariano Cano
ddb4ca7a74 Move load of kms to main package.
With this change packages that import the authority won't load by
default all the supported kms with all its dependencies.

Fixes #228
2020-06-12 14:55:35 -07:00