macOS
brew install libsecretlocal Homebrew formula metadata
sudo port install libsecretMacPorts ports tree · gnome/libsecret/Portfile · 来源: api.github.com
安装
brew install libsecretlocal Homebrew formula metadata
sudo port install libsecretMacPorts ports tree · gnome/libsecret/Portfile · 来源: api.github.com
sudo apk add libsecretAlpine Linux edge package indexes · libsecret · 来源: dl-cdn.alpinelinux.org
sudo dnf install libsecretFedora Rawhide package metadata · libsecret · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libsecretnixpkgs package indexes · pkgs/by-name/li/libsecret/package.nix · 来源: api.github.com
sudo pacman -S libsecretArch Linux sync databases · libsecret · 来源: geo.mirror.pkgbuild.com
sudo apt install gir1.2-secret-1Debian stable package indexes · gir1.2-secret-1 · 来源: deb.debian.org
sudo zypper install libsecret-1-0openSUSE Tumbleweed package metadata · libsecret-1-0 · 来源: download.opensuse.org
概览
Library for storing/retrieving passwords and other secrets
历史
libsecret is GNOME's GObject-based client library for the freedesktop.org Secret Service D-Bus API. It is the package behind many Linux desktop applications that need to store passwords, tokens, and other secrets without binding directly to a particular keyring implementation.
The freedesktop.org Secret Service specification was authored by GNOME Keyring and KWallet developers and describes collections, items, sessions, prompts, and D-Bus interfaces for desktop secret storage. libsecret implements the client side of that model for GNOME-style C, GObject Introspection, JavaScript, Python, and Vala users.
The GNOME API documentation identifies libsecret as a Secret Service D-Bus client library authored by Stef Walter, Daiki Ueno, and Niels De Graef. GitLab tag history shows the project publishing 0.1 in March 2012 and reaching the 0.20 and 0.21 series in the 2020s.
libsecret's adoption is tied to the move from application-specific password files toward desktop keyring services reachable over D-Bus. It gives GNOME applications, command-line helpers such as secret-tool, and language bindings a shared library interface over the Secret Service API.
Applications define schemas and attributes, then store, look up, and delete secrets through the Secret Service. The official usage documentation shows pkg-config integration for C, imports through GObject Introspection for JavaScript and Python, and Vala package usage.
libsecret is a small but sensitive dependency: it bridges package-managed applications to session keyrings without each package carrying its own password-storage backend. It is also a common build dependency for tools that only need secret storage on desktop Linux.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
secret-tool | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://wiki.gnome.org/Projects/Libsecret
安装元数据
| 软件包键 | brew:libsecret |
|---|---|
| 版本 | 0.21.7 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libsecret |
| 主页 | https://wiki.gnome.org/Projects/Libsecret |
| 仓库 | https://gitlab.gnome.org/GNOME/libsecret |
| 上游文档 | https://gnome.pages.gitlab.gnome.org/libsecret |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://download.gnome.org/sources/libsecret/0.21/libsecret-0.21.7.tar.xz |
| 最后更新 | 2026-05-14T18:00:35-04:00 |
| Pulse | updated |
| 依赖 | gettext, glib, libgcrypt |
| 构建依赖 | docbook-xsl, gettext, gobject-introspection, meson, ninja, pkgconf, vala |
| macOS 提供的库 | expat |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libsecret |
| 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 软件包链接分开显示。
gir1.2-secret-1 0.21.7-1
Secret store (GObject-Introspection)
https://wiki.gnome.org/Projects/Libsecret
sudo apt install gir1.2-secret-1libsecret-1-0 0.21.7-1
Secret store
https://wiki.gnome.org/Projects/Libsecret
sudo apt install libsecret-1-0libsecret-1-dev 0.21.7-1
Secret store (development files)
https://wiki.gnome.org/Projects/Libsecret
sudo apt install libsecret-1-devlibsecret-common 0.21.7-1
Secret store (common files)
https://wiki.gnome.org/Projects/Libsecret
sudo apt install libsecret-commonlibsecret-tools 0.21.7-1
tool for storing and retrieving GObject passwords
https://wiki.gnome.org/Projects/Libsecret
sudo apt install libsecret-toolslibsecret
nix profile install nixpkgs#libsecretgir1.2-secret-1 0.21.4-1build3
Secret store (GObject-Introspection)
https://wiki.gnome.org/Projects/Libsecret
sudo apt install gir1.2-secret-1libsecret-1-0 0.21.4-1build3
Secret store
https://wiki.gnome.org/Projects/Libsecret
sudo apt install libsecret-1-0libsecret-1-dev 0.21.4-1build3
Secret store (development files)
https://wiki.gnome.org/Projects/Libsecret
sudo apt install libsecret-1-devlibsecret-common 0.21.4-1build3
Secret store (common files)
https://wiki.gnome.org/Projects/Libsecret
sudo apt install libsecret-commonlibsecret-tools 0.21.4-1build3
tool for storing and retrieving GObject passwords
https://wiki.gnome.org/Projects/Libsecret
sudo apt install libsecret-toolslibsecret 0.21.7-r0
Library for storing and retrieving passwords and other secrets
https://gnome.pages.gitlab.gnome.org/libsecret
sudo apk add libsecretlibsecret-dev 0.21.7-r0
Library for storing and retrieving passwords and other secrets (development files)
https://gnome.pages.gitlab.gnome.org/libsecret
sudo apk add libsecret-devlibsecret-doc 0.21.7-r0
Library for storing and retrieving passwords and other secrets (documentation)
https://gnome.pages.gitlab.gnome.org/libsecret
sudo apk add libsecret-doclibsecret-lang 0.21.7-r0
Languages for package libsecret
https://gnome.pages.gitlab.gnome.org/libsecret
sudo apk add libsecret-langlibsecret-static 0.21.7-r0
Library for storing and retrieving passwords and other secrets (static library)
https://gnome.pages.gitlab.gnome.org/libsecret
sudo apk add libsecret-static来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.