Skip to content

Commit f473632

Browse files
committed
Use github.com/smallstep/linkedca @ v0.23.0
1 parent 3f9dc06 commit f473632

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+60
-57
lines changed

api/read/read_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"google.golang.org/protobuf/proto"
1616
"google.golang.org/protobuf/reflect/protoreflect"
1717

18-
"go.step.sm/linkedca"
18+
"github.com/smallstep/linkedca"
1919

2020
"github.com/smallstep/certificates/errs"
2121
)

authority/admin/api/acme.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"net/http"
66

7-
"go.step.sm/linkedca"
7+
"github.com/smallstep/linkedca"
88
"google.golang.org/protobuf/types/known/timestamppb"
99

1010
"github.com/smallstep/certificates/acme"

authority/admin/api/acme_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
"google.golang.org/protobuf/proto"
1818
"google.golang.org/protobuf/types/known/timestamppb"
1919

20-
"go.step.sm/linkedca"
20+
"github.com/smallstep/linkedca"
2121

2222
"github.com/smallstep/assert"
2323
"github.com/smallstep/certificates/acme"

authority/admin/api/admin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

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

9-
"go.step.sm/linkedca"
9+
"github.com/smallstep/linkedca"
1010

1111
"github.com/smallstep/certificates/api"
1212
"github.com/smallstep/certificates/api/read"

authority/admin/api/admin_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"github.com/google/go-cmp/cmp/cmpopts"
1717
"google.golang.org/protobuf/types/known/timestamppb"
1818

19-
"go.step.sm/linkedca"
19+
"github.com/smallstep/linkedca"
2020

2121
"github.com/smallstep/assert"
2222
"github.com/smallstep/certificates/authority/admin"

authority/admin/api/middleware.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

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

8-
"go.step.sm/linkedca"
8+
"github.com/smallstep/linkedca"
99

1010
"github.com/smallstep/certificates/acme"
1111
"github.com/smallstep/certificates/api/render"

authority/admin/api/middleware_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"github.com/google/go-cmp/cmp/cmpopts"
1717
"google.golang.org/protobuf/types/known/timestamppb"
1818

19-
"go.step.sm/linkedca"
19+
"github.com/smallstep/linkedca"
2020

2121
"github.com/smallstep/assert"
2222
"github.com/smallstep/certificates/acme"

authority/admin/api/policy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"errors"
66
"net/http"
77

8-
"go.step.sm/linkedca"
8+
"github.com/smallstep/linkedca"
99

1010
"github.com/smallstep/certificates/acme"
1111
"github.com/smallstep/certificates/api/read"

authority/admin/api/policy_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/stretchr/testify/assert"
1515
"google.golang.org/protobuf/encoding/protojson"
1616

17-
"go.step.sm/linkedca"
17+
"github.com/smallstep/linkedca"
1818

1919
"github.com/smallstep/certificates/acme"
2020
"github.com/smallstep/certificates/authority"

authority/admin/api/provisioner.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66

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

9+
"github.com/smallstep/linkedca"
910
"go.step.sm/crypto/sshutil"
1011
"go.step.sm/crypto/x509util"
11-
"go.step.sm/linkedca"
1212

1313
"github.com/smallstep/certificates/api"
1414
"github.com/smallstep/certificates/api/read"

authority/admin/api/provisioner_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"google.golang.org/protobuf/types/known/timestamppb"
2020

2121
"github.com/smallstep/assert"
22-
"go.step.sm/linkedca"
22+
"github.com/smallstep/linkedca"
2323

2424
"github.com/smallstep/certificates/authority/admin"
2525
"github.com/smallstep/certificates/authority/provisioner"

authority/admin/api/webhook.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"github.com/smallstep/certificates/api/read"
1111
"github.com/smallstep/certificates/api/render"
1212
"github.com/smallstep/certificates/authority/admin"
13+
"github.com/smallstep/linkedca"
1314
"go.step.sm/crypto/randutil"
14-
"go.step.sm/linkedca"
1515
)
1616

1717
// WebhookAdminResponder is the interface responsible for writing webhook admin

authority/admin/api/webhook_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import (
1414
"github.com/go-chi/chi/v5"
1515
"github.com/smallstep/certificates/authority"
1616
"github.com/smallstep/certificates/authority/admin"
17+
"github.com/smallstep/linkedca"
1718
"github.com/stretchr/testify/assert"
18-
"go.step.sm/linkedca"
1919
"google.golang.org/protobuf/encoding/protojson"
2020
)
2121

authority/admin/db.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"fmt"
77

88
"github.com/pkg/errors"
9-
"go.step.sm/linkedca"
9+
"github.com/smallstep/linkedca"
1010
)
1111

