Commit Graph

  • 93320fd977 update cli dep max furman 2019-12-11 14:56:50 -08:00
  • 3ac388612a Use x5cInsecure token for /ssh/check-host endpoint max furman 2019-12-09 23:14:56 -08:00
  • ab126d6405 Add GetTransport to client. Mariano Cano 2019-12-10 16:34:24 -08:00
  • 08eac1b00d Make sure to define the KeyID from the token if available. Mariano Cano 2019-12-10 16:34:01 -08:00
  • 9c3349e90c Go mod tidy. Mariano Cano 2019-12-10 13:41:06 -08:00
  • 2259f62638 Add method to create an ssh token. Mariano Cano 2019-12-10 13:40:14 -08:00
  • de3ba58455 Store renew certificate in the database. Mariano Cano 2019-12-10 13:10:45 -08:00
  • caa2b8dbb7 Add leeway in identity not before. Mariano Cano 2019-12-09 16:54:48 -08:00
  • 0512f6e3e5 redundant variable type def max furman 2019-12-09 12:54:32 -08:00
  • 05cda81215 Add quotes in configuration paths. Mariano Cano 2019-12-04 12:04:46 -08:00
  • 9caadbb341 Fix authority calling wrong revoke method max furman 2019-12-02 19:11:27 -05:00
  • d2b1f1547f Create a custom client that sends a custom User-Agent. Mariano Cano 2019-11-27 17:30:06 -08:00
  • f0eb12372b Add missing unit tests for ssh. Mariano Cano 2019-11-27 14:48:34 -08:00
  • f6ffa2cc43 Check at the cert type instead of at the body. Mariano Cano 2019-11-27 14:48:14 -08:00
  • 5d7829b198 Replace /ssh/get-hosts to /ssh/hosts Mariano Cano 2019-11-27 14:27:23 -08:00
  • d8b3e05a3f Add error marshaling tests. Mariano Cano 2019-11-27 12:25:40 -08:00
  • 7b81bec8aa Use default duration for host certificates identity files. Mariano Cano 2019-11-26 19:09:01 -08:00
  • e29892e9eb Update cli dependency. Mariano Cano 2019-11-26 18:53:16 -08:00
  • 2fe07cd79c Fix tests. Mariano Cano 2019-11-26 18:48:28 -08:00
  • f26103d150 Make test compilable. Mariano Cano 2019-11-26 18:47:34 -08:00
  • f469a6bb38 Update templates. Mariano Cano 2019-11-26 18:47:10 -08:00
  • 557a45abfa Update template tests. Mariano Cano 2019-11-26 18:44:43 -08:00
  • b179ad3662 Fix api tests. Mariano Cano 2019-11-26 18:15:34 -08:00
  • 3a16835cdd Make identity duration the same as the SSH cert. Mariano Cano 2019-11-26 17:45:32 -08:00
  • db1b7a7f8f extraneous new line max furman 2019-11-26 11:55:18 -05:00
  • d4071108e1 Update templates. Mariano Cano 2019-11-25 19:59:53 -08:00
  • 4f08a7816f Fix extra write header. Mariano Cano 2019-11-21 19:06:19 -08:00
  • 85d3843968 Add Identity helpers. Mariano Cano 2019-11-20 19:11:54 -08:00
  • 656f35e522 Use an actual Hosts type when returning ssh hosts max furman 2019-11-20 17:23:51 -08:00
  • 50188fc901 Add version support to the ca.Client. Mariano Cano 2019-11-20 17:15:48 -08:00
  • 03bb26fb91 Add missing version.go file. Mariano Cano 2019-11-20 17:02:06 -08:00
  • c60641701b Add version endpoint. Mariano Cano 2019-11-20 17:01:31 -08:00
  • db3b795eea Fix directory permissions. Mariano Cano 2019-11-20 16:03:31 -08:00
  • f92bb06b6c change func def for getSSHHosts max furman 2019-11-20 12:59:48 -08:00
  • 11c8639782 Add identity certificate in ssh response. Mariano Cano 2019-11-20 11:51:25 -08:00
  • bbaf8e106e Support for retry and identity files. Mariano Cano 2019-11-20 11:50:46 -08:00
  • d555f310dc Add support for identity authentication. Mariano Cano 2019-11-18 17:07:23 -08:00
  • d940ab7c20 Add getSSHHosts injection func max furman 2019-11-20 11:32:27 -08:00
  • 414a94b210 Instrument getIdentity func for OIDC ssh provisioner max furman 2019-11-15 16:57:51 -08:00
  • 3d970b45c8 remove printfs max furman 2019-11-15 11:59:04 -08:00
  • 710f4252ee Remove registry urls from templates. Mariano Cano 2019-11-14 22:09:20 -08:00
  • f74cd04a6a Add WithGetIdentityFunc option and attr to authority max furman 2019-11-14 20:38:07 -08:00
  • f9e5b27e63 Add client method for SSHBastion Mariano Cano 2019-11-14 20:32:38 -08:00
  • 8bf3bf701e Add support for /ssh/bastion method. Mariano Cano 2019-11-14 18:24:58 -08:00
  • a6edcd0a3d Make test to compile, they still fail. Mariano Cano 2019-11-14 18:07:16 -08:00
  • 000885dea7 Move Option type to a new file. Mariano Cano 2019-11-14 15:29:04 -08:00
  • a86dc78b5d Add missing comment. Mariano Cano 2019-11-14 15:27:12 -08:00
  • 7db7b1ee4c Fix some provisioner tests Mariano Cano 2019-11-14 15:26:37 -08:00
  • 29be322b1c Make audiences compatible with the old version. Mariano Cano 2019-11-14 15:18:49 -08:00
  • 39ae5636fe Complete AuthDB interface. Mariano Cano 2019-11-14 10:49:13 -08:00
  • d4627d1282 Make provisioner tests compile, they are still failing. Mariano Cano 2019-11-14 10:48:06 -08:00
  • a8a6d0ada3 Fix indentation. Mariano Cano 2019-11-13 11:18:05 -08:00
  • 5c24ca81f4 Allow to set the ssh user, and registry username and password. Mariano Cano 2019-11-11 11:37:54 -08:00
  • cf592fa0e1 Remove global check for number of k8sSA provisioners. Mariano Cano 2019-11-08 17:43:54 -08:00
  • 5788ac3f4f sshpop token should not allow renew/rekey of user ssh certs max furman 2019-11-07 21:39:36 -08:00
  • 54e3cf7322 Add multiuse capability to k8ssa provisioners max furman 2019-11-06 15:53:16 -08:00
  • 0ae9bab21e Fix api tests. Mariano Cano 2019-11-06 13:33:23 -08:00
  • 29853ae016 sshpop provisioner + ssh renew | revoke | rekey first pass max furman 2019-10-28 11:50:43 -07:00
  • c04f1e1bd4 sshpop first pass max furman 2019-10-26 17:40:43 -07:00
  • 862d704f6b get-hosts fixes max furman 2019-10-26 17:40:26 -07:00
  • 5616386eed Add SSH getHosts api max furman 2019-10-25 13:47:49 -07:00
  • ded8087042 Go mod tidy. Mariano Cano 2019-11-04 19:51:03 -08:00
  • b4f02a04e1 Make templates public. Mariano Cano 2019-11-04 18:30:03 -08:00
  • 8e794259eb Update dependencies. Mariano Cano 2019-11-04 18:09:10 -08:00
  • b8817ad648 Add proxycommand and new lines to templates. Mariano Cano 2019-11-04 18:07:52 -08:00
  • c7e4cc96a4 Change default user duration to 16h. Mariano Cano 2019-10-25 12:23:52 -07:00
  • c729c5f925 Fix list of user ssh public keys. Mariano Cano 2019-10-24 18:36:02 -07:00
  • ec90c41de6 Use nosql version with go mod. Mariano Cano 2019-10-24 14:58:48 -07:00
  • d59a07ad89 Upgrade cli version. Mariano Cano 2019-10-24 14:42:38 -07:00
  • bceb12a169 Upgrade go-jose to 2.4.0. Mariano Cano 2019-10-24 14:40:37 -07:00
  • ee22778264 Fix lint error. Mariano Cano 2019-10-24 14:37:51 -07:00
  • 6489c26d4c Use github.com/Masterminds/sprig/v3 Mariano Cano 2019-10-22 18:41:54 -07:00
  • 4b68f1611f Add tests for templates and some fixes. Mariano Cano 2019-10-15 18:00:46 -07:00
  • 8939caace4 Add tests for ssh authority methods. Mariano Cano 2019-10-15 12:18:29 -07:00
  • e0bfbc4b62 Fix known_host path. Mariano Cano 2019-10-15 11:41:35 -07:00
  • 4f06f3901e Add some ssh related tests. Mariano Cano 2019-10-14 17:10:47 -07:00
  • 385bf0a14a Fix lint, add keys to fields. Mariano Cano 2019-10-14 13:57:06 -07:00
  • d880a98295 Add tests for ssh api methods. Mariano Cano 2019-10-14 13:07:28 -07:00
  • 08850d5334 Add support for federated keys. Mariano Cano 2019-10-11 19:26:59 -07:00
  • a713277453 Fix return of host configurations. Mariano Cano 2019-10-11 19:26:09 -07:00
  • 1b0d05097b Add Write method to templates.Output. Mariano Cano 2019-10-11 18:59:50 -07:00
  • b792d5c07d Add first version of ssh templates. Mariano Cano 2019-10-11 12:49:09 -07:00
  • 019f679189 Create templates path, and remove unnecessary arguments. Mariano Cano 2019-10-11 11:25:48 -07:00
  • 37f17213bb Add initial support for check-host endpoint. Mariano Cano 2019-10-10 13:08:57 -07:00
  • d08db4df23 Rename SSH methods. Mariano Cano 2019-10-08 18:35:28 -07:00
  • b5bc249e1c Add support for multiple ssh roots. Mariano Cano 2019-10-08 18:09:41 -07:00
  • 91130b9c3f Add support for user data in templates. Mariano Cano 2019-10-04 17:08:42 -07:00
  • a35988ff08 Add initial support for ssh config. Mariano Cano 2019-10-03 19:03:38 -07:00
  • b000b59ee6 Fix HTTP method for /ssh/sign Mariano Cano 2019-09-30 15:10:23 -07:00
  • d4c47cf3e1 Fix tests. Mariano Cano 2019-09-27 19:05:53 -07:00
  • 8f08b47a9c Rough wiring for basics of connecting to onboarding flow Alan Christopher Thomas 2019-09-10 16:29:03 -06:00
  • 961be1fbc7 Add endpoint to return the SSH public keys. Mariano Cano 2019-09-26 13:22:07 -07:00
  • a197158426 Add initial implementation of ssh config. Mariano Cano 2019-09-24 19:12:13 -07:00
  • 69a1b68283 Merge branch 'ssh' into kms Mariano Cano 2020-01-27 15:41:14 -08:00
  • f3f8ee4207 Merge pull request #161 from smallstep/unittests Max 2020-01-24 16:16:00 -08:00
  • 92c48949d7 Remove test that is no longer implemented by the method. max furman 2020-01-24 13:45:11 -08:00
  • 1e5763031b Add backdate validation to sshCertValidityValidator. max furman 2020-01-24 13:42:00 -08:00
  • f21f07689e Fix a couple of race conditions in the renewal of certificates. Mariano Cano 2020-01-24 12:26:27 -08:00
  • 99e5bf4782 Remove all references to old apiError. max furman 2020-01-23 22:07:29 -08:00
  • b265877050 Simplify statuscoder error generators. max furman 2020-01-23 22:04:34 -08:00