macOS
brew install gnupglocal Homebrew formula metadata
安装
brew install gnupglocal Homebrew formula metadata
sudo apk add gnupgAlpine Linux edge package indexes · gnupg · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#gnupgnixpkgs package indexes · gnupg · 来源: raw.githubusercontent.com
sudo pacman -S gnupgArch Linux sync databases · gnupg · 来源: geo.mirror.pkgbuild.com
sudo dnf install gnupg2Fedora Rawhide package metadata · gnupg2 · 来源: dl.fedoraproject.org
sudo zypper install gpg2openSUSE Tumbleweed package metadata · gpg2 · 来源: download.opensuse.org
choco install gnupgChocolatey community package catalog · gnupg · 来源: community.chocolatey.org
scoop install main/gnupgScoop official bucket manifest trees · bucket/gnupg.json · 来源: api.github.com
winget install --id GnuPG.GnuPG -eWindows Package Manager source index · GnuPG.GnuPG · 来源: cdn.winget.microsoft.com
概览
GNU Privacy Guard (OpenPGP)
历史
GnuPG, also known as GPG, is the GNU Privacy Guard: a free implementation of the OpenPGP standard used for encryption, signatures and key management.
GnuPG was introduced in 1997 as Free Software and became the GNU project's OpenPGP implementation. The project describes it as a complete and free implementation of OpenPGP, with command-line integration, key-management facilities and access modules for public-key directories.
The release-line history shows the 1.0 branch born in 1999, the 1.4 branch in 2004, the 2.0 branch in 2006 and later 2.x branches adding the more modular architecture around gpg-agent, dirmngr, gpgsm, smart-card support and supporting libraries.
GnuPG became a standard security tool in Unix-like systems and software-distribution workflows. The project download page notes that common Linux distributions such as Debian, Fedora, Red Hat and Ubuntu include GnuPG, while Gpg4win provides an integrated Windows distribution with a context menu tool, crypto manager and Outlook plugin.
Its ecosystem includes libraries and frontends as well as helper packages such as pinentry, GPGME, GPA and Scute. That surrounding stack made GnuPG a platform for applications needing OpenPGP operations rather than only an interactive command.
Practitioners use GnuPG to encrypt and decrypt files or messages, create and verify signatures, manage public and private keys, fetch or publish keys through directory mechanisms, operate smart cards and verify downloaded source releases. Its command-line interface also makes it common in scripts, build systems and release automation.
For package users, GnuPG is foundational plumbing: it links archive signatures, maintainer keys, trust databases, agents, pinentry programs, smart-card daemons and language bindings. Installing it often means installing the small operational security stack around OpenPGP, not just the gpg binary.
安全态势
没有找到 gnupg 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.gnupg/gpg.conf~/.gnupg/gpg-agent.conf~/.gnupg/dirmngr.conf~/.gnupg/common.confCredential-bearing paths to review before unattended agent runs.
~/.gnupg/private-keys-v1.d/~/.gnupg/secring.gpg~/.gnupg/trustdb.gpg可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
addgnupghome | cli | 全局可执行文件 | |
applygnupgdefaults | cli | 全局可执行文件 | |
dirmngr | cli | 全局可执行文件 | |
dirmngr-client | cli | 全局可执行文件 | |
gpg | cli | 全局可执行文件 | |
gpg-agent | cli | 全局可执行文件 | |
gpg-authcode-sign.sh | cli | 全局可执行文件 | |
gpg-card | cli | 全局可执行文件 | |
gpg-connect-agent | cli | 全局可执行文件 | |
gpg-mail-tube | cli | 全局可执行文件 | |
gpg-wks-client | cli | 全局可执行文件 | |
gpg-wks-server | cli | 全局可执行文件 | |
gpgconf | cli | 全局可执行文件 | |
gpgparsemail | cli | 全局可执行文件 | |
gpgscm | cli | 全局可执行文件 | |
gpgsm | cli | 全局可执行文件 | |
gpgsplit | cli | 全局可执行文件 | |
gpgtar | cli | 全局可执行文件 | |
gpgv | cli | 全局可执行文件 | |
kbxutil | cli | 全局可执行文件 | |
watchgnupg | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:gnupg |
|---|---|
| 版本 | 2.5.21 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gnupg |
| 主页 | https://gnupg.org/ |
| 仓库 | https://dev.gnupg.org/source/gnupg.git |
| 上游文档 | https://gnupg.org/documentation/index.html |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.5.21.tar.bz2 |
| 最后更新 | 2026-07-02T18:06:04Z |
| Pulse | updated |
| 依赖 | gettext, gnutls, libassuan, libgcrypt, libgpg-error, libksba, libusb, npth, pinentry, readline |
| 构建依赖 | pkgconf |
| macOS 提供的库 | bzip2, openldap, sqlite |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 已定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gnupg |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gnupg 2.4.7-21+deb13u1
GNU privacy guard - a free PGP replacement
sudo apt install gnupggnupg
nix profile install nixpkgs#gnupggnupg 2.4.4-2ubuntu17
GNU privacy guard - a free PGP replacement
sudo apt install gnupggnupg 2.4.9-r1
GNU Privacy Guard 2 - meta package for full GnuPG suite
sudo apk add gnupggnupg-dirmngr 2.4.9-r1
GNU Privacy Guard 2 - network certificate management service
sudo apk add gnupg-dirmngrgnupg-doc 2.4.9-r1
GNU Privacy Guard 2 - meta package for full GnuPG suite (documentation)
sudo apk add gnupg-docgnupg-gpgconf 2.4.9-r1
GNU Privacy Guard 2 - core configuration utilities
sudo apk add gnupg-gpgconfgnupg-keyboxd 2.4.9-r1
GNU Privacy Guard 2 - keyboxd manager
sudo apk add gnupg-keyboxdgnupg-lang 2.4.9-r1
Languages for package gnupg
sudo apk add gnupg-langgnupg-scdaemon 2.4.9-r1
GNU Privacy Guard 2 - smart card support daemon
sudo apk add gnupg-scdaemongnupg-scdaemon-udev 2.4.9-r1
GNU Privacy Guard 2 - meta package for full GnuPG suite (udev rules)
sudo apk add gnupg-scdaemon-udevgnupg-utils 2.4.9-r1
GNU Privacy Guard 2 - utility programs
sudo apk add gnupg-utilsgnupg-wks-client 2.4.9-r1
GNU Privacy Guard 2 - Web Key Service client
sudo apk add gnupg-wks-clientgpg 2.4.9-r1
GNU Privacy Guard 2 - public key operations only
sudo apk add gpggpg-agent 2.4.9-r1
GNU Privacy Guard 2 - cryptographic agent
sudo apk add gpg-agentgpg-wks-server 2.4.9-r1
GNU Privacy Guard 2 - Web Key Service server
sudo apk add gpg-wks-server来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.