Skip to content

Commit

Permalink
Merge pull request #1339 from smallstep/herman/upgrade-linkedca-v0.23.0
Browse files Browse the repository at this point in the history
Use `github.com/smallstep/linkedca` @ `v0.23.0`
  • Loading branch information
hslatman authored Jan 7, 2025
2 parents 7a16b1f + 49c4f76 commit 45676f9
Show file tree
Hide file tree
Showing 16 changed files with 56 additions and 49 deletions.
2 changes: 1 addition & 1 deletion command/ca/acme/eab/eab.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/pkg/errors"
"github.com/urfave/cli"

"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/certificates/ca"
Expand Down
2 changes: 1 addition & 1 deletion command/ca/admin/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

adminAPI "github.com/smallstep/certificates/authority/admin/api"
"github.com/smallstep/cli-utils/errs"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/cli/flags"
"github.com/smallstep/cli/utils/cautils"
Expand Down
2 changes: 1 addition & 1 deletion command/ca/admin/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/smallstep/certificates/ca"
"github.com/smallstep/cli-utils/errs"
"github.com/smallstep/cli-utils/ui"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
)

// Command returns the jwk subcommand.
Expand Down
2 changes: 1 addition & 1 deletion command/ca/admin/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/urfave/cli"

"github.com/smallstep/cli-utils/errs"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/cli/flags"
"github.com/smallstep/cli/utils/cautils"
Expand Down
2 changes: 1 addition & 1 deletion command/ca/admin/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

adminAPI "github.com/smallstep/certificates/authority/admin/api"
"github.com/smallstep/cli-utils/errs"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/cli/flags"
"github.com/smallstep/cli/utils/cautils"
Expand Down
2 changes: 1 addition & 1 deletion command/ca/policy/actions/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

"github.com/smallstep/certificates/ca"
"github.com/smallstep/cli-utils/errs"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/cli/command/ca/policy/policycontext"
"github.com/smallstep/cli/internal/command"
Expand Down
2 changes: 1 addition & 1 deletion command/ca/policy/actions/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/smallstep/certificates/ca"
"github.com/smallstep/cli-utils/errs"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/cli/command/ca/policy/policycontext"
"github.com/smallstep/cli/flags"
Expand Down
2 changes: 1 addition & 1 deletion command/ca/provisioner/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ import (

"github.com/smallstep/cli-utils/errs"
"github.com/smallstep/cli-utils/ui"
"github.com/smallstep/linkedca"
"go.step.sm/crypto/jose"
"go.step.sm/crypto/pemutil"
"go.step.sm/linkedca"

"github.com/smallstep/cli/flags"
"github.com/smallstep/cli/internal/sliceutil"
Expand Down
2 changes: 1 addition & 1 deletion command/ca/provisioner/caConfigClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/smallstep/certificates/authority/provisioner"
"github.com/smallstep/certificates/ca"
"github.com/smallstep/cli-utils/ui"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
)

