File tree 18 files changed +61
-71
lines changed
18 files changed +61
-71
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ required = [
30
30
" github.com/client9/misspell/cmd/misspell" ,
31
31
" github.com/gordonklaus/ineffassign" ,
32
32
" github.com/tsenart/deadcode" ,
33
- " github.com/smallstep/go-makefile"
34
33
]
35
34
36
35
[[constraint ]]
Original file line number Diff line number Diff line change 1
- PKG? =github.com/smallstep/ca-component /cmd/step-ca
1
+ PKG? =github.com/smallstep/certificates /cmd/step-ca
2
2
BINNAME? =step-ca
3
3
4
4
# Set V to 1 for verbose output from the Makefile
Original file line number Diff line number Diff line change
1
+ ## SHHHH, THIS PROJECT HASN'T OFFICIALLY LAUNCHED YET AND THIS REPO IS SUPER SECRET!!!
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
12
12
13
13
"github.com/go-chi/chi"
14
14
"github.com/pkg/errors"
15
- "github.com/smallstep/ca-component /authority"
15
+ "github.com/smallstep/certificates /authority"
16
16
"github.com/smallstep/cli/crypto/tlsutil"
17
17
)
18
18
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import (
17
17
"time"
18
18
19
19
"github.com/go-chi/chi"
20
- "github.com/smallstep/ca-component /authority"
20
+ "github.com/smallstep/certificates /authority"
21
21
"github.com/smallstep/cli/crypto/tlsutil"
22
22
"github.com/smallstep/cli/jose"
23
23
)
Original file line number Diff line number Diff line change 7
7
"os"
8
8
9
9
"github.com/pkg/errors"
10
- "github.com/smallstep/ca-component /logging"
10
+ "github.com/smallstep/certificates /logging"
11
11
)
12
12
13
13
// StatusCoder interface is used by errors that returns the HTTP response code.
Original file line number Diff line number Diff line change 7
7
"net/http"
8
8
9
9
"github.com/pkg/errors"
10
- "github.com/smallstep/ca-component /logging"
10
+ "github.com/smallstep/certificates /logging"
11
11
)
12
12
13
13
// LogError adds to the response writer the given error if it implements
Original file line number Diff line number Diff line change 9
9
"testing"
10
10
11
11
"github.com/pkg/errors"
12
- "github.com/smallstep/ca-component /logging"
12
+ "github.com/smallstep/certificates /logging"
13
13
)
14
14
15
15
func TestLogError (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -173,9 +173,5 @@ func (c *Config) Validate() error {
173
173
c .TLS .Renegotiation = c .TLS .Renegotiation || DefaultTLSOptions .Renegotiation
174
174
}
175
175
176
- if err := c .AuthorityConfig .Validate (); err != nil {
177
- return err
178
- }
179
-
180
- return nil
176
+ return c .AuthorityConfig .Validate ()
181
177
}
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ import (
7
7
8
8
"github.com/go-chi/chi"
9
9
"github.com/pkg/errors"
10
- "github.com/smallstep/ca-component /api"
11
- "github.com/smallstep/ca-component /authority"
12
- "github.com/smallstep/ca-component /logging"
13
- "github.com/smallstep/ca-component /monitoring"
14
- "github.com/smallstep/ca-component /server"
10
+ "github.com/smallstep/certificates /api"
11
+ "github.com/smallstep/certificates /authority"
12
+ "github.com/smallstep/certificates /logging"
13
+ "github.com/smallstep/certificates /monitoring"
14
+ "github.com/smallstep/certificates /server"
15
15
)
16
16
17
17
type options struct {
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ import (
18
18
19
19
"github.com/pkg/errors"
20
20
"github.com/smallstep/assert"
21
- "github.com/smallstep/ca-component /api"
22
- "github.com/smallstep/ca-component /authority"
21
+ "github.com/smallstep/certificates /api"
22
+ "github.com/smallstep/certificates /authority"
23
23
"github.com/smallstep/cli/crypto/keys"
24
24
"github.com/smallstep/cli/crypto/pemutil"
25
25
"github.com/smallstep/cli/crypto/randutil"
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
22
22
"strings"
23
23
24
24
"github.com/pkg/errors"
25
- "github.com/smallstep/ca-component /api"
25
+ "github.com/smallstep/certificates /api"
26
26
"golang.org/x/net/http2"
27
27
"gopkg.in/square/go-jose.v2/jwt"
28
28
)
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ import (
12
12
"testing"
13
13
"time"
14
14
15
- "github.com/smallstep/ca-component /api"
16
- "github.com/smallstep/ca-component /authority"
15
+ "github.com/smallstep/certificates /api"
16
+ "github.com/smallstep/certificates /authority"
17
17
)
18
18
19
19
const (
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
13
13
"time"
14
14
15
15
"github.com/pkg/errors"
16
- "github.com/smallstep/ca-component /api"
16
+ "github.com/smallstep/certificates /api"
17
17
"golang.org/x/net/http2"
18
18
)
19
19
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ import (
16
16
"testing"
17
17
"time"
18
18
19
- "github.com/smallstep/ca-component /api"
20
- "github.com/smallstep/ca-component /authority"
19
+ "github.com/smallstep/certificates /api"
20
+ "github.com/smallstep/certificates /authority"
21
21
"github.com/smallstep/cli/crypto/randutil"
22
22
stepJOSE "github.com/smallstep/cli/jose"
23
23
"gopkg.in/square/go-jose.v2"
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ import (
11
11
"unicode"
12
12
13
13
"github.com/pkg/errors"
14
- "github.com/smallstep/ca-component /authority"
15
- "github.com/smallstep/ca-component /ca"
14
+ "github.com/smallstep/certificates /authority"
15
+ "github.com/smallstep/certificates /ca"
16
16
)
17
17
18
18
func usage () {
Original file line number Diff line number Diff line change 9
9
10
10
newrelic "github.com/newrelic/go-agent"
11
11
"github.com/pkg/errors"
12
- "github.com/smallstep/ca-component /logging"
12
+ "github.com/smallstep/certificates /logging"
13
13
)
14
14
15
15
// Middleware is a function returns another http.Handler that wraps the given
You can’t perform that action at this time.
0 commit comments