Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

102.15. libsecret-0.21.8.2

Secret Service client library — stores and looks up passwords over D-Bus

0.21.8.2-1 · LGPL-2.1-or-later · 0.2 SBU · 1.2 MiB, 31 files · 41_system, 939 of 1047 · ports/core/security/libsecret

Homepage: https://gitlab.gnome.org/GNOME/libsecret

libsecret is the client library of the freedesktop Secret Service: a program stores and looks up passwords with it, and libsecret sends those requests over the session bus to whichever program owns org.freedesktop.secrets. The package also carries secret-tool, the same operations from a shell. It holds no Secret Service itself; in a Plasma session the provider is ksecretd, from kwallet, and where nothing provides one, as in a live session, every lookup fails (see A login that typed no password leaves the wallet locked). chromium, webkitgtk, qtkeychain, kwallet, gvfs, remmina and many other programs link it.

Depends on: meson, glib, libgcrypt, gobject-introspection, glib-introspection, vala, libxslt, docbook-xsl, docbook-xml, bash-completion.

Required by (17): chromium, deja-dup, gnome-disk-utility, gnucash, gvfs, keepsecret, kicad, kwallet, orcaslicer, qownnotes, qtkeychain, remmina, rhythmbox, vlc, webkitgtk, webkitgtk6, wxwidgets.

Sources: libsecret-0.21.8.2.tar.xz (208.3 KiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libsecret'

build.sh:

export CFLAGS="$CFLAGS -include fcntl.h"
meson setup build \
	--prefix=/usr --sysconfdir=/etc --libdir=lib \
	--buildtype=release \
	--wrap-mode=nodownload \
	-Dcrypto=libgcrypt \
	-Dintrospection=true \
	-Dvapi=true \
	-Dmanpage=true \
	-Dgtk_doc=false \
	-Dbash_completion=enabled \
	-Dtpm2=false \
	-Dpam=false \
	-Dtest_setup=disabled \
	-Ddebugging=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Programs: secret-tool.

Libraries: libsecret-1.so.

Directories: /usr/include/libsecret-1, /usr/share/licenses/libsecret.