1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
|
From: Simon Josefsson <simon@josefsson.org>
Subject: [PATCH] Fix step/cli-utils
Forwarded: not-needed
Last-Update: 2025-10-16
perl -pi -e 's,"github.com/smallstep/cli-utils,"go.step.sm/cli-utils,' $(find . -type f)
diff --git a/authority/export.go b/authority/export.go
index 0380a93..9f1376b 100644
--- a/authority/export.go
+++ b/authority/export.go
@@ -10,7 +10,7 @@ import (
"github.com/pkg/errors"
"google.golang.org/protobuf/types/known/structpb"
- "github.com/smallstep/cli-utils/step"
+ "go.step.sm/cli-utils/step"
"github.com/smallstep/linkedca"
"github.com/smallstep/certificates/authority/provisioner"
diff --git a/authority/provisioner/options.go b/authority/provisioner/options.go
index f68e9da..ec77808 100644
--- a/authority/provisioner/options.go
+++ b/authority/provisioner/options.go
@@ -6,7 +6,7 @@ import (
"github.com/pkg/errors"
- "github.com/smallstep/cli-utils/step"
+ "go.step.sm/cli-utils/step"
"go.step.sm/crypto/jose"
"go.step.sm/crypto/x509util"
diff --git a/authority/provisioner/ssh_options.go b/authority/provisioner/ssh_options.go
index def2ec7..88db043 100644
--- a/authority/provisioner/ssh_options.go
+++ b/authority/provisioner/ssh_options.go
@@ -6,7 +6,7 @@ import (
"github.com/pkg/errors"
- "github.com/smallstep/cli-utils/step"
+ "go.step.sm/cli-utils/step"
"go.step.sm/crypto/sshutil"
"github.com/smallstep/certificates/authority/policy"
diff --git a/authority/provisioners.go b/authority/provisioners.go
index 43a14da..ad4b8d2 100644
--- a/authority/provisioners.go
+++ b/authority/provisioners.go
@@ -11,8 +11,8 @@ import (
"github.com/pkg/errors"
- "github.com/smallstep/cli-utils/step"
- "github.com/smallstep/cli-utils/ui"
+ "go.step.sm/cli-utils/step"
+ "go.step.sm/cli-utils/ui"
"github.com/smallstep/linkedca"
"go.step.sm/crypto/jose"
diff --git a/ca/adminClient.go b/ca/adminClient.go
index 2ec4356..5187a78 100644
--- a/ca/adminClient.go
+++ b/ca/adminClient.go
@@ -15,8 +15,8 @@ import (
"github.com/pkg/errors"
"google.golang.org/protobuf/encoding/protojson"
- "github.com/smallstep/cli-utils/token"
- "github.com/smallstep/cli-utils/token/provision"
+ "go.step.sm/cli-utils/token"
+ "go.step.sm/cli-utils/token/provision"
"github.com/smallstep/linkedca"
"go.step.sm/crypto/jose"
"go.step.sm/crypto/randutil"
diff --git a/ca/ca.go b/ca/ca.go
index 066332a..e8d622e 100644
--- a/ca/ca.go
+++ b/ca/ca.go
@@ -19,7 +19,7 @@ import (
"github.com/go-chi/chi/v5/middleware"
"github.com/pkg/errors"
- "github.com/smallstep/cli-utils/step"
+ "go.step.sm/cli-utils/step"
"github.com/smallstep/nosql"
"go.step.sm/crypto/x509util"
diff --git a/ca/client.go b/ca/client.go
index 7d0fd51..46fff2b 100644
--- a/ca/client.go
+++ b/ca/client.go
@@ -29,7 +29,7 @@ import (
"google.golang.org/protobuf/encoding/protojson"
"google.golang.org/protobuf/proto"
- "github.com/smallstep/cli-utils/step"
+ "go.step.sm/cli-utils/step"
"go.step.sm/crypto/jose"
"go.step.sm/crypto/keyutil"
"go.step.sm/crypto/pemutil"
diff --git a/ca/identity/identity.go b/ca/identity/identity.go
index 9b25b62..bf12454 100644
--- a/ca/identity/identity.go
+++ b/ca/identity/identity.go
@@ -15,7 +15,7 @@ import (
"github.com/pkg/errors"
- "github.com/smallstep/cli-utils/step"
+ "go.step.sm/cli-utils/step"
"go.step.sm/crypto/pemutil"
"github.com/smallstep/certificates/api"
diff --git a/ca/provisioner.go b/ca/provisioner.go
index 5d730b0..3c55ae5 100644
--- a/ca/provisioner.go
+++ b/ca/provisioner.go
@@ -7,8 +7,8 @@ import (
"github.com/pkg/errors"
- "github.com/smallstep/cli-utils/token"
- "github.com/smallstep/cli-utils/token/provision"
+ "go.step.sm/cli-utils/token"
+ "go.step.sm/cli-utils/token/provision"
"go.step.sm/crypto/jose"
"go.step.sm/crypto/randutil"
diff --git a/cas/stepcas/jwk_issuer.go b/cas/stepcas/jwk_issuer.go
index 2af4fce..7a794e5 100644
--- a/cas/stepcas/jwk_issuer.go
+++ b/cas/stepcas/jwk_issuer.go
@@ -9,7 +9,7 @@ import (
"github.com/pkg/errors"
- "github.com/smallstep/cli-utils/ui"
+ "go.step.sm/cli-utils/ui"
"go.step.sm/crypto/jose"
"go.step.sm/crypto/randutil"
diff --git a/cmd/step-ca/main.go b/cmd/step-ca/main.go
index 46661e6..22f2af4 100644
--- a/cmd/step-ca/main.go
+++ b/cmd/step-ca/main.go
@@ -20,11 +20,11 @@ import (
"github.com/smallstep/certificates/authority"
"github.com/smallstep/certificates/commands"
- "github.com/smallstep/cli-utils/command"
- "github.com/smallstep/cli-utils/command/version"
- "github.com/smallstep/cli-utils/step"
- "github.com/smallstep/cli-utils/ui"
- "github.com/smallstep/cli-utils/usage"
+ "go.step.sm/cli-utils/command"
+ "go.step.sm/cli-utils/command/version"
+ "go.step.sm/cli-utils/step"
+ "go.step.sm/cli-utils/ui"
+ "go.step.sm/cli-utils/usage"
"go.step.sm/crypto/pemutil"
// Enabled kms interfaces.
diff --git a/commands/app.go b/commands/app.go
index 022f43d..9507c96 100644
--- a/commands/app.go
+++ b/commands/app.go
@@ -15,8 +15,8 @@ import (
"github.com/pkg/errors"
"github.com/urfave/cli"
- "github.com/smallstep/cli-utils/errs"
- "github.com/smallstep/cli-utils/step"
+ "go.step.sm/cli-utils/errs"
+ "go.step.sm/cli-utils/step"
"github.com/smallstep/certificates/acme"
"github.com/smallstep/certificates/authority/config"
diff --git a/commands/export.go b/commands/export.go
index b09c290..2aa96f6 100644
--- a/commands/export.go
+++ b/commands/export.go
@@ -11,8 +11,8 @@ import (
"github.com/urfave/cli"
"google.golang.org/protobuf/encoding/protojson"
- "github.com/smallstep/cli-utils/command"
- "github.com/smallstep/cli-utils/errs"
+ "go.step.sm/cli-utils/command"
+ "go.step.sm/cli-utils/errs"
"github.com/smallstep/certificates/authority"
"github.com/smallstep/certificates/authority/config"
diff --git a/commands/onboard.go b/commands/onboard.go
index b3e95ac..724313d 100644
--- a/commands/onboard.go
+++ b/commands/onboard.go
@@ -11,10 +11,10 @@ import (
"github.com/pkg/errors"
"github.com/urfave/cli"
- "github.com/smallstep/cli-utils/command"
- "github.com/smallstep/cli-utils/errs"
- "github.com/smallstep/cli-utils/fileutil"
- "github.com/smallstep/cli-utils/ui"
+ "go.step.sm/cli-utils/command"
+ "go.step.sm/cli-utils/errs"
+ "go.step.sm/cli-utils/fileutil"
+ "go.step.sm/cli-utils/ui"
"go.step.sm/crypto/randutil"
"github.com/smallstep/certificates/authority/config"
diff --git a/pki/pki.go b/pki/pki.go
index 2c3a158..acbf4c1 100644
--- a/pki/pki.go
+++ b/pki/pki.go
@@ -19,10 +19,10 @@ import (
"github.com/pkg/errors"
"golang.org/x/crypto/ssh"
- "github.com/smallstep/cli-utils/errs"
- "github.com/smallstep/cli-utils/fileutil"
- "github.com/smallstep/cli-utils/step"
- "github.com/smallstep/cli-utils/ui"
+ "go.step.sm/cli-utils/errs"
+ "go.step.sm/cli-utils/fileutil"
+ "go.step.sm/cli-utils/step"
+ "go.step.sm/cli-utils/ui"
"github.com/smallstep/linkedca"
"github.com/smallstep/nosql"
"go.step.sm/crypto/jose"
diff --git a/pki/pki_test.go b/pki/pki_test.go
index f707a86..e6bafe7 100644
--- a/pki/pki_test.go
+++ b/pki/pki_test.go
@@ -8,7 +8,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/smallstep/cli-utils/step"
+ "go.step.sm/cli-utils/step"
"github.com/smallstep/nosql"
"github.com/smallstep/certificates/authority/admin"
diff --git a/pki/templates.go b/pki/templates.go
index bae6db1..2dce6fa 100644
--- a/pki/templates.go
+++ b/pki/templates.go
@@ -6,9 +6,9 @@ import (
"github.com/pkg/errors"
- "github.com/smallstep/cli-utils/errs"
- "github.com/smallstep/cli-utils/fileutil"
- "github.com/smallstep/cli-utils/step"
+ "go.step.sm/cli-utils/errs"
+ "go.step.sm/cli-utils/fileutil"
+ "go.step.sm/cli-utils/step"
"github.com/smallstep/certificates/templates"
)
diff --git a/templates/templates.go b/templates/templates.go
index a8cd1df..1b41289 100644
--- a/templates/templates.go
+++ b/templates/templates.go
@@ -11,8 +11,8 @@ import (
"github.com/Masterminds/sprig/v3"
"github.com/pkg/errors"
- "github.com/smallstep/cli-utils/fileutil"
- "github.com/smallstep/cli-utils/step"
+ "go.step.sm/cli-utils/fileutil"
+ "go.step.sm/cli-utils/step"
)
// TemplateType defines how a template will be written in disk.
|