# Smallstep Agent

用于 macOS 设备身份与证书管理的守护进程，通过软件包安装器分发。

> 这是 OpenNavo 上 Smallstep Agent 页面的 Markdown 版本，内容与网页相同： <https://opennavo.com/zh/apps/smallstepagent>

- **最新版本**: `0.70.0`
- **开发者**: Smallstep
- **主页**: <https://smallstep.com/>
- **分类**: [安全与隐私](https://opennavo.com/zh/categories/security)
- **安装**: `brew install --cask smallstepagent`
- **近 30 天安装**: 3
- **Homebrew**: 可以安装，由 Homebrew 更新
- **下载地址**: <https://packages.smallstep.com/stable/step-agent/darwin/0.70.0/step-agent_0.70.0.pkg>
- **SHA-256**: `77eb71528056b6718be750a6c5f0453fc4ba3f8cc57b07dfeee622fcd58c14c3`
- **安装包**: step-agent_0.70.0.pkg

SHA-256 只用来核对下载的文件是否完整，不代表安全认证。

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "launchctl": [
            "com.smallstep.Agent.UserAgent",
            "com.smallstep.launchd.Agent"
          ],
          "pkgutil": "com.smallstep.Agent"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "pkg": [
        "step-agent_0.70.0.pkg"
      ]
    },
    "phase": "install",
    "sources": [
      "step-agent_0.70.0.pkg"
    ],
    "type": "pkg"
  },
  {
    "declaration": {
      "zap": [
        {
          "delete": "/Library/LaunchAgents/com.smallstep.Agent.UserAgent.plist",
          "trash": [
            "~/Library/Application Scripts/com.smallstep.Agent.Token",
            "~/Library/Containers/com.smallstep.Agent.Token"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

Smallstep Agent 是用于 macOS 设备身份与证书管理的守护进程。Homebrew cask 安装的是 `step-agent` 软件包；它是代理程序，而非图形应用。

- 软件包说明其用途为设备身份与证书管理。
- cask 安装 macOS 软件包，并注册代理程序的启动服务。
- 安装器来自 Smallstep 的稳定软件包渠道。
- cask 要求 macOS 13（Ventura）或更新版本。

使用 Homebrew Cask 安装：

```sh
brew install --cask smallstepagent
```

本文仅介绍 `smallstepagent` 这一 cask 变体。Smallstep 官网介绍了更广泛的平台，但不应将平台能力视为此特定代理软件包的功能。cask 元数据未提供面向用户的设置步骤或额外配置说明。

来源：[Smallstep](https://smallstep.com/) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/s/smallstepagent.rb)

## 系统要求

- macOS 13 起 · 应用版本: 0.70.0 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/smallstepagent.rb> · 核查于 2026-11-30
  - <https://packages.smallstep.com/stable/step-agent/darwin/0.70.0/step-agent_0.70.0.pkg>
  - SHA-256: `77eb71528056b6718be750a6c5f0453fc4ba3f8cc57b07dfeee622fcd58c14c3`
- macOS 13 起 · 应用版本: 0.70.0 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/smallstepagent.rb> · 核查于 2026-11-30
  - <https://packages.smallstep.com/stable/step-agent/darwin/0.70.0/step-agent_0.70.0.pkg>
  - SHA-256: `77eb71528056b6718be750a6c5f0453fc4ba3f8cc57b07dfeee622fcd58c14c3`

## 卸载

- `brew uninstall --cask smallstepagent`

普通卸载会删除应用本身，设置和缓存会保留。

### 卸载时还会处理

- 后台服务（launchctl）: `com.smallstep.Agent.UserAgent` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/smallstepagent.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 后台服务（launchctl）: `com.smallstep.launchd.Agent` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/smallstepagent.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 安装包收据（pkgutil）: `com.smallstep.Agent` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/smallstepagent.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

### 深度清理（可选）

- `brew uninstall --zap --cask smallstepagent`

`--zap` 还会删除 Homebrew 定义里列出的设置、缓存等文件，其中可能有其他应用共用的数据，删除后无法恢复；它也不保证没有任何残留。请先备份需要保留的数据；如要保留设置和缓存，请不要加 `--zap`。

普通卸载会删除应用本身，设置和缓存会保留。

- 文件和文件夹: `~/Library/Application Scripts/com.smallstep.Agent.Token` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/smallstepagent.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Containers/com.smallstep.Agent.Token` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/smallstepagent.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `/Library/LaunchAgents/com.smallstep.Agent.UserAgent.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/smallstepagent.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

## 最新版本说明

### 0.70.0 (2026-10-20)

Windows/Linux 复用硬件绑定的端点密钥，改进 Windows 凭据管理。

精选平台更新：Windows 和 Linux 的端点密钥现在跨证书申请复用；macOS 的证明密钥原本已保持稳定，本版不变。现有设备自动迁移，Linux 无需操作或更换密钥。

Windows 可在无人登录时签发和续期端点凭据，多会话下每个设备端点仅签发一次；修复跨会话删除密钥及连接泄漏问题。短时会话助手替代每用户计划任务代理；需要用户会话的服务重载会给出警告并重试。Windows 硬件证明 SSH 端点会一次性更换密钥：直接信任旧公钥的配置需更新，信任 SSH CA 的配置无需修改。硬件证明 X.509 端点升级后会申请一次证书并重载一次服务，大规模同步升级可能产生集中申请。

[官方更新说明](https://smallstep.com/docs/platform/release-notes#step-agent-0.70.0)

## 资料与来源

- <https://opennavo.com/zh/apps/smallstepagent>
- <https://opennavo.com/zh/apps/smallstepagent/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/smallstepagent.rb> · 核查于 2026-11-30
- <https://formulae.brew.sh/cask/smallstepagent>
