macOS
brew install sf-pwgenlocal Homebrew formula metadata
sudo port install sf-pwgenMacPorts ports tree · security/sf-pwgen/Portfile · 来源: api.github.com
安装
brew install sf-pwgenlocal Homebrew formula metadata
sudo port install sf-pwgenMacPorts ports tree · security/sf-pwgen/Portfile · 来源: api.github.com
概览
Generate passwords using SecurityFoundation framework
历史
sf-pwgen is a macOS command-line password generator that calls the SecurityFoundation framework used by Apple's password-assistant functionality.
Anders Bergh created sf-pwgen as a command-line frontend to macOS SecurityFoundation password generation. The repository also includes a reverse-engineered `SFPasswordAssistant.h` header for the password-assistant API used by applications such as Keychain Access.
The documented command identifies version 1.5 and supports memorable, random, letters-only, alphanumeric, and numeric generation algorithms. The README says the command runs on OS X Mountain Lion and later, while the included header targets Snow Leopard and later.
The supplied source_facts.package-manager field records distribution through Homebrew and MacPorts, keeping the macOS-specific utility accessible through both major Mac package collections.
Invoke `sf-pwgen` with an algorithm, count, and desired length; by default it generates five 12-character memorable passwords. The documented language option is explicitly noted as broken.
sf-pwgen exposes a private-feeling piece of classic macOS functionality—the SecurityFoundation password assistant—as a composable terminal command. It is also a compact historical artifact of package-manager culture around otherwise GUI-oriented platform frameworks and undocumented APIs.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
sf-pwgen | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/anders/pwgen
安装元数据
| 软件包键 | brew:sf-pwgen |
|---|---|
| 版本 | 1.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/sf-pwgen |
| 主页 | https://github.com/anders/pwgen/ |
| 仓库 | https://github.com/anders/pwgen |
| 上游文档 | https://github.com/anders/pwgen/ |
| 许可证 | Zlib |
| 源码归档 | https://github.com/anders/pwgen/archive/refs/tags/1.5.tar.gz |
| 最后更新 | 2026-09-13T08:22:01Z |
| Pulse | updated |
| Bottle | 可用 (于 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sf-pwgen |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
sf-pwgen
sudo port install sf-pwgen来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.