diff --git a/cmd/step/main.go b/cmd/step/main.go index eae9ea020..fbada2e5b 100644 --- a/cmd/step/main.go +++ b/cmd/step/main.go @@ -9,17 +9,24 @@ import ( "strings" "time" + "github.com/urfave/cli" + "github.com/smallstep/certificates/ca" + "github.com/smallstep/cli-utils/command" + "github.com/smallstep/cli-utils/step" + "github.com/smallstep/cli-utils/ui" + "go.step.sm/crypto/jose" + "go.step.sm/crypto/pemutil" + + "github.com/smallstep/cli-utils/usage" "github.com/smallstep/cli/command/version" "github.com/smallstep/cli/internal/plugin" "github.com/smallstep/cli/utils" - "github.com/urfave/cli" - "go.step.sm/cli-utils/command" - "go.step.sm/cli-utils/step" - "go.step.sm/cli-utils/ui" - "go.step.sm/cli-utils/usage" - "go.step.sm/crypto/jose" - "go.step.sm/crypto/pemutil" + + // Enabled cas interfaces. + _ "github.com/smallstep/certificates/cas/cloudcas" + _ "github.com/smallstep/certificates/cas/softcas" + _ "github.com/smallstep/certificates/cas/stepcas" // Enabled commands _ "github.com/smallstep/cli/command/api" @@ -35,11 +42,6 @@ import ( _ "github.com/smallstep/cli/command/oauth" _ "github.com/smallstep/cli/command/path" _ "github.com/smallstep/cli/command/ssh" - - // Enabled cas interfaces. - _ "github.com/smallstep/certificates/cas/cloudcas" - _ "github.com/smallstep/certificates/cas/softcas" - _ "github.com/smallstep/certificates/cas/stepcas" ) // Version is set by an LDFLAG at build time representing the git tag or commit diff --git a/go.mod b/go.mod index 6ef5a450c..dda3c318e 100644 --- a/go.mod +++ b/go.mod @@ -26,7 +26,6 @@ require ( github.com/stretchr/testify v1.9.0 github.com/urfave/cli v1.22.15 go.mozilla.org/pkcs7 v0.9.0 - go.step.sm/cli-utils v0.9.0 go.step.sm/crypto v0.51.2 go.step.sm/linkedca v0.22.1 golang.org/x/crypto v0.27.0 @@ -135,6 +134,7 @@ require ( go.opentelemetry.io/otel v1.29.0 // indirect go.opentelemetry.io/otel/metric v1.29.0 // indirect go.opentelemetry.io/otel/trace v1.29.0 // indirect + go.step.sm/cli-utils v0.9.0 // indirect golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 // indirect golang.org/x/net v0.29.0 // indirect golang.org/x/oauth2 v0.22.0 // indirect