The libsecret package contains a GObject based library for accessing the Secret Service API.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://download.gnome.org/sources/libsecret/0.21/libsecret-0.21.7.tar.xz
Download SHA256 Sum: 6b452e4750590a2b5617adc40026f28d2f4903de15f1250e1d1c40bfd68ed55e
Download MD5 sum: 7a938a802a3c17df441fbd0358866e99
Download size: 1,893.6 KB
Estimated disk space required: 8,233.7 KB
Estimated build time: less than 0.1 SBU (add 0.2 SBU for tests)
GLib-2.86.2 (GObject Introspection recommended)
libgcrypt-1.11.2 (or GnuTLS-3.8.11, for cryptography), and Vala-0.56.18
"gi-docgen" and docbook-xml-4.5, docbook-xsl-nons-1.79.2, libxslt-1.1.43 (to build manual pages), "valgrind" (can be used in tests), and tpm2-tss (for TPM support)
"dbus-python", "gjs", and PyGObject-3.54.5
![[Note]](../images/note.png)
Any package requiring libsecret expects GNOME Keyring to be present at runtime.
Prepare libsecret by running the following commands:
meson setup bld --prefix=/usr \
--buildtype=release \
-D gtk_doc=falseninja -C bld
Now Install the package, as the root user:
ninja -C bld install
![[Note]](../images/note.png)
To test the results, issue:
dbus-run-session ninja -C bld test
--buildtype=release: Specify a buildtype
suitable for stable releases of the package, as the default may
produce unoptimized binaries.
-D gtk_doc=false: Allow building this
package without "gi-docgen" installed.
-D manpage=false: Use this switch if you
have not installed "libxslt" and "DocBook" packages.
-D crypto=gnutls: Use this switch if you want to use
"gnutls" for cryptography instead of "libgcrypt".
-D crypto=disabled: Use this switch if you don't have
"gnutls" or "libgcrypt" installed. Note that disabling
transport encryption support by doing this is not recommended.