Commit Graph

77 Commits (08b5b76887ae991ed3114f3a8c6493a22f86879d)

Author SHA1 Message Date
max furman b265877050 Simplify statuscoder error generators. 5 years ago
max furman c387b21808 Introduce generalized statusCoder errors and loads of ssh unit tests.
* StatusCoder api errors that have friendly user messages.
* Unit tests for SSH sign/renew/rekey/revoke across all provisioners.
5 years ago
Mariano Cano eeabf5ba4c Fix tests. 5 years ago
Mariano Cano a6deea7d8d Renew identity certificate in /ssh/rekey and /ssh/renew 5 years ago
max furman f9ef5070f9 Move api errors to their own package and modify the typedef 5 years ago
Mariano Cano bde29b1bbd Addapt tests to the api change. 5 years ago
max furman 1e17ec7d33 Use x5cInsecure token for /ssh/check-host endpoint 5 years ago
Mariano Cano 15a222d354 Add missing unit tests for ssh. 5 years ago
Mariano Cano a049e1f7e7 Check at the cert type instead of at the body. 5 years ago
Mariano Cano c5e34f777c Replace /ssh/get-hosts to /ssh/hosts 5 years ago
Mariano Cano 967d113726 Add error marshaling tests. 5 years ago
Mariano Cano 1a94c0df94 Use default duration for host certificates identity files. 5 years ago
Mariano Cano 0528971693 Fix api tests. 5 years ago
Mariano Cano bf3b557bad Make identity duration the same as the SSH cert. 5 years ago
Mariano Cano 864dd3cf1f Fix extra write header. 5 years ago
max furman c2a3bcfab5 resolving merge 5 years ago
max furman 927784237d Use an actual Hosts type when returning ssh hosts 5 years ago
Mariano Cano 2f18a26d4f Add version endpoint. 5 years ago
max furman 35912cc906 change func def for getSSHHosts
* continue to return all hosts if injection method not specified
5 years ago
Mariano Cano 3fda081e42 Add identity certificate in ssh response. 5 years ago
max furman c407a9319b Add getSSHHosts injection func 5 years ago
Mariano Cano 86a0558587 Add support for /ssh/bastion method. 5 years ago
max furman 946094d2b7 Add multiuse capability to k8ssa provisioners 5 years ago
Mariano Cano 499d698c75 Fix api tests. 5 years ago
max furman a9ea292bd4 sshpop provisioner + ssh renew | revoke | rekey first pass 5 years ago
max furman 36fc7fa174 get-hosts fixes 5 years ago
max furman 64b69374fa Add SSH getHosts api 5 years ago
Mariano Cano 78f26978fa Fix lint, add keys to fields. 5 years ago
Mariano Cano f5023244fe Add tests for ssh api methods. 5 years ago
Mariano Cano f0b346a528 Fix return of host configurations. 5 years ago
Mariano Cano 3ee0dcec93 Add initial support for check-host endpoint. 5 years ago
Mariano Cano a50d59338e Rename SSH methods. 5 years ago
Mariano Cano e84489775b Add support for multiple ssh roots.
Fixes #125
5 years ago
Mariano Cano caa2174efc Add support for user data in templates. 5 years ago
Mariano Cano 7b8bb6deb4 Add initial support for ssh config.
Related to smallstep/cli#170
5 years ago
Mariano Cano 083e203c46 Fix HTTP method for /ssh/sign 5 years ago
Mariano Cano fe3149cf52 Add endpoint to return the SSH public keys.
Related to smallstep/ca-component#195
5 years ago
Mariano Cano dc6ffb7670 Add initial implementation of ssh config. 5 years ago
Jozef Kralik bc6074f596 Change api of functions Authority.Sign, Authority.Renew
Returns certificate chain instead of 2 members.

Implements #126
5 years ago
max furman fe7973c060 wip 5 years ago
max furman e3826dd1c3 Add ACME CA capabilities 5 years ago
max furman 61d52a8510 Small fixes associated with PR review
* additions and grammar edits to documentation
* clarification of error msgs
5 years ago
Mariano Cano 10e7b81b9f Merge branch 'master' into ssh-ca 5 years ago
max furman 2b41faa9cf Enforce >= 2048 bit rsa keys at the provisioner layer
* Fixes #94
* In the future this should be configurable by provisioner
5 years ago
Mariano Cano ca74bb1de5 Add ssh api tests. 5 years ago
Mariano Cano e71072d389 Add experimental support for provisioning users. 5 years ago
Mariano Cano a44b0a1d52 Fix typo 5 years ago
Mariano Cano ba2ba54928 Adapt api package to new interfaces. 5 years ago
Mariano Cano d008d2d4d1 Use default base64 encoding for public key 5 years ago
Mariano Cano 1c8f610ca9 Add initial implementation of an SSH CA using the JWK provisioner.
Fixes smallstep/ca-component#187
5 years ago