// nodb implements the certificates/Adminclient interface with noops.
Expand Down
2 changes: 1 addition & 1 deletion command/ca/provisioner/provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/smallstep/certificates/ca"
"github.com/smallstep/cli-utils/errs"
"github.com/smallstep/cli-utils/ui"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/cli/command/ca/provisioner/webhook"
"github.com/smallstep/cli/utils"
Expand Down
2 changes: 1 addition & 1 deletion command/ca/provisioner/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ import (
"github.com/smallstep/cli-utils/errs"
"github.com/smallstep/cli-utils/ui"

"github.com/smallstep/linkedca"
"go.step.sm/crypto/jose"
"go.step.sm/crypto/pemutil"
"go.step.sm/linkedca"

"github.com/smallstep/cli/flags"
"github.com/smallstep/cli/internal/sliceutil"
Expand Down
2 changes: 1 addition & 1 deletion command/ca/provisioner/webhook/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/urfave/cli"

"github.com/smallstep/cli-utils/errs"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/cli/flags"
"github.com/smallstep/cli/utils"
Expand Down
2 changes: 1 addition & 1 deletion command/ca/provisioner/webhook/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/smallstep/certificates/ca"
"github.com/smallstep/cli-utils/errs"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/cli/flags"
"github.com/smallstep/cli/utils"
Expand Down
2 changes: 1 addition & 1 deletion command/ca/provisioner/webhook/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/smallstep/certificates/ca"
"github.com/smallstep/cli-utils/errs"
"github.com/smallstep/cli-utils/ui"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/cli/utils/cautils"
)
Expand Down
25 changes: 13 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ require (
github.com/pquerna/otp v1.4.0
github.com/slackhq/nebula v1.9.5
github.com/smallstep/assert v0.0.0-20200723003110-82e2b9b3b262
github.com/smallstep/certificates v0.28.2-0.20241210150355-51e253be7198
github.com/smallstep/certificates v0.28.2-0.20250107012831-cda0eec3a596
github.com/smallstep/certinfo v1.13.0
github.com/smallstep/cli-utils v0.10.0
github.com/smallstep/go-attestation v0.4.4-0.20240109183208-413678f90935
github.com/smallstep/linkedca v0.23.0
github.com/smallstep/truststore v0.13.0
github.com/smallstep/zcrypto v0.0.0-20221001003018-1ab2364d2a91
github.com/smallstep/zlint v0.0.0-20220930192201-67fb4aa21910
github.com/stretchr/testify v1.10.0
github.com/urfave/cli v1.22.16
go.mozilla.org/pkcs7 v0.9.0
go.step.sm/crypto v0.56.0
go.step.sm/linkedca v0.22.2
golang.org/x/crypto v0.32.0
golang.org/x/sys v0.29.0
golang.org/x/term v0.28.0
Expand All @@ -41,8 +41,8 @@ require (
cloud.google.com/go/auth/oauth2adapt v0.2.6 // indirect
cloud.google.com/go/compute/metadata v0.6.0 // indirect
cloud.google.com/go/iam v1.2.2 // indirect
cloud.google.com/go/longrunning v0.6.3 // indirect
cloud.google.com/go/security v1.18.2 // indirect
cloud.google.com/go/longrunning v0.6.4 // indirect
cloud.google.com/go/security v1.18.3 // indirect
dario.cat/mergo v1.0.1 // indirect
filippo.io/edwards25519 v1.1.0 // indirect
github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 // indirect
Expand All @@ -61,7 +61,7 @@ require (
github.com/cespare/xxhash v1.1.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/chzyer/readline v1.5.1 // indirect
github.com/coreos/go-oidc/v3 v3.11.0 // indirect
github.com/coreos/go-oidc/v3 v3.12.0 // indirect
github.com/corpix/uarand v0.2.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
github.com/creack/pty v1.1.18 // indirect
Expand All @@ -72,7 +72,7 @@ require (
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/go-chi/chi/v5 v5.1.0 // indirect
github.com/go-chi/chi/v5 v5.2.0 // indirect
github.com/go-jose/go-jose/v4 v4.0.2 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
Expand All @@ -87,7 +87,7 @@ require (
github.com/google/go-tspi v0.3.0 // indirect
github.com/google/s2a-go v0.1.8 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
github.com/googleapis/gax-go/v2 v2.14.0 // indirect
github.com/googleapis/gax-go/v2 v2.14.1 // indirect
github.com/huandu/xstrings v1.5.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
Expand Down Expand Up @@ -118,7 +118,7 @@ require (
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/smallstep/nosql v0.7.0 // indirect
github.com/smallstep/pkcs7 v0.0.0-20240911091500-b1cae6277023 // indirect
github.com/smallstep/pkcs7 v0.1.1 // indirect
github.com/smallstep/scep v0.0.0-20240926084937-8cf1ca453101 // indirect
github.com/spf13/cast v1.7.0 // indirect
github.com/weppos/publicsuffix-go v0.20.0 // indirect
Expand All @@ -135,11 +135,12 @@ require (
golang.org/x/sync v0.10.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/time v0.8.0 // indirect
google.golang.org/api v0.212.0 // indirect
google.golang.org/api v0.214.0 // indirect
google.golang.org/genproto v0.0.0-20241118233622-e639e219e697 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20241113202542-65e8d215514f // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241206012308-a4fef0638583 // indirect
google.golang.org/grpc v1.69.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect
google.golang.org/grpc v1.69.2 // indirect
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
howett.net/plist v1.0.0 // indirect
k8s.io/klog/v2 v2.130.1 // indirect
Expand Down
Loading

0 comments on commit 45676f9

Please sign in to comment.