Go to file
Daiki Ueno d768ce4efe Properly chain-up GTasks around GDBusProxy::init_async
Our GAsyncInitable implementations in SecretService, SecretCollection,
and SecretItem internally wrap GDBusProxy::init_async and perform
additional error processing. To chain up we used to pass around a
single GTask, which caused an issue in the (additional) error path:
GDBusProxy::init_async may have already called
g_task_return_boolean(task, TRUE) and in that case GLib produces the
following warning:

  g_task_return_error: assertion '!task->ever_returned' failed

This fixes the issue by creating a temporary GTask around
GDBusProxy::init_async call.

Signed-off-by: Daiki Ueno <dueno@src.gnome.org>
2022-05-09 16:27:44 +02:00
bash-completion Add meson option to override of default bashcompdir 2021-03-21 17:51:24 +00:00
build/valgrind Drop autotools-based build 2020-11-15 20:37:48 +01:00
docs docs: Fix source link 2022-02-07 13:02:11 +01:00
egg TPM2: Fix primary key generation in decrypting 2021-08-12 20:24:40 +05:30
libsecret Properly chain-up GTasks around GDBusProxy::init_async 2022-05-09 16:27:44 +02:00
po Update Bulgarian translation 2022-03-21 13:03:56 +00:00
subprojects Port documentation to gi-docgen 2022-02-02 12:19:14 +00:00
tool Add TPM2 integration to secret file backend 2021-08-12 21:14:26 +05:30
.dir-locals.el build: Add .dir-locals.el for Emacs 2018-07-20 10:54:30 +02:00
.gitignore Port documentation to gi-docgen 2022-02-02 12:19:14 +00:00
.gitlab-ci.yml Port documentation to gi-docgen 2022-02-02 12:19:14 +00:00
COPYING Fix up libsecret licensing 2012-08-06 11:25:08 +02:00
COPYING.TESTS Fix up libsecret licensing 2012-08-06 11:25:08 +02:00
libsecret.doap doap: Add myself as maintainer 2019-05-26 00:38:26 +02:00
meson_options.txt Port documentation to gi-docgen 2022-02-02 12:19:14 +00:00
meson.build Release 0.20.5 2022-02-21 07:20:13 +01:00
NEWS Release 0.20.5 2022-02-21 07:20:13 +01:00
README.md README: Fix typo on readme 2022-02-07 13:02:11 +01:00

libsecret

A GObject-based library for accessing the Secret Service API of the freedesktop.org project, a cross-desktop effort to access passwords, tokens and other types of secrets. libsecret provides a convenient wrapper for these methods so consumers do not have to call the low-level DBus methods.

The actual Secret Service API spec can be found at https://specifications.freedesktop.org/secret-service/.

Documentation

You can find the nightly documentation at https://gnome.pages.gitlab.gnome.org/libsecret/.

Building

To build and install libsecret, you can use the following commands:

$ meson _build
$ ninja -C _build
$ ninja -C _build install

Contributing

You can browse the code, issues and more at libsecret's GitLab repository.

If you find a bug in libsecret, please file an issue on the issue tracker. Please try to add reproducible steps and the relevant version of libsecret.

If you want to contribute functionality or bug fixes, please open a Merge Request (MR). For more info on how to do this, see GitLab's help pages on MR's.

If libsecret is not translated in your language or you believe that the current translation has errors, you can join one of the various translation teams in GNOME. Translators do not commit directly to Git, but are advised to use our separate translation infrastructure instead. More info can be found at the translation project wiki page.

Releases

The release tarballs use semantic versioning since 0.19.0, which basically means:

  • The major version will be incremented if backward incompatible changes are added
  • The minor version will be incremented if new functionality is added in a backward compatible manner
  • The patch version will be incremented if only backward compatible bug fixes are added

Note that there is no stable/unstable indication in whether the minor version number is even or odd.