libsecret-0.21.7

Introduction to libsecret

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.

Package Information

libsecret Dependencies

Required

GLib-2.86.2 (GObject Introspection recommended)

Recommended

Optional

"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)

Optional (Required for the test suite)

"dbus-python", "gjs", and PyGObject-3.54.5

Required Runtime Dependency

gnome-keyring-48.0

[Note]

Note

Any package requiring libsecret expects GNOME Keyring to be present at runtime.

Installation of libsecret

Prepare libsecret by running the following commands:

meson setup bld --prefix=/usr   \
            --buildtype=release \
            -D gtk_doc=false
ninja -C bld

Now Install the package, as the root user:

ninja -C bld install
[Note]

Note

To test the results, issue:

dbus-run-session ninja -C bld test

Command Explanations

--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.

Contents

Installed Program: secret-tool
Installed Library: libsecret-1.so
Installed Directories: /usr/include/libsecret-1 and /usr/share/doc/libsecret-0.21.7

Short Descriptions

secret-tool

is a command line tool that can be used to store and retrieve passwords

libsecret-1.so

contains the libsecret API functions