Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt 安装 gpgme

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gpgme

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gpgme

MacPorts ports tree · devel/gpgme/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add gpgme

Alpine Linux edge package indexes · gpgme · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install gpgme

Fedora Rawhide package metadata · gpgme · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#gpgme

nixpkgs package indexes · pkgs/by-name/gp/gpgme/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S gpgme

Arch Linux sync databases · gpgme · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install gpgme

openSUSE Tumbleweed package metadata · gpgme · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install gpgme-json

Debian stable package indexes · gpgme-json · 来源: deb.debian.org

概览

软件包摘要

Library access to GnuPG

命令和别名

  • gnupg-key-manage
  • gpgme-config
  • gpgme-json
  • gpgme-tool

历史

项目历史与用法

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.

时间线

  • 2004-09-30: GPGME 1.0.0 established the stable 1.x branch.
  • 2004-12-28: GPGME 1.0.2 changed the library license to LGPL-2.1-or-later.
  • 2005-10-01: GPGME 1.1.0 added configurable backend engine filenames and home directories.
  • 2018-04-18: GPGME 1.11.0 added `gpgme-json` as a native messaging server for web browsers.
  • 2024-06-17: The GnuPG wiki API page documented GPGME as the recommended API and listed official language bindings.
  • 2025-06-03: GPGME 2.0.0 split C++, Qt, and Python bindings into separately released projects.
  • 2026-05-18: GPGME 2.1.0 added new decrypt result fields and context flags.

Related projects

  • Related GnuPG components include GnuPG, GpgSM, libgpg-error, libassuan, pinentry, GPA, Kleopatra, Gpg4win, and language binding packages built over GPGME.

安全态势

尚未找到受保护工具覆盖

没有找到 gpgme 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gnupg-key-managecli全局可执行文件
gpgme-configcli全局可执行文件
gpgme-jsoncli全局可执行文件
gpgme-toolcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本2.1.2
管理器更新时间2026-06-30
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
依赖gnupg, libassuan, libgpg-error
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

gpgme

nix profile install nixpkgs#gpgme
  • normalized package name match
  • 匹配方式:Gpgme
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gp/gpgme/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

gpgme 2.0.1-r1

gnupg made easy

https://www.gnupg.org/related_software/gpgme/

sudo apk add gpgme
  • License: LGPL-2.1-or-later AND GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gpgme
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gpgme
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gpgme from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gpgme-dev 2.0.1-r1

gnupg made easy (development files)

https://www.gnupg.org/related_software/gpgme/

sudo apk add gpgme-dev
  • License: LGPL-2.1-or-later AND GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gpgme
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gpgme
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gpgme-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gpgme-doc 2.0.1-r1

gnupg made easy (documentation)

https://www.gnupg.org/related_software/gpgme/

sudo apk add gpgme-doc
  • License: LGPL-2.1-or-later AND GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gpgme
  • normalized package name match
  • 匹配方式:Gpgme
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gpgme-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gpgme-lisp 2.0.1-r1

Common Lisp bindings for GPGME

https://www.gnupg.org/related_software/gpgme/

sudo apk add gpgme-lisp
  • License: LGPL-2.1-or-later AND GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gpgme
  • 1 依赖
  • normalized package name match
  • 匹配方式:Gpgme
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gpgme-lisp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

gpgme 2.0.1-4.fc45

GnuPG Made Easy - high level crypto API

https://gnupg.org/related_software/gpgme/

sudo dnf install gpgme
  • License: LGPL-2.1-or-later AND MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: gpgme
  • 7 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Gpgme
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gpgme from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

gpgme-devel 2.0.1-4.fc45

Development headers and libraries for gpgme

https://gnupg.org/related_software/gpgme/

sudo dnf install gpgme-devel
  • License: LGPL-2.1-or-later AND MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: gpgme
  • 10 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Gpgme
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gpgme-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

gpgme 2.1.0-1

C wrapper library for GnuPG

https://www.gnupg.org/related_software/gpgme/

sudo pacman -S gpgme
  • License: GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
  • Architecture: x86_64
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gpgme
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gpgme from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

gpgme 2.1.0-1.1

Programmatic library interface to GnuPG

https://www.gnupg.org/related_software/gpgme/

sudo zypper install gpgme
  • License: GPL-3.0-or-later AND LGPL-2.1-or-later
  • Category: Productivity/Security
  • Architecture: x86_64
  • Source Package: gpgme
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gpgme
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gpgme from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

gpgme-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-devel
  • License: GPL-3.0-or-later AND LGPL-2.1-or-later
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: gpgme
  • 4 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Gpgme
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gpgme-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libgpgme45 2.1.0-1.1

Programmatic library interface to GnuPG

https://www.gnupg.org/related_software/gpgme/

sudo zypper install libgpgme45
  • License: GPL-3.0-or-later AND LGPL-2.1-or-later
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: gpgme
  • 6 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Gpgme
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libgpgme45 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libgpgme45-32bit 2.1.0-1.1

Programmatic library interface to GnuPG

https://www.gnupg.org/related_software/gpgme/

sudo zypper install libgpgme45-32bit
  • License: GPL-3.0-or-later AND LGPL-2.1-or-later
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: gpgme
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Gpgme
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libgpgme45-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

gpgme

sudo port install gpgme
  • normalized package name match
  • 匹配方式:Gpgme
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/gpgme/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

gpgme-json 1.24.2-3

Use GnuPG with web browser extensions

https://gnupg.org/software/gpgme/

sudo apt install gpgme-json
  • Section: utils
  • Architecture: amd64
  • Source Package: gpgme1.0
  • 3 依赖
  • installed executable or alias match
  • 匹配方式:Gpgme JSON
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gpgme-json from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

gpgme-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
  • Section: universe/web
  • Architecture: amd64
  • Source Package: gpgme1.0
  • 3 依赖
  • installed executable or alias match
  • 匹配方式:Gpgme JSON
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gpgme-json from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment