macOS
brew install git-credential-libsecretlocal Homebrew formula metadata
安装
brew install git-credential-libsecretlocal Homebrew formula metadata
sudo apk add git-credential-libsecretAlpine Linux edge package indexes · git-credential-libsecret · 来源: dl-cdn.alpinelinux.org
sudo dnf install git-credential-libsecretFedora Rawhide package metadata · git-credential-libsecret · 来源: dl.fedoraproject.org
sudo zypper install git-credential-libsecretopenSUSE Tumbleweed package metadata · git-credential-libsecret · 来源: download.opensuse.org
概览
Git helper for accessing credentials via libsecret
历史
git-credential-libsecret is Git's Linux Secret Service credential helper. It lets Git store and retrieve HTTPS credentials through libsecret-backed wallets such as GNOME Keyring or KDE Wallet instead of keeping long-lived credentials in plaintext files.
The helper entered Git's contrib area in 2016. Its initial Git commit describes it as based on the earlier GNOME Keyring helper, replacing the deprecated, GNOME-specific libgnome-keyring library with libsecret and the XDG Secret Service API.
Later Git-side changes kept the helper aligned with Git's credential protocol. A 2017 change made it unlock locked secrets through the Secret Service interface, and 2023 changes added storage for password expiry and OAuth refresh-token attributes while preserving compatibility with older stored credentials.
Git's credential-helper documentation lists git-credential-libsecret alongside macOS Keychain and Windows Credential Manager as the Linux secure persistent storage option. That placement made it part of the standard Git credential-helper ecosystem rather than a standalone password-manager integration.
Linux package managers expose it as a separate package because the helper depends on libsecret and desktop secret-service libraries that are not always part of a minimal Git build.
Practitioners configure it through Git's `credential.helper` setting, usually in `~/.gitconfig`, `$XDG_CONFIG_HOME/git/config`, or a repository `.git/config`. After configuration, Git invokes `git credential-libsecret` through the credential-helper protocol during HTTP authentication.
Its use case is workstation Git over HTTPS: the first authentication stores a username and password, personal access token, or generated token in the desktop secret service, and later fetch, pull, and push operations retrieve it without prompting.
For package maintainers, git-credential-libsecret is a small but important split from the main Git package. It is tied to desktop-secret-service dependencies, so distributing it separately keeps headless or minimal Git installs lean while giving Linux desktop users OS-integrated credential storage.
It also illustrates Git's extension model: a helper in `contrib/credential` can become a distro-facing executable without changing Git's core credential protocol.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.
~/.gitconfig$XDG_CONFIG_HOME/git/config.git/config可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
git-credential-libsecret | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:git-credential-libsecret |
|---|---|
| 版本 | 2.55.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/git-credential-libsecret |
| 主页 | https://git-scm.com |
| 仓库 | https://github.com/git/git |
| 上游文档 | https://git-scm.com/doc/credential-helpers |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.55.0.tar.xz |
| 最后更新 | 2026-06-29T20:54:53Z |
| Pulse | updated |
| 依赖 | gettext, glib, libsecret |
| 构建依赖 | pkgconf |
| 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 | git-credential-libsecret |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
git-credential-libsecret 2.54.0-r0
libsecret-based credential helper
sudo apk add git-credential-libsecretgit-credential-libsecret 2.54.0-1.fc45
Git helper for accessing credentials via libsecret
sudo dnf install git-credential-libsecretgit-credential-libsecret 2.54.0-2.1
Git credential backend using libsecret to access keyring
sudo zypper install git-credential-libsecret来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.