Commit graph

642 commits

Author SHA1 Message Date
Mariano Cano
d35cebc1fb Add tests for ssh authority methods. 2019-10-15 12:18:29 -07:00
Mariano Cano
d6de129513 Fix known_host path. 2019-10-15 11:41:35 -07:00
Mariano Cano
325d77fce9 Add some ssh related tests. 2019-10-14 17:10:47 -07:00
Mariano Cano
8890c8edd7 Fix lint, add keys to fields. 2019-10-14 13:57:06 -07:00
Mariano Cano
c563143e6d Add tests for ssh api methods. 2019-10-14 13:07:28 -07:00
Mariano Cano
dc24f27647 Add support for federated keys. 2019-10-11 19:26:59 -07:00
Mariano Cano
15390fc636 Fix return of host configurations. 2019-10-11 19:26:09 -07:00
Mariano Cano
7a8ec397ac Add Write method to templates.Output. 2019-10-11 18:59:50 -07:00
Mariano Cano
829a86a5d7 Add first version of ssh templates. 2019-10-11 12:49:09 -07:00
Mariano Cano
74c1b4e771 Create templates path, and remove unnecessary arguments. 2019-10-11 11:25:48 -07:00
Mariano Cano
3e913d374f Add initial support for check-host endpoint. 2019-10-10 13:08:57 -07:00
Mariano Cano
962800676f Rename SSH methods. 2019-10-08 18:35:28 -07:00
Mariano Cano
9f13a92b9e Add support for multiple ssh roots.
Fixes #125
2019-10-08 18:09:41 -07:00
Mariano Cano
50c8b10a4f Add support for user data in templates. 2019-10-04 17:08:42 -07:00
Mariano Cano
eb210ccc70 Add initial support for ssh config.
Related to smallstep/cli#170
2019-10-03 19:03:38 -07:00
Mariano Cano
7b8f0327bd Fix HTTP method for /ssh/sign 2019-09-30 15:10:23 -07:00
Mariano Cano
92bbadba32 Fix merge. 2019-09-30 14:40:00 -07:00
Mariano Cano
43771b341f Fix tests. 2019-09-27 19:05:53 -07:00
Mariano Cano
b2fc1a324a Add UsageText to virtual command. 2019-09-27 18:59:27 -07:00
Mariano Cano
954db8792d Update dependencies. 2019-09-27 18:59:27 -07:00
Mariano Cano
caaba4a80d Update pki with changes in smallstep/cli 2019-09-27 18:58:52 -07:00
Mariano Cano
b9b0c2e2d6 Use production URL and add description. 2019-09-27 18:58:52 -07:00
Mariano Cano
823c190ccd Update dependencies. 2019-09-27 18:58:52 -07:00
Mariano Cano
f2ec20d53f Make dep work copying pki package from cli.
TODO: refactor and use this package from the cli.
2019-09-27 18:57:08 -07:00
Mariano Cano
1364dd9654 Improve onboard messages. 2019-09-27 18:57:07 -07:00
Mariano Cano
db68bf1081 Show error if POST fails. 2019-09-27 18:57:07 -07:00
Mariano Cano
32ae027ed9 Move ca commands to its own package. 2019-09-27 18:57:07 -07:00
Mariano Cano
9893c00e1b Generate PKI and start server using onboarding. 2019-09-27 18:57:07 -07:00
Mariano Cano
42fe92fd5c Remove url from error message. 2019-09-27 18:57:07 -07:00
Mariano Cano
6148f8f775 Create method for onboard action and clean code. 2019-09-27 18:57:07 -07:00
Alan Christopher Thomas
cba1799a43 Change onboarding bootstrap command to step-ca onboard
cc @sourishkrout @maraino
2019-09-27 18:57:07 -07:00
Alan Christopher Thomas
40f002a97d Make note about adding "admin" JWT provisioner 2019-09-27 18:57:07 -07:00
Alan Christopher Thomas
624dd0bb9d Fix linting errors and remove useless code 2019-09-27 18:57:07 -07:00
Alan Christopher Thomas
4dc2410134 Rough wiring for basics of connecting to onboarding flow 2019-09-27 18:57:07 -07:00
Mariano Cano
3d3598a1a9 Add endpoint to return the SSH public keys.
Related to smallstep/ca-component#195
2019-09-26 13:22:07 -07:00
Mariano Cano
0a61c4035b Add initial implementation of ssh config. 2019-09-24 19:12:13 -07:00
max furman
83a8139543 dep update nosql
* Fixes #112
2019-09-24 14:31:07 -07:00
Mariano Cano
c78a47620e Update cli 2019-09-20 16:10:35 -07:00
Mariano Cano
59526d3225
Merge pull request #105 from smallstep/okta-support
Address support on OIDC provisioners
2019-09-20 15:33:11 -07:00
Mariano Cano
39b41b5e83
Merge pull request #107 from smallstep/ssh-valid-after
Truncate to seconds ValidAfter
2019-09-19 15:27:28 -07:00
Max
9f0d8545a3
Merge pull request #106 from smallstep/lint
Added a staticcheck and unused linters and trying to clear up new errors
2019-09-19 15:22:55 -07:00
Mariano Cano
3d46bc13f5 Remove http.CloseNotifier wrapper.
It's deprecated.
2019-09-19 14:36:11 -07:00
Mariano Cano
d59a5b222f Truncate to seconds to avoid rounding up times.
It can cause that certs are not valid yet, if they are used right away.
2019-09-19 13:42:24 -07:00
max furman
fe7973c060 wip 2019-09-19 13:17:45 -07:00
Mariano Cano
adc1d54b0d Define valid after as 1m before now.
It avoids errors with immediate use of cert.
2019-09-19 12:37:41 -07:00
Mariano Cano
fa7273d4f5 Add docs on listenAddress. 2019-09-19 10:20:41 -07:00
Mariano Cano
72f1a61f06 Increase coverage. 2019-09-18 18:08:26 -07:00
Mariano Cano
b7045f27a9 Increase coverage. 2019-09-18 17:13:58 -07:00
Mariano Cano
a16b2125bc Fix tests. 2019-09-18 16:04:43 -07:00
Mariano Cano
6c4abfabbb Make /.well-known/openid-configuration optional 2019-09-18 15:54:10 -07:00