Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libsecret

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libsecret

MacPorts ports tree · gnome/libsecret/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

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

Debian apt已验证 · 92%
sudo apt install gir1.2-secret-1

Debian stable package indexes · gir1.2-secret-1 · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install libsecret-1-0

openSUSE Tumbleweed package metadata · libsecret-1-0 · 来源: download.opensuse.org

概览

软件包摘要

Library for storing/retrieving passwords and other secrets

命令和别名

  • secret-tool

历史

项目历史与用法

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.

时间线

  • 2008-2011: The Secret Service API copyright period covers the specification authorship window.
  • 2012: libsecret 0.1 was tagged in March.
  • 2020: libsecret 0.20.0 was tagged in January.
  • 2023: libsecret 0.21.0 was tagged in August.
  • 2025: libsecret 0.21.7 was tagged in March.

Related projects

  • Related projects include GNOME Keyring, KWallet, D-Bus, GObject Introspection, freedesktop.org Secret Service, and secret-tool.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
secret-toolcli全局可执行文件

新鲜度

版本和新鲜度

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

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

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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibsecret
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

gir1.2-secret-1 0.21.7-1

Secret store (GObject-Introspection)

https://wiki.gnome.org/Projects/Libsecret

sudo apt install gir1.2-secret-1
  • Section: introspection
  • Architecture: amd64
  • Source Package: libsecret
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libsecret
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-secret-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsecret-1-0 0.21.7-1

Secret store

https://wiki.gnome.org/Projects/Libsecret

sudo apt install libsecret-1-0
  • Section: libs
  • Architecture: amd64
  • Source Package: libsecret
  • 4 依赖
  • normalized package name match
  • 匹配方式:Libsecret
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsecret-1-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsecret-1-dev 0.21.7-1

Secret store (development files)

https://wiki.gnome.org/Projects/Libsecret

sudo apt install libsecret-1-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libsecret
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libsecret
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsecret-1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsecret-common 0.21.7-1

Secret store (common files)

https://wiki.gnome.org/Projects/Libsecret

sudo apt install libsecret-common
  • Section: libs
  • Architecture: all
  • Source Package: libsecret
  • normalized package name match
  • 匹配方式:Libsecret
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsecret-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsecret-tools 0.21.7-1

tool for storing and retrieving GObject passwords

https://wiki.gnome.org/Projects/Libsecret

sudo apt install libsecret-tools
  • Section: admin
  • Architecture: amd64
  • Source Package: libsecret
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libsecret
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsecret-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libsecret

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

gir1.2-secret-1 0.21.4-1build3

Secret store (GObject-Introspection)

https://wiki.gnome.org/Projects/Libsecret

sudo apt install gir1.2-secret-1
  • Section: introspection
  • Architecture: amd64
  • Source Package: libsecret
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libsecret
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gir1.2-secret-1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libsecret-1-0 0.21.4-1build3

Secret store

https://wiki.gnome.org/Projects/Libsecret

sudo apt install libsecret-1-0
  • Section: libs
  • Architecture: amd64
  • Source Package: libsecret
  • 4 依赖
  • normalized package name match
  • 匹配方式:Libsecret
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsecret-1-0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libsecret-1-dev 0.21.4-1build3

Secret store (development files)

https://wiki.gnome.org/Projects/Libsecret

sudo apt install libsecret-1-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libsecret
  • 4 依赖
  • normalized package name match
  • 匹配方式:Libsecret
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsecret-1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libsecret-common 0.21.4-1build3

Secret store (common files)

https://wiki.gnome.org/Projects/Libsecret

sudo apt install libsecret-common
  • Section: libs
  • Architecture: all
  • Source Package: libsecret
  • normalized package name match
  • 匹配方式:Libsecret
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsecret-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libsecret-tools 0.21.4-1build3

tool for storing and retrieving GObject passwords

https://wiki.gnome.org/Projects/Libsecret

sudo apt install libsecret-tools
  • Section: universe/admin
  • Architecture: amd64
  • Source Package: libsecret
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libsecret
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsecret-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libsecret 0.21.7-r0

Library for storing and retrieving passwords and other secrets

https://gnome.pages.gitlab.gnome.org/libsecret

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

libsecret-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-dev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libsecret
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libsecret
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libsecret-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libsecret-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-doc
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libsecret
  • normalized package name match
  • 匹配方式:Libsecret
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libsecret-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libsecret-lang 0.21.7-r0

Languages for package libsecret

https://gnome.pages.gitlab.gnome.org/libsecret

sudo apk add libsecret-lang
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libsecret
  • normalized package name match
  • 匹配方式:Libsecret
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libsecret-lang from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libsecret-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
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libsecret
  • normalized package name match
  • 匹配方式:Libsecret
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libsecret-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.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