1
0
mirror of https://github.com/smallstep/cli.git synced 2026-10-24 11:19:19 +03:00
Commit Graph

3753 Commits

Author SHA1 Message Date
Max
6bc838deba Bump to certificates@v0.28.4 (#1454) v0.28.7 2025-07-13 17:39:12 -07:00
Max
939805a52f Fix broken test (#1452) 2025-07-10 12:15:23 -07:00
Max
3e9adc26b1 Changelog updates (#1448)
* Changelog updates

* Remove revive nolint in bcrypt_pbkdf package declaration
2025-07-10 11:54:26 -07:00
Max
60a4eef3de Fix linter warnings (#1450)
* Remove unnecessary utils files in favor of cli-utils package
* Remove nolint:revive directive from bcrypt-pbkdf file
2025-07-10 11:15:28 -07:00
Carl Tashian
cb9a523656 Merge pull request #1451 from smallstep/carl/readme
Small tweaks to README
2025-07-10 18:17:49 +01:00
Carl Tashian
7725db9968 Small tweaks to README 2025-07-10 17:36:52 +01:00
Mariano Cano
632b477733 Merge pull request #1447 from smallstep/mariano/plugin
Add a plugins section to the README
2025-07-09 11:05:27 -07:00
Mariano Cano
12ad1891f0 Fix step-kms-plugin name 2025-07-02 13:46:38 -07:00
Mariano Cano
de23b9419a Apply suggestions from code review
Co-authored-by: Carl Tashian <carl@smallstep.com>
Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
2025-07-02 10:26:39 -07:00
Mariano Cano
e18fcdc522 Add a plugins section to the README
This commit adds a new Plugins section to the README with links to known
plugins.
2025-07-01 17:55:42 -07:00
Herman Slatman
b578783ef4 Merge pull request #1446 from smallstep/herman/fix-testscript-runmain-deprecation 2025-06-26 13:58:17 +02:00
Herman Slatman
6a18ddaf61 Fix deprecation of testscript.RunMain 2025-06-25 18:57:29 +02:00
step-ci
fdc34f4433 Merge pull request #1445 from smallstep/dependabot/go_modules/go.step.sm/crypto-0.67.0
Bump go.step.sm/crypto from 0.66.0 to 0.67.0
2025-06-25 04:18:01 -05:00
dependabot[bot]
d9ae211cd9 Bump go.step.sm/crypto from 0.66.0 to 0.67.0
Bumps [go.step.sm/crypto](https://github.com/smallstep/crypto) from 0.66.0 to 0.67.0.
- [Release notes](https://github.com/smallstep/crypto/releases)
- [Commits](https://github.com/smallstep/crypto/compare/v0.66.0...v0.67.0)

---
updated-dependencies:
- dependency-name: go.step.sm/crypto
  dependency-version: 0.67.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 18:32:10 +00:00
dependabot[bot]
f7dac164c0 Bump github.com/rogpeppe/go-internal from 1.13.1 to 1.14.1
Bumps [github.com/rogpeppe/go-internal](https://github.com/rogpeppe/go-internal) from 1.13.1 to 1.14.1.
- [Release notes](https://github.com/rogpeppe/go-internal/releases)
- [Commits](https://github.com/rogpeppe/go-internal/compare/v1.13.1...v1.14.1)

---
updated-dependencies:
- dependency-name: github.com/rogpeppe/go-internal
  dependency-version: 1.14.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 18:15:12 +00:00
step-ci
ec725b744b Merge pull request #1442 from smallstep/dependabot/go_modules/github.com/go-chi/chi/v5-5.2.2
Bump github.com/go-chi/chi/v5 from 5.2.1 to 5.2.2
2025-06-23 07:22:48 -05:00
dependabot[bot]
b99c3df7ec Bump github.com/go-chi/chi/v5 from 5.2.1 to 5.2.2
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.2.1...v5.2.2)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-version: 5.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 17:00:19 +00:00
Herman Slatman
c791bbfc19 Merge pull request #1426 from smallstep/herman/testscript
Refactor CLI to make it testable using `testscript`
2025-06-18 00:12:16 +02:00
Herman Slatman
279e638d2b Allow changing the app name at compile time through AppName 2025-06-17 16:58:08 +02:00
Herman Slatman
1932842783 Add check_certificate and check_jwk_without_password 2025-06-17 16:23:24 +02:00
step-ci
9cce28a142 Merge pull request #1440 from smallstep/dependabot/go_modules/github.com/urfave/cli-1.22.17
Bump github.com/urfave/cli from 1.22.16 to 1.22.17
2025-06-16 13:40:28 -05:00
dependabot[bot]
c0306050d3 Bump github.com/urfave/cli from 1.22.16 to 1.22.17
Bumps [github.com/urfave/cli](https://github.com/urfave/cli) from 1.22.16 to 1.22.17.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v1.22.16...v1.22.17)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli
  dependency-version: 1.22.17
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-16 18:23:59 +00:00
step-ci
5e2072874f Merge pull request #1439 from smallstep/dependabot/github_actions/softprops/action-gh-release-2.3.2
Bump softprops/action-gh-release from 2.2.2 to 2.3.2
2025-06-16 13:16:29 -05:00
dependabot[bot]
7fb48a694c Bump softprops/action-gh-release from 2.2.2 to 2.3.2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.2.2 to 2.3.2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](da05d55257...72f2c25fcb)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.3.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-16 17:50:17 +00:00
Herman Slatman
2944159d9c Refactor step crypto jwk create commands into using testscript 2025-06-13 15:33:36 +02:00
Herman Slatman
1a494cea4f Refactor step crypto jwt sign and step crypto jwt verify tests 2025-06-13 01:00:22 +02:00
Herman Slatman
298ff27d8c Refactor step crypto otp tests into using testscript 2025-06-12 15:31:40 +02:00
Herman Slatman
f641332c41 Use --password-file to provide password to step crypto keypair
In CI the TTY is not available, and will result in this error:

`error reading password: error allocating terminal: open /dev/tty: no such device or address`

We prevent this by using the `--password-file` flag.
2025-06-12 15:24:14 +02:00
Herman Slatman
1fc663b97a Refactor step crypto keypair tests to use testscript 2025-06-12 15:24:14 +02:00
Herman Slatman
825b1617e3 Replace several old integration style tests with testscript tests 2025-06-12 15:24:14 +02:00
Herman Slatman
f338d80d64 Refactor CLI to make it testable using testscript 2025-06-12 15:24:13 +02:00
step-ci
a4a846a327 Merge pull request #1436 from smallstep/dependabot/go_modules/golang.org/x/crypto-0.39.0
Bump golang.org/x/crypto from 0.38.0 to 0.39.0
2025-06-09 13:49:20 -05:00
Herman Slatman
f8c1eaf36f Ignore insecure ssh.KeyAlgoDSA usages using nolint 2025-06-09 20:43:08 +02:00
dependabot[bot]
edca39fb96 Bump golang.org/x/crypto from 0.38.0 to 0.39.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.38.0 to 0.39.0.
- [Commits](https://github.com/golang/crypto/compare/v0.38.0...v0.39.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-09 16:39:36 +00:00
Herman Slatman
f90649eee8 Merge pull request #1434 from smallstep/herman/fix-windows-ssh-config-path
Ensure `HOMEDRIVE` is used when locating SSH config file location
v0.28.7-rc3
2025-06-05 01:25:46 +02:00
Herman Slatman
d414692ef1 Ensure HOMEDRIVE is used when locating SSH config file location 2025-06-05 01:07:53 +02:00
step-ci
7d7a8edc4a Merge pull request #1425 from smallstep/dependabot/go_modules/github.com/pquerna/otp-1.5.0
Bump github.com/pquerna/otp from 1.4.0 to 1.5.0
2025-05-29 18:30:18 -05:00
dependabot[bot]
271f010c07 Bump github.com/pquerna/otp from 1.4.0 to 1.5.0
Bumps [github.com/pquerna/otp](https://github.com/pquerna/otp) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/pquerna/otp/releases)
- [Commits](https://github.com/pquerna/otp/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/pquerna/otp
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-29 23:17:26 +00:00
Mariano Cano
2a11114dfd Merge pull request #1431 from smallstep/mariano/csr-templates
Update go.step.sm/crypto with template improvements
2025-05-29 15:08:48 -07:00
Mariano Cano
931ba5f727 Update go.step.sm/crypto with template improvements
This commit upgrades the package go.step.sm/crypto with changes to
support key usage, extended key usage, and basic constraints in
certificate requests.

Fixes smallstep/cli#1415
2025-05-29 14:58:32 -07:00
Herman Slatman
cb02664546 Merge pull request #1429 from smallstep/herman/fix-some-linter-issues
Fix linter issues by updating linters and ignoring some issues
v0.28.7-rc2
2025-05-29 19:24:48 +02:00
Herman Slatman
cdb6e0157a Fix linter issues by updating linters and ignoring some issues 2025-05-29 19:20:12 +02:00
Herman Slatman
dbff97ac18 Merge pull request #1428 from smallstep/herman/ssh-agent-config-file
Enable alternate SSH agents for `step ssh` on Windows
v0.28.7-rc1
2025-05-29 19:15:19 +02:00
Herman Slatman
2ae10f6502 Move Windows SSH agent pipe functionality to shared code 2025-05-29 19:12:14 +02:00
Herman Slatman
fcdf9ba381 Refactor Windows SSH agent configuration from config file 2025-05-29 18:58:54 +02:00
Brynnen Owen
505a5d4d88 Added parsing of ~/.ssh/config file to look for an alternate ssh-agent
pipe. If present, use the pipe specified instead of the default.
Allows interoperability with other ssh agents, such as pageant.
2025-05-29 17:24:15 +02:00
Herman Slatman
7e33b4e2db Merge pull request #1388 from romanZupancic/windows-sshagent-env
Add SSH_AUTH_SOCK support to Windows environments.
2025-05-29 16:57:44 +02:00
step-ci
e941cbd992 Merge pull request #1423 from smallstep/dependabot/github_actions/actions/setup-go-5.5.0
Bump actions/setup-go from 5.4.0 to 5.5.0
2025-05-12 10:54:30 -07:00
dependabot[bot]
34bdc71582 Bump actions/setup-go from 5.4.0 to 5.5.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0aaccfd150...d35c59abb0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 5.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 16:32:17 +00:00
step-ci
0b985ae5c6 Merge pull request #1421 from smallstep/dependabot/go_modules/golang.org/x/crypto-0.38.0
Bump golang.org/x/crypto from 0.37.0 to 0.38.0
2025-05-12 09:14:36 -07:00