libsecret
« Back to VersTracker
Description:
Library for storing/retrieving passwords and other secrets
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: security cryptography gnome authentication library
Install: brew install libsecret
About:
Libsecret is a GObject-based library for accessing the Secret Service API, enabling secure storage and retrieval of passwords and other sensitive data. It provides a robust client implementation for interacting with credential management daemons like GNOME Keyring or KWallet. This allows developers to easily integrate secure secret handling into their applications without managing encryption directly.
Key Features:
  • GObject-based C library with GLib integration
  • Supports Secret Service API (Freedesktop.org specification)
  • Provides command-line tool `secret-tool` for scripting
  • Secure storage with encryption and access control
  • Asynchronous API for non-blocking operations
Use Cases:
  • Storing application passwords and API keys securely
  • Implementing single sign-on (SSO) in Linux desktop applications
  • Managing SSH/GPG passphrases via system keyrings
Alternatives:
  • KWallet – KDE's wallet system; Libsecret is desktop-agnostic and follows the standardized Secret Service API.
  • pass – Unix password manager; Libsecret provides a system-level daemon integration rather than CLI/Git-based management.
Version History
Detected Version Rev Change Commit
Sep 14, 2025 11:21pm 0 VERSION_BUMP 96f673d0
Sep 12, 2024 3:44pm 0 VERSION_BUMP 9b2042e1