Skip to content

Commit

Permalink
Use github.com/smallstep/linkedca @ v0.23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hslatman committed Jan 3, 2025
1 parent 3f9dc06 commit 9723f4b
Show file tree
Hide file tree
Showing 56 changed files with 60 additions and 57 deletions.
2 changes: 1 addition & 1 deletion api/read/read_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/reflect/protoreflect"

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

"github.com/smallstep/certificates/errs"
)
Expand Down
2 changes: 1 addition & 1 deletion authority/admin/api/acme.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/http"

"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
"google.golang.org/protobuf/types/known/timestamppb"

"github.com/smallstep/certificates/acme"
Expand Down
2 changes: 1 addition & 1 deletion authority/admin/api/acme_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/types/known/timestamppb"

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

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

"github.com/go-chi/chi/v5"

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

"github.com/smallstep/certificates/api"
"github.com/smallstep/certificates/api/read"
Expand Down
2 changes: 1 addition & 1 deletion authority/admin/api/admin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/google/go-cmp/cmp/cmpopts"
"google.golang.org/protobuf/types/known/timestamppb"

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

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

"github.com/go-chi/chi/v5"

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

"github.com/smallstep/certificates/acme"
"github.com/smallstep/certificates/api/render"
Expand Down
2 changes: 1 addition & 1 deletion authority/admin/api/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/google/go-cmp/cmp/cmpopts"
"google.golang.org/protobuf/types/known/timestamppb"

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

"github.com/smallstep/assert"
"github.com/smallstep/certificates/acme"
Expand Down
2 changes: 1 addition & 1 deletion authority/admin/api/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
"net/http"

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

"github.com/smallstep/certificates/acme"
"github.com/smallstep/certificates/api/read"
Expand Down
2 changes: 1 addition & 1 deletion authority/admin/api/policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/stretchr/testify/assert"
"google.golang.org/protobuf/encoding/protojson"

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

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

"go.step.sm/crypto/sshutil"
"go.step.sm/crypto/x509util"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/certificates/api"
"github.com/smallstep/certificates/api/read"
Expand Down
2 changes: 1 addition & 1 deletion authority/admin/api/provisioner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"google.golang.org/protobuf/types/known/timestamppb"

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

"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/certificates/authority/provisioner"
Expand Down
2 changes: 1 addition & 1 deletion authority/admin/api/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/smallstep/certificates/api/render"
"github.com/smallstep/certificates/authority/admin"
"go.step.sm/crypto/randutil"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
)

// WebhookAdminResponder is the interface responsible for writing webhook admin
Expand Down
2 changes: 1 addition & 1 deletion authority/admin/api/webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/smallstep/certificates/authority"
"github.com/smallstep/certificates/authority/admin"
"github.com/stretchr/testify/assert"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
"google.golang.org/protobuf/encoding/protojson"
)

Expand Down
2 changes: 1 addition & 1 deletion authority/admin/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"

"github.com/pkg/errors"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion authority/admin/db/nosql/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/pkg/errors"
"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/nosql"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
"google.golang.org/protobuf/types/known/timestamppb"
)

Expand Down
2 changes: 1 addition & 1 deletion authority/admin/db/nosql/admin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/smallstep/certificates/db"
"github.com/smallstep/nosql"
nosqldb "github.com/smallstep/nosql/database"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
"google.golang.org/protobuf/types/known/timestamppb"
)

Expand Down
2 changes: 1 addition & 1 deletion authority/admin/db/nosql/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"fmt"

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

"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/nosql"
Expand Down
2 changes: 1 addition & 1 deletion authority/admin/db/nosql/policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/smallstep/certificates/db"
"github.com/smallstep/nosql"
nosqldb "github.com/smallstep/nosql/database"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
)

func TestDB_getDBAuthorityPolicyBytes(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion authority/admin/db/nosql/provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/pkg/errors"
"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/nosql"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
"google.golang.org/protobuf/types/known/timestamppb"
)

Expand Down
2 changes: 1 addition & 1 deletion authority/admin/db/nosql/provisioner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/smallstep/certificates/db"
"github.com/smallstep/nosql"
nosqldb "github.com/smallstep/nosql/database"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
)

func TestDB_getDBProvisionerBytes(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion authority/administrator/collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/pkg/errors"
"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/certificates/authority/provisioner"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
)

// DefaultAdminLimit is the default limit for listing provisioners.
Expand Down
2 changes: 1 addition & 1 deletion authority/admins.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/certificates/authority/provisioner"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
)

// LoadAdminByID returns an *linkedca.Admin with the given ID.
Expand Down
2 changes: 1 addition & 1 deletion authority/authority.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
kmsapi "go.step.sm/crypto/kms/apiv1"
"go.step.sm/crypto/kms/sshagentkms"
"go.step.sm/crypto/pemutil"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/certificates/authority/admin"
adminDBNosql "github.com/smallstep/certificates/authority/admin/db/nosql"
Expand Down
2 changes: 1 addition & 1 deletion authority/authorize.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/smallstep/certificates/authority/provisioner"
"github.com/smallstep/certificates/errs"
"go.step.sm/crypto/jose"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
"golang.org/x/crypto/ssh"
)