1212
const (

authority/admin/db/nosql/admin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77

88
"github.com/pkg/errors"
99
"github.com/smallstep/certificates/authority/admin"
10+
"github.com/smallstep/linkedca"
1011
"github.com/smallstep/nosql"
11-
"go.step.sm/linkedca"
1212
"google.golang.org/protobuf/types/known/timestamppb"
1313
)
1414

authority/admin/db/nosql/admin_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"github.com/smallstep/assert"
1111
"github.com/smallstep/certificates/authority/admin"
1212
"github.com/smallstep/certificates/db"
13+
"github.com/smallstep/linkedca"
1314
"github.com/smallstep/nosql"
1415
nosqldb "github.com/smallstep/nosql/database"
15-
"go.step.sm/linkedca"
1616
"google.golang.org/protobuf/types/known/timestamppb"
1717
)
1818

authority/admin/db/nosql/policy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"encoding/json"
66
"fmt"
77

8-
"go.step.sm/linkedca"
8+
"github.com/smallstep/linkedca"
99

1010
"github.com/smallstep/certificates/authority/admin"
1111
"github.com/smallstep/nosql"

authority/admin/db/nosql/policy_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"github.com/smallstep/assert"
1111
"github.com/smallstep/certificates/authority/admin"
1212
"github.com/smallstep/certificates/db"
13+
"github.com/smallstep/linkedca"
1314
"github.com/smallstep/nosql"
1415
nosqldb "github.com/smallstep/nosql/database"
15-
"go.step.sm/linkedca"
1616
)
1717

1818
func TestDB_getDBAuthorityPolicyBytes(t *testing.T) {

authority/admin/db/nosql/provisioner.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77

88
"github.com/pkg/errors"
99
"github.com/smallstep/certificates/authority/admin"
10+
"github.com/smallstep/linkedca"
1011
"github.com/smallstep/nosql"
11-
"go.step.sm/linkedca"
1212
"google.golang.org/protobuf/types/known/timestamppb"
1313
)
1414

authority/admin/db/nosql/provisioner_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"github.com/smallstep/assert"
1111
"github.com/smallstep/certificates/authority/admin"
1212
"github.com/smallstep/certificates/db"
13+
"github.com/smallstep/linkedca"
1314
"github.com/smallstep/nosql"
1415
nosqldb "github.com/smallstep/nosql/database"
15-
"go.step.sm/linkedca"
1616
)
1717

1818
func TestDB_getDBProvisionerBytes(t *testing.T) {

authority/administrator/collection.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/pkg/errors"
88
"github.com/smallstep/certificates/authority/admin"
99
"github.com/smallstep/certificates/authority/provisioner"
10-
"go.step.sm/linkedca"
10+
"github.com/smallstep/linkedca"
1111
)
1212

1313
// DefaultAdminLimit is the default limit for listing provisioners.

authority/admins.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
"github.com/smallstep/certificates/authority/admin"
77
"github.com/smallstep/certificates/authority/provisioner"
8-
"go.step.sm/linkedca"
8+
"github.com/smallstep/linkedca"
99
)
1010

1111
// LoadAdminByID returns an *linkedca.Admin with the given ID.

authority/authority.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ import (
1717
"github.com/pkg/errors"
1818
"golang.org/x/crypto/ssh"
1919

20+
"github.com/smallstep/linkedca"
2021
"go.step.sm/crypto/kms"
2122
kmsapi "go.step.sm/crypto/kms/apiv1"
2223
"go.step.sm/crypto/kms/sshagentkms"
2324
"go.step.sm/crypto/pemutil"
24-
"go.step.sm/linkedca"
2525

2626
"github.com/smallstep/certificates/authority/admin"
2727
adminDBNosql "github.com/smallstep/certificates/authority/admin/db/nosql"

authority/authorize.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import (
1616
"github.com/smallstep/certificates/authority/admin"
1717
"github.com/smallstep/certificates/authority/provisioner"
1818
"github.com/smallstep/certificates/errs"
19+
"github.com/smallstep/linkedca"
1920
"go.step.sm/crypto/jose"
20-
"go.step.sm/linkedca"
2121
"golang.org/x/crypto/ssh"
2222
)
2323

authority/config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010

1111
"github.com/pkg/errors"
1212

13+
"github.com/smallstep/linkedca"
1314
kms "go.step.sm/crypto/kms/apiv1"
14-
"go.step.sm/linkedca"
1515

1616
"github.com/smallstep/certificates/authority/policy"
1717
"github.com/smallstep/certificates/authority/provisioner"

authority/export.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"google.golang.org/protobuf/types/known/structpb"
1212

1313
"github.com/smallstep/cli-utils/step"
14-
"go.step.sm/linkedca"
14+
"github.com/smallstep/linkedca"
1515

1616
"github.com/smallstep/certificates/authority/provisioner"
1717
)

