Commit Graph

39 Commits (cff346e7fdf591433bf750890f2537b4545bdc60)

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 bde29b1bbd Addapt tests to the api change. 5 years ago
Mariano Cano 0528971693 Fix api tests. 5 years ago
Mariano Cano 86a0558587 Add support for /ssh/bastion method. 5 years ago
Mariano Cano 499d698c75 Fix api tests. 5 years ago
Mariano Cano f5023244fe Add tests for ssh api methods. 5 years ago
Mariano Cano a50d59338e Rename SSH methods. 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 fe3149cf52 Add endpoint to return the SSH public keys.
Related to smallstep/ca-component#195
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 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 ba2ba54928 Adapt api package to new interfaces. 5 years ago
max furman ab4d569f36 Add /revoke API with interface db backend 6 years ago
Mariano Cano 64f2615864 Fix tests. 6 years ago
Mariano Cano a97ea87caa Move options to provisioner so we can set the duration of the cert. 6 years ago
Mariano Cano aa8385b8ba Fix api tests. 6 years ago
Mariano Cano bcaba4f72a Fix api tests. 6 years ago
Mariano Cano adbc496b40 Improve tests 6 years ago
Mariano Cano b974957868 Add certificate information to logs.
Fixes smallstep/ca-component#147
6 years ago
Mariano Cano 8252608ca2 Fix mock 6 years ago
Mariano Cano 518b597535 Remove mTLS client requirement in /roots and /federation 6 years ago
Mariano Cano d296cf95a9 Add mTLS request to get all the root CAs, not the federated ones. 6 years ago
Mariano Cano 37149ed3ea Add method to get all the certs. 6 years ago
max furman c74fcd57a7 ca-component -> certificates
* fix redundant error check
* add README
6 years ago
max furman 0d9dd2d14b provisioner issuer -> name 6 years ago
Mariano Cano e54086662f Add tests with cursors. 6 years ago
Mariano Cano 99cab73360 Remove unused import /provisioners/jwk-set-by-issuer 6 years ago
Mariano Cano 0ccf775f2e Add support for cursors in the api. 6 years ago
max furman ee7db4006a change sign + authorize authority api | add provisioners
* authorize returns []interface{}
 - operators in this list can conform to any interface the user decides
 - our implementation has a combination of certificate claim validators
 and certificate template modifiers.
* provisioners can set and enforce tls cert options
6 years ago
max furman 828798418c gofmt 6 years ago
max furman 0b5f6487e1 change provisioners api
* /provisioners -> /provisioners/jwk-set-by-issuer
* /provisioners now returns a list of Provisioners
6 years ago
Mariano Cano ed13132037 Add unit tests for provisioner endpoints. 6 years ago
max furman c284a2c0ab first commit 6 years ago