Expand Down
2 changes: 1 addition & 1 deletion authority/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/pkg/errors"

kms "go.step.sm/crypto/kms/apiv1"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/certificates/authority/policy"
"github.com/smallstep/certificates/authority/provisioner"
Expand Down
2 changes: 1 addition & 1 deletion authority/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"google.golang.org/protobuf/types/known/structpb"

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

"github.com/smallstep/certificates/authority/provisioner"
)
Expand Down
2 changes: 1 addition & 1 deletion authority/linkedca.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"go.step.sm/crypto/keyutil"
"go.step.sm/crypto/tlsutil"
"go.step.sm/crypto/x509util"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/certificates/authority/provisioner"
Expand Down
2 changes: 1 addition & 1 deletion authority/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
"fmt"

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

"github.com/smallstep/certificates/authority/admin"
authPolicy "github.com/smallstep/certificates/authority/policy"
Expand Down
2 changes: 1 addition & 1 deletion authority/policy/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package policy
import (
"fmt"

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

"github.com/smallstep/certificates/policy"
)
Expand Down
2 changes: 1 addition & 1 deletion authority/policy/policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/google/go-cmp/cmp"

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

func TestPolicyToCertificates(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion authority/policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/go-jose/go-jose/v3"
"github.com/stretchr/testify/assert"

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

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

"github.com/pkg/errors"
"github.com/smallstep/certificates/acme/wire"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
)

// ACMEChallenge represents the supported acme challenges.
Expand Down
2 changes: 1 addition & 1 deletion authority/provisioner/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"go.step.sm/crypto/jose"
"go.step.sm/crypto/sshutil"
"go.step.sm/crypto/x509util"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/certificates/errs"
"github.com/smallstep/certificates/webhook"
Expand Down
2 changes: 1 addition & 1 deletion authority/provisioner/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"go.step.sm/crypto/jose"
"go.step.sm/crypto/sshutil"
"go.step.sm/crypto/x509util"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/certificates/errs"
"github.com/smallstep/certificates/webhook"
Expand Down
2 changes: 1 addition & 1 deletion authority/provisioner/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/smallstep/certificates/errs"
"github.com/smallstep/certificates/internal/httptransport"
"github.com/smallstep/certificates/webhook"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
"golang.org/x/crypto/ssh"
)

Expand Down
2 changes: 1 addition & 1 deletion authority/provisioner/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/stretchr/testify/assert"
"go.step.sm/crypto/pemutil"
"go.step.sm/crypto/x509util"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
"golang.org/x/crypto/ssh"
)

Expand Down
2 changes: 1 addition & 1 deletion authority/provisioner/gcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"go.step.sm/crypto/jose"
"go.step.sm/crypto/sshutil"
"go.step.sm/crypto/x509util"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/certificates/errs"
"github.com/smallstep/certificates/webhook"
Expand Down
2 changes: 1 addition & 1 deletion authority/provisioner/jwk.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"go.step.sm/crypto/jose"
"go.step.sm/crypto/sshutil"
"go.step.sm/crypto/x509util"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/certificates/errs"
)
Expand Down
2 changes: 1 addition & 1 deletion authority/provisioner/k8sSA.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"go.step.sm/crypto/pemutil"
"go.step.sm/crypto/sshutil"
"go.step.sm/crypto/x509util"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/certificates/errs"
)
Expand Down
2 changes: 1 addition & 1 deletion authority/provisioner/nebula.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import (
"github.com/pkg/errors"
nebula "github.com/slackhq/nebula/cert"

"github.com/smallstep/linkedca"
"go.step.sm/crypto/jose"
"go.step.sm/crypto/sshutil"
"go.step.sm/crypto/x25519"
"go.step.sm/crypto/x509util"
"go.step.sm/linkedca"
"golang.org/x/crypto/ssh"

"github.com/smallstep/certificates/errs"
Expand Down
2 changes: 1 addition & 1 deletion authority/provisioner/oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"go.step.sm/crypto/jose"
"go.step.sm/crypto/sshutil"
"go.step.sm/crypto/x509util"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/certificates/errs"
)
Expand Down
2 changes: 1 addition & 1 deletion authority/provisioner/scep.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"go.step.sm/crypto/kms"
kmsapi "go.step.sm/crypto/kms/apiv1"
"go.step.sm/crypto/x509util"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"

"github.com/smallstep/certificates/internal/httptransport"
"github.com/smallstep/certificates/webhook"
Expand Down
2 changes: 1 addition & 1 deletion authority/provisioner/scep_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"go.step.sm/crypto/minica"
"go.step.sm/crypto/pemutil"
"go.step.sm/crypto/x509util"
"go.step.sm/linkedca"
"github.com/smallstep/linkedca"
)

func Test_challengeValidationController_Validate(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion authority/provisioner/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

"github.com/pkg/errors"

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

"github.com/smallstep/certificates/internal/httptransport"
"github.com/smallstep/certificates/middleware/requestid"
Expand Down
Loading

0 comments on commit 9723f4b

Please sign in to comment.