Commit Graph

18 Commits (master)

Author SHA1 Message Date
Herman Slatman b5961beba9
Fix and/or ignore linting issues 1 year ago
Shulhan fe04f93d7f
all: reformat all go files with the next gofmt (Go 1.19)
There are some changes that manually edited, for example using '-' as
default list and grouping imports.
2 years ago
Mariano Cano 2c63abcf52 fix grammar 2 years ago
Mariano Cano 7c4e6dcc96 Remove duplicated code in bootstrap methods 2 years ago
Mariano Cano b0b2e77b0e Avoid doing unauthenticated requests on the SDK
When step-ca runs with mTLS required on some endpoints, the SDK
used in autocert will fail to start because the identity certificate
is missing. This certificate is only required to retrieve all roots,
in most cases there's only one, and the SDK has access to it.
2 years ago
max furman 933b40a02a Introduce gocritic linter and address warnings 3 years ago
max furman 7b5d6968a5 first commit 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 bacbf85aa3 Add new bootstrap method that creates a listener. 5 years ago
Mariano Cano 10aaece1b0 Update root certificates on renew. 5 years ago
Mariano Cano 6d3e8ed93c Add all root certificates by default on bootstrap methods. 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
Mariano Cano b23e3bec7f Remove comment of removed arguments. 6 years ago
max furman 5f2d998584 change documentation for bootstrap Server|Client
* provide documentation for default and non-default invocation.
6 years ago
Mariano Cano ba88c8c5cb Add context to bootstrap methods. 6 years ago
Mariano Cano 7eb8aeb1f1 Add tests for bootstrap functions. 6 years ago
Mariano Cano 091506a994 Add bootstrap helpers that uses just a token. 6 years ago