Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI and CA version bump #258

Merged
merged 1 commit into from
Aug 1, 2023
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
30 changes: 15 additions & 15 deletions step-ca/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,15 @@ To uninstall, run `scoop uninstall`, then remove the configuration directory `$H
To install `step`, download and install the Debian package for your platform from our [latest release](https://github.com/smallstep/cli/releases/latest):

```shell
wget https://dl.smallstep.com/gh-release/cli/docs-ca-install/v0.23.2/step-cli_0.23.2_amd64.deb
sudo dpkg -i step-cli_0.23.2_amd64.deb
wget https://dl.smallstep.com/gh-release/cli/docs-ca-install/v0.24.2/step-cli_0.24.2_amd64.deb
sudo dpkg -i step-cli_0.24.2_amd64.deb
```

To install `step-ca`, download and install the Debian package for your platform from our [latest release](https://github.com/smallstep/certificates/releases/latest):

```shell
wget https://dl.smallstep.com/gh-release/certificates/docs-ca-install/v0.23.2/step-ca_0.23.2_amd64.deb
sudo dpkg -i step-ca_0.23.2_amd64.deb
wget https://dl.smallstep.com/gh-release/certificates/docs-ca-install/v0.24.2/step-ca_0.24.2_amd64.deb
sudo dpkg -i step-ca_0.24.2_amd64.deb
```

To configure `step-ca` as a daemon, see our [systemd configuration guide][systemd-setup].
Expand Down Expand Up @@ -124,15 +124,15 @@ Big shout out to the maintainers of these packages! We appreciate you.
To install `step`, download and install the RPM package for your platform from our [latest release](https://github.com/smallstep/cli/releases/latest):

```shell
wget https://dl.smallstep.com/gh-release/cli/docs-ca-install/v0.23.2/step-cli_0.23.2_amd64.rpm
sudo dnf install step-cli_0.23.2_amd64.rpm
wget https://dl.smallstep.com/gh-release/cli/docs-ca-install/v0.24.2/step-cli_0.24.2_amd64.rpm
sudo dnf install step-cli_0.24.2_amd64.rpm
```

To install `step-ca`, download and install the RPM package for your platform from our [latest release](https://github.com/smallstep/certificates/releases/latest):

```shell
wget https://dl.smallstep.com/gh-release/certificates/docs-ca-install/v0.23.2/step-ca_0.23.2_amd64.rpm
sudo dnf install step-ca_0.23.2_amd64.rpm
wget https://dl.smallstep.com/gh-release/certificates/docs-ca-install/v0.24.2/step-ca_0.24.2_amd64.rpm
sudo dnf install step-ca_0.24.2_amd64.rpm
```

To configure `step-ca` as a daemon, see our [systemd configuration guide][systemd-setup].
Expand Down Expand Up @@ -192,21 +192,21 @@ To download and install the `step` and `step-ca` binaries on an amd64 machine:
Download and install the Linux tarball from our [latest release](https://github.com/smallstep/cli/releases/latest):

```shell
curl -L https://dl.smallstep.com/gh-release/cli/docs-ca-install/v0.23.2/step_linux_0.23.2_amd64.tar.gz \
curl -L https://dl.smallstep.com/gh-release/cli/docs-ca-install/v0.24.2/step_linux_0.24.2_amd64.tar.gz \
-o step.tar.gz
tar -xf step.tar.gz
sudo cp step_0.23.2/bin/step /usr/bin
sudo cp step_0.24.2/bin/step /usr/bin
```

2. Install `step-ca`.

Download and install the Linux tarball from our [latest release](https://github.com/smallstep/certificates/releases/latest):

```shell
curl -L https://dl.smallstep.com/gh-release/certificates/docs-ca-install/v0.23.2/step-ca_linux_0.23.2_amd64.tar.gz \
curl -L https://dl.smallstep.com/gh-release/certificates/docs-ca-install/v0.24.2/step-ca_linux_0.24.2_amd64.tar.gz \
-o step-ca.tar.gz
tar -xf step-ca.tar.gz
sudo cp step-ca_0.23.2/step-ca /usr/bin
sudo cp step-ca_0.24.2/step-ca /usr/bin
```

To configure `step-ca` as a daemon, see our [systemd configuration guide][systemd-setup].
Expand All @@ -225,11 +225,11 @@ To verify the signature of the `step-ca` binary:

```
cosign verify-blob \
--certificate step-ca_linux_0.23.2_amd64.tar.gz.pem \
--signature step-ca_linux_0.23.2_amd64.tar.gz.sig \
--certificate step-ca_linux_0.24.2_amd64.tar.gz.pem \
--signature step-ca_linux_0.24.2_amd64.tar.gz.sig \
--certificate-identity-regexp "https://github\.com/smallstep/certificates/.*" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
step-ca_linux_0.23.2_amd64.tar.gz
step-ca_linux_0.24.2_amd64.tar.gz
```

### Kubernetes
Expand Down
20 changes: 10 additions & 10 deletions step-cli/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ To uninstall, run `brew uninstall step` and remove the `$HOME/.step` configurati
Download and install the Debian package from our [latest release](https://github.com/smallstep/cli/releases/latest):

```shell
wget https://dl.smallstep.com/gh-release/cli/docs-cli-install/v0.23.4/step-cli_0.23.4_amd64.deb
sudo dpkg -i step-cli_0.23.4_amd64.deb
wget https://dl.smallstep.com/gh-release/cli/docs-cli-install/v0.24.4/step-cli_0.24.4_amd64.deb
sudo dpkg -i step-cli_0.24.4_amd64.deb
```

To uninstall, run `sudo dpkg -r step-cli` and remove the `$HOME/.step` configuration directory.
Expand Down Expand Up @@ -80,8 +80,8 @@ Big shout out to the maintainers of these packages! We appreciate you.
Download and install the RPM package from our [latest release](https://github.com/smallstep/cli/releases/latest):

```shell
wget https://dl.smallstep.com/gh-release/cli/docs-ca-install/v0.23.4/step-cli_0.23.4_amd64.rpm
sudo rpm -i step-cli_0.23.4_amd64.rpm
wget https://dl.smallstep.com/gh-release/cli/docs-ca-install/v0.24.4/step-cli_0.24.4_amd64.rpm
sudo rpm -i step-cli_0.24.4_amd64.rpm
```

To uninstall, run `sudo dnf remove step-cli` and remove the `$HOME/.step` configuration directory.
Expand Down Expand Up @@ -136,11 +136,11 @@ To verify the signature of the `step-ca` binary:

```
cosign verify-blob \
--certificate step_linux_0.23.4_amd64.tar.gz.pem \
--signature step_linux_0.23.4_amd64.tar.gz.sig \
--certificate step_linux_0.24.4_amd64.tar.gz.pem \
--signature step_linux_0.24.4_amd64.tar.gz.sig \
--certificate-identity-regexp "https://github\.com/smallstep/cli/.*" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
step_linux_0.23.4_amd64.tar.gz
step_linux_0.24.4_amd64.tar.gz
```

### Windows
Expand Down Expand Up @@ -176,9 +176,9 @@ Download the Windows binary from our [latest releases](https://github.com/smalls
Open PowerShell and run the following:

```shell
curl.exe -LO https://dl.smallstep.com/gh-release/cli/docs-cli-install/v0.23.4/step_windows_0.23.4_amd64.zip
Expand-Archive -LiteralPath .\step_windows_0.23.4_amd64.zip -DestinationPath .
step_0.23.4\bin\step.exe version
curl.exe -LO https://dl.smallstep.com/gh-release/cli/docs-cli-install/v0.24.4/step_windows_0.24.4_amd64.zip
Expand-Archive -LiteralPath .\step_windows_0.24.4_amd64.zip -DestinationPath .
step_0.24.4\bin\step.exe version
```

Finally, move the `step.exe` binary wherever you'd like it to into a location in your user's `PATH`.
Expand Down