macOS
brew install gpgmelocal Homebrew formula metadata
sudo port install gpgmeMacPorts ports tree · devel/gpgme/Portfile · 来源: api.github.com
安装
brew install gpgmelocal Homebrew formula metadata
sudo port install gpgmeMacPorts ports tree · devel/gpgme/Portfile · 来源: api.github.com
sudo apk add gpgmeAlpine Linux edge package indexes · gpgme · 来源: dl-cdn.alpinelinux.org
sudo dnf install gpgmeFedora Rawhide package metadata · gpgme · 来源: dl.fedoraproject.org
nix profile install nixpkgs#gpgmenixpkgs package indexes · pkgs/by-name/gp/gpgme/package.nix · 来源: api.github.com
sudo pacman -S gpgmeArch Linux sync databases · gpgme · 来源: geo.mirror.pkgbuild.com
sudo zypper install gpgmeopenSUSE Tumbleweed package metadata · gpgme · 来源: download.opensuse.org
sudo apt install gpgme-jsonDebian stable package indexes · gpgme-json · 来源: deb.debian.org
概览
Library access to GnuPG
历史
GPGME, short for GnuPG Made Easy, is the official C API for integrating applications with the GnuPG crypto stack. It gives programs a stable high-level interface for encryption, decryption, signing, verification, and key management instead of scripting the `gpg` command line.
GPGME was created inside the GnuPG ecosystem to make public-key crypto engines easier for applications to use. The reference manual describes it as a C library that uses GnuPG and GpgSM as backends for OpenPGP and CMS.
The NEWS file records a 1.0.0 release on 2004-09-30, described by the project as a thoroughly tested stable library branch. Shortly after that, version 1.0.2 on 2004-12-28 changed the library license to LGPL-2.1-or-later, a significant packaging and application-integration decision.
Over time GPGME grew beyond its C surface. The GnuPG wiki documents official bindings for C++, Qt, Python, and Common Lisp, and the NEWS file records later work on Python bindings, `gpgme-json`, and a 2.0.0 release in 2025 that split the C++, Qt, and Python bindings into separately released projects.
The GnuPG project recommends GPGME as the way applications should use the GnuPG crypto stack, because command-line options and textual output are not the same thing as an official API. That recommendation is why GPGME shows up as a dependency under mail user agents, desktop key managers, package-signing tools, and language bindings.
Distribution adoption follows from that API role. Homebrew packages the library together with command-line helper tools such as `gpgme-config`, `gpgme-json`, `gpgme-tool`, and `gnupg-key-manage`; Debian and Ubuntu expose `gpgme-json`; and other package systems carry the core `gpgme` library.
Applications create a GPGME context and use library calls for encryption, decryption, signing, signature verification, key listing, import, export, and key management. GPGME invokes GnuPG or GpgSM behind the API, so application code does not need to parse `gpg` status output directly.
The library is especially important for mail user agents and GUI tools that need OpenPGP or S/MIME support without becoming cryptographic engines themselves.
GPGME is packaging glue with security consequences. It hides command-line churn behind ABI and API promises, which lets desktop applications, TUI tools, mail clients, and language bindings depend on GnuPG while still integrating with normal shared-library packaging.
For maintainers, GPGME also explains why many packages pull in the GnuPG stack even when they are not named `gpg`: they need the supported API, the engine binaries, libgpg-error, and sometimes Assuan or language binding packages.
安全态势
没有找到 gpgme 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gnupg-key-manage | cli | 全局可执行文件 | |
gpgme-config | cli | 全局可执行文件 | |
gpgme-json | cli | 全局可执行文件 | |
gpgme-tool | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.gnupg.org/related_software/gpgme/
安装元数据
| 软件包键 | brew:gpgme |
|---|---|
| 版本 | 2.1.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gpgme |
| 主页 | https://www.gnupg.org/related_software/gpgme/ |
| 仓库 | https://dev.gnupg.org/source/gpgme.git |
| 上游文档 | https://www.gnupg.org/documentation/manuals/gpgme |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-2.1.2.tar.bz2 |
| 最后更新 | 2026-06-30T15:25:23Z |
| Pulse | updated |
| 依赖 | gnupg, libassuan, libgpg-error |
| 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 | gpgme |
| 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 软件包链接分开显示。
gpgme
nix profile install nixpkgs#gpgmegpgme 2.0.1-r1
gnupg made easy
https://www.gnupg.org/related_software/gpgme/
sudo apk add gpgmegpgme-dev 2.0.1-r1
gnupg made easy (development files)
https://www.gnupg.org/related_software/gpgme/
sudo apk add gpgme-devgpgme-doc 2.0.1-r1
gnupg made easy (documentation)
https://www.gnupg.org/related_software/gpgme/
sudo apk add gpgme-docgpgme-lisp 2.0.1-r1
Common Lisp bindings for GPGME
https://www.gnupg.org/related_software/gpgme/
sudo apk add gpgme-lispgpgme 2.0.1-4.fc45
GnuPG Made Easy - high level crypto API
https://gnupg.org/related_software/gpgme/
sudo dnf install gpgmegpgme-devel 2.0.1-4.fc45
Development headers and libraries for gpgme
https://gnupg.org/related_software/gpgme/
sudo dnf install gpgme-develgpgme 2.1.0-1
C wrapper library for GnuPG
https://www.gnupg.org/related_software/gpgme/
sudo pacman -S gpgmegpgme 2.1.0-1.1
Programmatic library interface to GnuPG
https://www.gnupg.org/related_software/gpgme/
sudo zypper install gpgmegpgme-devel 2.1.0-1.1
Development files for GPGME, a C library for accessing GnuPG
https://www.gnupg.org/related_software/gpgme/
sudo zypper install gpgme-devellibgpgme45 2.1.0-1.1
Programmatic library interface to GnuPG
https://www.gnupg.org/related_software/gpgme/
sudo zypper install libgpgme45libgpgme45-32bit 2.1.0-1.1
Programmatic library interface to GnuPG
https://www.gnupg.org/related_software/gpgme/
sudo zypper install libgpgme45-32bitgpgme
sudo port install gpgmegpgme-json 1.24.2-3
Use GnuPG with web browser extensions
https://gnupg.org/software/gpgme/
sudo apt install gpgme-jsongpgme-json 1.18.0-4.1ubuntu4
json interface to the GPGME GnuPG encryption library
https://www.gnupg.org/related_software/gpgme/
sudo apt install gpgme-json来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.