Automic VaultAutomic Vault

brew

使用 Homebrew 安装 github-keygen

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install github-keygen

local Homebrew formula metadata

概览

软件包摘要

Bootstrap GitHub SSH configuration

命令和别名

  • github-keygen

历史

项目历史与用法

github-keygen is a small Perl utility by Olivier Mengue for bootstrapping and maintaining OpenSSH configuration for GitHub. It creates a dedicated GitHub SSH key, writes a dedicated SSH config section, and installs GitHub host fingerprints in a separate known-hosts file.

项目历史

The repository history begins with an initial release in May 2011. Its author-maintained README frames the tool as a one-shot wizard rather than a long-running daemon or library: users clone it, run it for a GitHub account, inspect the generated SSH configuration, and can remove the tool afterward.

The changelog shows the project tracking practical SSH and GitHub changes over time: stronger cipher choices in the 1.020 series, OpenSSH roaming mitigation in 1.101, generated-config versioning in 1.200, GitHub key comparison in 1.300, larger and then Ed25519 default keys in later releases, and post-quantum key-exchange list updates in 1.401.

采用历史

Adoption appears niche and security-oriented. The tool serves users who want repeatable GitHub SSH setup, multiple GitHub accounts, per-machine keys, host aliases, strict host checking, and conservative handling of an existing SSH config.

使用方式

Practitioners run github-keygen with a GitHub username to generate or update SSH files under ~/.ssh. The generated setup gives GitHub its own key, known_hosts file, public-key-only authentication, strict host checking, and account-specific host aliases for Git remotes.

The README emphasizes local auditability: the script is readable Perl, writes configuration files rather than a resident service, and can check GitHub public endpoints to verify registered keys unless the offline flag is used.

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

Its package value is in codifying a careful SSH setup that many developers otherwise perform by hand. That makes it a tiny but opinionated tool for users who maintain several GitHub identities or machines and prefer generated config over checklist-driven setup.

时间线

  • 2011: Initial release appears in the repository history.
  • 2012: v1.000 begins the tagged release stream.
  • 2016: v1.101 adds OpenSSH roaming vulnerability mitigation.
  • 2022: v1.306 changes default key size and removes older GitHub host-key algorithms.
  • 2025: v1.400 switches new keys to Ed25519 by default.

Related projects

  • github-keygen relates to OpenSSH, GitHub SSH authentication, Git for Windows, and GitHub's SSH key-management workflow.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:ssh

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.ssh/config

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.ssh/id_<github-account>@github

可执行文件

已安装的可执行文件

命令类型暴露范围备注
github-keygencli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本1.401
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.401

https://github.com/dolmen/github-keygen

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:github-keygen
版本1.401
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/github-keygen
主页https://github.com/dolmen/github-keygen
仓库https://github.com/dolmen/github-keygen
上游文档https://github.com/dolmen/github-keygen#readme
许可证GPL-3.0-or-later
源码归档https://github.com/dolmen/github-keygen/archive/refs/tags/v1.401.tar.gz
macOS 提供的库perl
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

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

使用的来源

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