pkg.soopen package index

brew / 排名 9355

使用 Homebrew 安装 rsc_2fa

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install rsc_2fa

local Homebrew formula metadata

概览

软件包摘要

Two-factor authentication on the command-line

命令和别名

  • 2fa

历史

项目历史与用法

2fa is a command-line authentication-code generator for named TOTP and HOTP secrets.

项目历史

Russ Cox created 2fa as a compact command-line two-factor authentication agent written in Go. The project supports both time-based and counter-based one-time passwords and keeps its interface centered on adding, listing, and querying named keys.

采用历史

The repository's focused scope and small codebase made 2fa a recognizable Unix-style authenticator among command-line users. Its official GitHub repository has accumulated substantial community interest, while the input records Homebrew distribution.

使用方式

Use `2fa -add name` to enroll a secret, `2fa -list` to list stored names, and `2fa name` to print a current code. With no arguments it prints codes for all time-based keys; `-clip` also copies a code to the clipboard.

为什么软件包爱好者会关心

2fa exemplifies the small, composable command-line security tool: enrollment and code generation fit into scripts and terminal workflows. Package users should note its deliberate simplicity also means secrets are stored unencrypted in a plain text file.

时间线

  • 2014: The earliest public repository history dates to the project's initial Go implementation.
  • 2018: The repository's compact modern form added module metadata and vendored clipboard support.

Related projects

  • The utility implements the TOTP and HOTP styles of one-time passwords and can optionally integrate with the system clipboard.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 12 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Credential-bearing paths to review before unattended agent runs.

Unix
~/.2fa

可执行文件

已安装的可执行文件

命令类型暴露范围备注
2facli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-09-19
管理器版本1.2.0
管理器更新时间2026-09-12
本地数据OK
上游当前
检测到的最新版本v1.2.0

https://github.com/rsc/2fa

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:rsc_2fa
版本1.2.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/rsc_2fa
主页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-09-12T11:12:59Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namersc_2fa
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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