authority/linkedca.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ import (
1919
"google.golang.org/grpc"
2020
"google.golang.org/grpc/credentials"
2121

22+
"github.com/smallstep/linkedca"
2223
"go.step.sm/crypto/jose"
2324
"go.step.sm/crypto/keyutil"
2425
"go.step.sm/crypto/tlsutil"
2526
"go.step.sm/crypto/x509util"
26-
"go.step.sm/linkedca"
2727

2828
"github.com/smallstep/certificates/authority/admin"
2929
"github.com/smallstep/certificates/authority/provisioner"

authority/policy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"errors"
66
"fmt"
77

8-
"go.step.sm/linkedca"
8+
"github.com/smallstep/linkedca"
99

1010
"github.com/smallstep/certificates/authority/admin"
1111
authPolicy "github.com/smallstep/certificates/authority/policy"

authority/policy/policy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package policy
33
import (
44
"fmt"
55

6-
"go.step.sm/linkedca"
6+
"github.com/smallstep/linkedca"
77

88
"github.com/smallstep/certificates/policy"
99
)

authority/policy/policy_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

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

8-
"go.step.sm/linkedca"
8+
"github.com/smallstep/linkedca"
99
)
1010

1111
func TestPolicyToCertificates(t *testing.T) {

authority/policy_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/go-jose/go-jose/v3"
1010
"github.com/stretchr/testify/assert"
1111

12-
"go.step.sm/linkedca"
12+
"github.com/smallstep/linkedca"
1313

1414
"github.com/smallstep/certificates/authority/admin"
1515
"github.com/smallstep/certificates/authority/administrator"

authority/provisioner/acme.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
"github.com/pkg/errors"
1313
"github.com/smallstep/certificates/acme/wire"
14-
"go.step.sm/linkedca"
14+
"github.com/smallstep/linkedca"
1515
)
1616

1717
// ACMEChallenge represents the supported acme challenges.

authority/provisioner/aws.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ import (
1818

1919
"github.com/pkg/errors"
2020

21+
"github.com/smallstep/linkedca"
2122
"go.step.sm/crypto/jose"
2223
"go.step.sm/crypto/sshutil"
2324
"go.step.sm/crypto/x509util"
24-
"go.step.sm/linkedca"
2525

2626
"github.com/smallstep/certificates/errs"
2727
"github.com/smallstep/certificates/webhook"

authority/provisioner/azure.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ import (
1414

1515
"github.com/pkg/errors"
1616

17+
"github.com/smallstep/linkedca"
1718
"go.step.sm/crypto/jose"
1819
"go.step.sm/crypto/sshutil"
1920
"go.step.sm/crypto/x509util"
20-
"go.step.sm/linkedca"
2121

2222
"github.com/smallstep/certificates/errs"
2323
"github.com/smallstep/certificates/webhook"

authority/provisioner/controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/smallstep/certificates/errs"
1212
"github.com/smallstep/certificates/internal/httptransport"
1313
"github.com/smallstep/certificates/webhook"
14-
"go.step.sm/linkedca"
14+
"github.com/smallstep/linkedca"
1515
"golang.org/x/crypto/ssh"
1616
)
1717

authority/provisioner/controller_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import (
1212
"github.com/smallstep/certificates/authority/policy"
1313
"github.com/smallstep/certificates/internal/httptransport"
1414
"github.com/smallstep/certificates/webhook"
15+
"github.com/smallstep/linkedca"
1516
"github.com/stretchr/testify/assert"
1617
"go.step.sm/crypto/pemutil"
1718
"go.step.sm/crypto/x509util"
18-
"go.step.sm/linkedca"
1919
"golang.org/x/crypto/ssh"
2020
)
2121

authority/provisioner/gcp.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ import (
1515

1616
"github.com/pkg/errors"
1717

18+
"github.com/smallstep/linkedca"
1819
"go.step.sm/crypto/jose"
1920
"go.step.sm/crypto/sshutil"
2021
"go.step.sm/crypto/x509util"
21-
"go.step.sm/linkedca"
2222

2323
"github.com/smallstep/certificates/errs"
2424
"github.com/smallstep/certificates/webhook"

authority/provisioner/jwk.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88

99
"github.com/pkg/errors"
1010

11+
"github.com/smallstep/linkedca"
1112
"go.step.sm/crypto/jose"
1213
"go.step.sm/crypto/sshutil"
1314
"go.step.sm/crypto/x509util"
14-
"go.step.sm/linkedca"
1515

1616
"github.com/smallstep/certificates/errs"
1717
)

authority/provisioner/k8sSA.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111

1212
"github.com/pkg/errors"
1313

14+
"github.com/smallstep/linkedca"
1415
"go.step.sm/crypto/jose"
1516
"go.step.sm/crypto/pemutil"
1617
"go.step.sm/crypto/sshutil"
1718
"go.step.sm/crypto/x509util"
18-
"go.step.sm/linkedca"
1919

2020
"github.com/smallstep/certificates/errs"
2121
)

0 commit comments

Comments
 (0)