# 使用 Homebrew 安装 rsc_2fa

查看 rsc_2fa 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:rsc_2fa
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install rsc_2fa
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:rsc_2fa
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/rsc_2fa>
- **版本:** 1.2.0
- **来源摘要:** Two-factor authentication on the command-line
- **主页:** <https://pkg.go.dev/rsc.io/2fa>
- **仓库:** <https://github.com/rsc/2fa>
- **上游文档:** <https://pkg.go.dev/rsc.io/2fa>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/rsc/2fa/archive/refs/tags/v1.2.0.tar.gz>
- **最后更新:** 2026-07-27T19:03:03+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- 2fa (cli)
- 2fa (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.2.0
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/rsc/2fa
- 检测到的最新版本: v1.2.0 (当前)

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Credential files

- Unix: ~/.2fa
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** rsc_2fa
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [oath-toolkit](https://pkg.so/zh-hans/brew/oath-toolkit/) - Shares pkgdb curated category or tags: authentication, cli, security, totp.
- [totp-cli](https://pkg.so/zh-hans/brew/totp-cli/) - Shares pkgdb curated category or tags: authentication, cli, security, totp.
- [cotp](https://pkg.so/zh-hans/brew/cotp/) - Shares pkgdb curated category or tags: authentication, cli, security, totp, two-factor-authentication.
- [krb5](https://pkg.so/zh-hans/brew/krb5/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [cyrus-sasl](https://pkg.so/zh-hans/brew/cyrus-sasl/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [linux-pam](https://pkg.so/zh-hans/brew/linux-pam/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [libjwt](https://pkg.so/zh-hans/brew/libjwt/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [oauth2_proxy](https://pkg.so/zh-hans/brew/oauth2-proxy/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [google-authenticator-libpam](https://pkg.so/zh-hans/brew/google-authenticator-libpam/) - Security-sensitive metadata or terminology overlaps. Shared terms: authentication, cli, factor, security, totp.
- [duo_unix](https://pkg.so/zh-hans/brew/duo-unix/) - Security-sensitive metadata or terminology overlaps. Shared terms: authentication, cli, factor, security, two.

## Combined YAML source

View the package source record on GitHub. [combined/rsc_2fa.yml](https://github.com/mxcl/pkgdb/blob/main/combined/rsc_2fa.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
