macOS
brew install libsecretlocal Homebrew formula metadata
sudo port install libsecretMacPorts ports tree · gnome/libsecret/Portfile · source: api.github.com
brew
Library for storing/retrieving passwords and other secrets. Version 0.21.7 via Homebrew; verified 2026-05-14.
install
brew install libsecretlocal Homebrew formula metadata
sudo port install libsecretMacPorts ports tree · gnome/libsecret/Portfile · source: api.github.com
sudo apk add libsecretAlpine Linux edge package indexes · libsecret · source: dl-cdn.alpinelinux.org
sudo apt install gir1.2-secret-1Debian stable package indexes · gir1.2-secret-1 · source: deb.debian.org
sudo dnf install libsecretFedora Rawhide package metadata · libsecret · source: dl.fedoraproject.org
nix profile install nixpkgs#libsecretnixpkgs package indexes · pkgs/by-name/li/libsecret/package.nix · source: api.github.com
sudo pacman -S libsecretArch Linux sync databases · libsecret · source: geo.mirror.pkgbuild.com
sudo zypper install libsecret-1-0openSUSE Tumbleweed package metadata · libsecret-1-0 · source: download.opensuse.org
overview
Library for storing/retrieving passwords and other secrets
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
secret-tool | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://wiki.gnome.org/Projects/Libsecret
install metadata
| Package key | brew:libsecret |
|---|---|
| Version | 0.21.7 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libsecret |
| Homepage | https://wiki.gnome.org/Projects/Libsecret |
| Repository | https://gitlab.gnome.org/GNOME/libsecret |
| Upstream docs | https://gnome.pages.gitlab.gnome.org/libsecret |
| License | LGPL-2.1-or-later |
| Source archive | https://download.gnome.org/sources/libsecret/0.21/libsecret-0.21.7.tar.xz |
| Last updated | 2026-05-14T18:00:35-04:00 |
| Pulse | updated |
| Dependencies | gettext, glib, libgcrypt |
| Build dependencies | docbook-xsl, gettext, gobject-introspection, meson, ninja, pkgconf, vala |
| Uses from macOS | expat |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-staticsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.