Commit Graph

19 Commits (master)

Author SHA1 Message Date
Herman Slatman d392c169fc
Improve functional coverage of request ID integration test 3 months ago
Herman Slatman b9d6bfc1eb
Cleanup CA client tests by removing `smallstep/assert` 3 months ago
Mariano Cano d739aab345
Define BaseContext before starting the server in tests
If the http.Server BaseContext is not define before the start of the
server, it might not be properly set depending on the goroutine
scheduler. This was causing random errors on CI.
9 months ago
guoguangwu 4c70abcd62 chore: log error 11 months ago
Mariano Cano 62d93a644e Apply base context to test of the ca package 2 years ago
Herman Slatman e7a988b2cd
Pin golangci-lint to v1.43.0 and fix issues 3 years ago
Mariano Cano e414d0c8ea Fix unit tests. 3 years ago
Mariano Cano ba918100d0 Use go.step.sm/crypto/jose
Replace use of github.com/smallstep/cli/crypto with the new package
go.step.sm/crypto/jose.
4 years ago
Mariano Cano e83e47a91e Use sshutil and randutil from go.step.sm/crypto. 4 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
Mariano Cano 64f2615864 Fix tests. 5 years ago
max furman e6e8443f3c allow multiple identical SANs in cert 5 years ago
Mariano Cano af9e6488fc Make the renew test shorter. 5 years ago
Mariano Cano d872f09910 Use mTLS by default on SDK methods.
Add options to modify the tls.Config for different configurations.
Fixes #7
6 years ago
Mariano Cano 9c64dbda9a Add helpers to add direct support for mTLS. 6 years ago
max furman c74fcd57a7 ca-component -> certificates
* fix redundant error check
* add README
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
Mariano Cano 2b2598c695 Fix audience to fix ca tests. 6 years ago
max furman c284a2c0ab first commit 6 years ago