Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -6,9 +6,9 @@ import (

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

"github.com/smallstep/linkedca"
"go.step.sm/crypto/sshutil"
"go.step.sm/crypto/x509util"
"go.step.sm/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 @@ -10,8 +10,8 @@ import (
"github.com/smallstep/certificates/api/read"
"github.com/smallstep/certificates/api/render"
"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/linkedca"
"go.step.sm/crypto/randutil"
"go.step.sm/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 @@ -14,8 +14,8 @@ import (
"github.com/go-chi/chi/v5"
"github.com/smallstep/certificates/authority"
"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/linkedca"
"github.com/stretchr/testify/assert"
"go.step.sm/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 @@ -7,8 +7,8 @@ import (

"github.com/pkg/errors"
"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/linkedca"
"github.com/smallstep/nosql"
"go.step.sm/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 @@ -10,9 +10,9 @@ import (
"github.com/smallstep/assert"
"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/certificates/db"
"github.com/smallstep/linkedca"
"github.com/smallstep/nosql"
nosqldb "github.com/smallstep/nosql/database"
"go.step.sm/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 @@ -10,9 +10,9 @@ import (
"github.com/smallstep/assert"
"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/certificates/db"
"github.com/smallstep/linkedca"
"github.com/smallstep/nosql"
nosqldb "github.com/smallstep/nosql/database"
"go.step.sm/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 @@ -7,8 +7,8 @@ import (

"github.com/pkg/errors"
"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/linkedca"
"github.com/smallstep/nosql"
"go.step.sm/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 @@ -10,9 +10,9 @@ import (
"github.com/smallstep/assert"
"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/certificates/db"
"github.com/smallstep/linkedca"
"github.com/smallstep/nosql"
nosqldb "github.com/smallstep/nosql/database"
"go.step.sm/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 @@ -17,11 +17,11 @@ import (
"github.com/pkg/errors"
"golang.org/x/crypto/ssh"

"github.com/smallstep/linkedca"
"go.step.sm/crypto/kms"
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/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 @@ -16,8 +16,8 @@ import (
"github.com/smallstep/certificates/authority/admin"
"github.com/smallstep/certificates/authority/provisioner"
"github.com/smallstep/certificates/errs"
"github.com/smallstep/linkedca"
"go.step.sm/crypto/jose"
"go.step.sm/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 @@ -10,8 +10,8 @@ import (

"github.com/pkg/errors"

"github.com/smallstep/linkedca"
kms "go.step.sm/crypto/kms/apiv1"
"go.step.sm/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 @@ -19,11 +19,11 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"

"github.com/smallstep/linkedca"
"go.step.sm/crypto/jose"
"go.step.sm/crypto/keyutil"
"go.step.sm/crypto/tlsutil"
"go.step.sm/crypto/x509util"
"go.step.sm/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 @@ -18,10 +18,10 @@ import (

"github.com/pkg/errors"

"github.com/smallstep/linkedca"
"go.step.sm/crypto/jose"
"go.step.sm/crypto/sshutil"
"go.step.sm/crypto/x509util"
"go.step.sm/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 @@ -14,10 +14,10 @@ import (

"github.com/pkg/errors"

"github.com/smallstep/linkedca"
"go.step.sm/crypto/jose"
"go.step.sm/crypto/sshutil"
"go.step.sm/crypto/x509util"
"go.step.sm/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 @@ -12,10 +12,10 @@ import (
"github.com/smallstep/certificates/authority/policy"
"github.com/smallstep/certificates/internal/httptransport"
"github.com/smallstep/certificates/webhook"
"github.com/smallstep/linkedca"
"github.com/stretchr/testify/assert"
"go.step.sm/crypto/pemutil"
"go.step.sm/crypto/x509util"
"go.step.sm/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 @@ -15,10 +15,10 @@ import (

"github.com/pkg/errors"

"github.com/smallstep/linkedca"
"go.step.sm/crypto/jose"
"go.step.sm/crypto/sshutil"
"go.step.sm/crypto/x509util"
"go.step.sm/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 @@ -8,10 +8,10 @@ import (

"github.com/pkg/errors"

"github.com/smallstep/linkedca"
"go.step.sm/crypto/jose"
"go.step.sm/crypto/sshutil"
"go.step.sm/crypto/x509util"
"go.step.sm/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 @@ -11,11 +11,11 @@ import (

"github.com/pkg/errors"

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

"github.com/smallstep/certificates/errs"
)
Expand Down
Loading
Loading