Package: libkf5wallet-bin Version: 5.97.0-1 Severity: important Tags: patch upstream
Hi, starting with upstream version 5.97.0 the kwalled5 daemon will provide the org.freedesktop.secrets D-Bus service. Unfortunately it's not possible to disable this API [1] which prevents using other providers such as keepassxc. Essentially this breaks my current setup. I've attached a patch for the Debian package that cherry-picks the fix from upstream git. Note that until kwalletmanager5 is updated to 22.08.0 there is no GUI and one has to manually edit .config/kwalletrc. But without the fix this is all in vain. [1] https://bugs.kde.org/show_bug.cgi?id=458069 Regards, Jan -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.18.0-4-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff -Nru kwallet-kf5-5.97.0/debian/changelog kwallet-kf5-5.97.0/debian/changelog --- kwallet-kf5-5.97.0/debian/changelog 2022-08-14 18:55:38.000000000 +0200 +++ kwallet-kf5-5.97.0/debian/changelog 2022-09-01 18:03:30.000000000 +0200 @@ -1,3 +1,10 @@ +kwallet-kf5 (5.97.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Add upstream patch to optionally disable Freedesktop Secret Service + + -- Jan Klötzke <jan+deb...@kloetzke.net> Thu, 01 Sep 2022 18:03:30 +0200 + kwallet-kf5 (5.97.0-1) unstable; urgency=medium [ Aurélien COUDERC ] diff -Nru kwallet-kf5-5.97.0/debian/patches/Dont-register-dummy-org.freedesktop.secrets-service-when-api-is-disabled.patch kwallet-kf5-5.97.0/debian/patches/Dont-register-dummy-org.freedesktop.secrets-service-when-api-is-disabled.patch --- kwallet-kf5-5.97.0/debian/patches/Dont-register-dummy-org.freedesktop.secrets-service-when-api-is-disabled.patch 1970-01-01 01:00:00.000000000 +0100 +++ kwallet-kf5-5.97.0/debian/patches/Dont-register-dummy-org.freedesktop.secrets-service-when-api-is-disabled.patch 2022-09-01 18:03:30.000000000 +0200 @@ -0,0 +1,30 @@ +From db1d2ecd610212f3a6b68d8e602148cfef43688c Mon Sep 17 00:00:00 2001 +From: Nicolas Fella <nicolas.fe...@gmx.de> +Date: Fri, 19 Aug 2022 16:34:07 +0200 +Subject: [PATCH] Don't register dummy org.freedesktop.secrets service when api + is disabled + +It prevents other programs from claiming that service + +BUG: 458069 +--- + src/runtime/kwalletd/kwalletd.cpp | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/src/runtime/kwalletd/kwalletd.cpp b/src/runtime/kwalletd/kwalletd.cpp +index 5de735bd..d10ce59e 100644 +--- a/src/runtime/kwalletd/kwalletd.cpp ++++ b/src/runtime/kwalletd/kwalletd.cpp +@@ -168,9 +168,6 @@ KWalletD::KWalletD() + + if (cfgSecrets.readEntry<bool>("apiEnabled", true)) { + _fdoService.reset(new KWalletFreedesktopService(this)); +- } else { +- /* Do not keep dbus-daemon waiting for the org.freedesktop.secrets by registering the dummy-service */ +- KWalletFreedesktopService(nullptr); + } + } + +-- +GitLab + diff -Nru kwallet-kf5-5.97.0/debian/patches/series kwallet-kf5-5.97.0/debian/patches/series --- kwallet-kf5-5.97.0/debian/patches/series 2022-07-28 00:31:31.000000000 +0200 +++ kwallet-kf5-5.97.0/debian/patches/series 2022-09-01 18:03:30.000000000 +0200 @@ -1 +1,2 @@ blowfish_endianess.diff +Dont-register-dummy-org.freedesktop.secrets-service-when-api-is-disabled.patch