GNU bug report logs - #78188
[PATCH] Add KWallet service

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Sergio Pastor Pérez <sergio.pastorperez@HIDDEN>; Keywords: patch; dated Thu, 1 May 2025 13:52:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 78188 <at> debbugs.gnu.org:


Received: (at 78188) by debbugs.gnu.org; 1 May 2025 13:54:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 01 09:54:33 2025
Received: from localhost ([127.0.0.1]:49957 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uAUMy-0001xq-Ug
	for submit <at> debbugs.gnu.org; Thu, 01 May 2025 09:54:33 -0400
Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:45387)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <sergio.pastorperez@HIDDEN>)
 id 1uAUMv-0001xG-7l
 for 78188 <at> debbugs.gnu.org; Thu, 01 May 2025 09:54:29 -0400
Received: by mail-wm1-x32d.google.com with SMTP id
 5b1f17b1804b1-43ed8d32a95so7658255e9.3
 for <78188 <at> debbugs.gnu.org>; Thu, 01 May 2025 06:54:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1746107662; x=1746712462; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=ZbInTb/YceLWRdPkUfE85Wqfm04fZ+OiP4w02rPxUhk=;
 b=Il27GN/nOul3pMSitR47kna1w2/2Rwe81M7xJeQ7CG32QkN0wGfr8gwUJ/u+8VGsnO
 20jv528A9b6LuRgjCABT9H8Sm94yOOZayiFKnCJJCWmCFQsQCeoMDiFrNdqDZkEeQxCk
 E1havmWaha334VvRb9phKlrzJEdP6fZgY6SsBMteOeeriUrAe9J54kkYtKtgfVBUWbM4
 omiDz9jBVyz2/yL+bJT6WrvVNU5TxDyIyZGP8CN6cP/C5l3PFVof5gsZYCubRFf3tJD5
 wB+Mf7z6SRY9g2YDWmB/qQatM71V4pMc2XqGPXzgkQ7CnQR7PB43HZbcGBqHvxujjFUC
 Lgdw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1746107662; x=1746712462;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=ZbInTb/YceLWRdPkUfE85Wqfm04fZ+OiP4w02rPxUhk=;
 b=iDw9ggR0xFmDSNv2ErENRT08mzaVnOblX8MG94i/+xn5v71fPiY4ovJoRUTRdT6WUZ
 4ghGxg8PQ5nAVgtT06w5FPgapjcvQcRCyoksljurtac2x6PRH5nCyRD8gTt3nfVMmvNT
 Jc7iyYPT1WkR1tnlqCVwRtSZcJ6wkrk7P9fbxf8qnzDy2aN8S8EOTXjCpOeWsfjbmMuH
 UmB9M4GBCeHuYUh0BogCE02Ph5XfMFocLGfoOv7ZY/rB9g5/8pjbeErojFC4nMqn1zpK
 6eOP0JWObPlyRYRZNs6kQ0Dxs3/9i8Qj+QWxycQllPUnv4xeyi8J6dJTw+bR+HaXNjk2
 iSKA==
X-Gm-Message-State: AOJu0Yz57XVpVdVHRPIruESBDxr2rZiLq8IBBEptw+mL2E04fJza9AN4
 ZEHKAbvxdl8pMLFtbWmd/74YmrxAVOPgxCtHB5QC5P1LvIipnUoU0oe580AX
X-Gm-Gg: ASbGnct+2GeRW3Q4tkgMdiHFqKkO6T67lxAQJvE8Cs1wcL2bbkIup+jUPiE1X0CFZil
 L/ubmxf562zt1QKTMOJxk7F/zCX1nKNdHWWvKK3ZD53+7h1bESnk+IHFnkEoY8/ev9RKhlqPTin
 WP7o3r7Gov4DOQN3NbTdKc0OHnmNc6+7ETdyAJ31XEQOmNfSrJAelSJYEw4UjPyoxzg7cGfXudL
 U/dryALjyDKeO43xorLh1b/9Ds7IO3VYieO5svnI4oObs7hLMXnC3RC/piUAF6mKFH5nUGIYqY3
 /rlEegAHIEwvzSJERbkTnVDn4ZU16+Laz8hxv2Oa+7qx1VpuDxECM9hC7n9L/C6f
X-Google-Smtp-Source: AGHT+IFUusoA9ZWqhi7ruaVi5uMgT7o7spOClBXONjWTmZkPZX6Hghkd7dVhMXtQULxorzZnE6bG+Q==
X-Received: by 2002:a05:600c:8711:b0:43b:cc3c:60bc with SMTP id
 5b1f17b1804b1-441b7034c5cmr24272855e9.15.1746107662373; 
 Thu, 01 May 2025 06:54:22 -0700 (PDT)
Received: from localhost ([2a0c:5a85:d206:4200:cd7d:99ee:cee8:cc4a])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-441b8992b4csm13620215e9.0.2025.05.01.06.54.21
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 01 May 2025 06:54:21 -0700 (PDT)
From: =?UTF-8?q?Sergio=20Pastor=20P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
To: 78188 <at> debbugs.gnu.org
Subject: [PATCH] services: kwallet: New service.
Date: Thu,  1 May 2025 15:54:00 +0200
Message-ID: <cf6a25f1cbedf15dea0312e49f9427e5de148afb.1746106891.git.sergio.pastorperez@HIDDEN>
X-Mailer: git-send-email 2.49.0
In-Reply-To: <cover.1746106890.git.sergio.pastorperez@HIDDEN>
References: <cover.1746106890.git.sergio.pastorperez@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>, Ludovic Courtès <ludo@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Noé Lopez <noelopez@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 78188
Cc: =?UTF-8?q?Sergio=20Pastor=20P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Change-Id: I1330ce5e1648a8ddf6ddd507255a73335d6baa51
---
 doc/guix.texi            | 37 ++++++++++++++++++++++++
 gnu/services/desktop.scm | 61 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index 7b418a4089..c6861b3182 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -27131,6 +27131,43 @@ Desktop Services
 @end table
 @end deftp
 
+@defvar kwallet-service-type
+This is the type of the service that adds the
+@uref{https://invent.kde.org/plasma/kwallet-pam, KWallet keyring}.  Its
+value is a @code{kwallet-configuration} object (see below).  Note that,
+contrary to @code{gnome-desktop-service-type},
+@code{plasma-desktop-service-type} does not include this service.
+
+This service adds the @code{kwallet-pam} package to the system profile
+and extends PAM with entries using @code{pam_kwallet5.so},
+unlocking a user's login keyring when they log in or setting its
+password with passwd.
+@end defvar
+
+@deftp {Data Type} kwallet-configuration
+Configuration record for the KWallet Keyring service.
+
+@table @asis
+@item @code{keyring} (default: @code{kwallet-pam})
+The KWallet keyring package to use.
+
+@item @code{pam-services}
+A list of @code{(@var{service} . @var{kind})} pairs denoting PAM
+services to extend, where @var{service} is the name of an existing
+service to extend and @var{kind} is one of @code{login} or
+@code{passwd}.
+
+If @code{login} is given, it adds an optional
+@code{pam_kwallet5.so} to the auth block without arguments and to
+the session block with @code{auto_start}.  If @code{passwd} is given, it
+adds an optional @code{pam_kwallet5.so} to the password block
+without arguments.
+
+By default, this field contains ``sddm'' with the value @code{login}
+and ``passwd'' is with the value @code{passwd}.
+@end table
+@end deftp
+
 @defvar seatd-service-type
 @uref{https://sr.ht/~kennylevinsen/seatd/, seatd} is a minimal seat
 management daemon.
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index a586746cc5..a3cbf3f397 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -197,6 +197,10 @@ (define-module (gnu services desktop)
             gnome-keyring-configuration?
             gnome-keyring-service-type
 
+            kwallet-configuration
+            kwallet-configuration?
+            kwallet-service-type
+
             seatd-configuration
             seatd-service-type
 
@@ -2148,6 +2152,63 @@ (define enlightenment-desktop-service-type
 thumbnails and privileges the programs which enlightenment needs to function
 as expected.")))
 
+
+;;;
+;;; kwallet-service-type
+;;;
+
+(define-record-type* <kwallet-configuration> kwallet-configuration
+  make-kwallet-configuration
+  kwallet-configuration?
+  (wallet kwallet-package (default kwallet-pam))
+  (pam-services kwallet-pam-services (default '(("sddm" . login)
+                                                ("passwd" . passwd)))))
+
+(define (pam-kwallet config)
+  (match config
+    (#f '())                          ;explicitly disabled by user
+    (_
+     (define (%pam-keyring-entry . arguments)
+       (pam-entry
+        (control "optional")
+        (module (file-append (kwallet-package config)
+                             "/lib/security/pam_kwallet5.so"))
+        (arguments arguments)))
+
+     (list
+      (pam-extension
+       (transformer
+        (lambda (service)
+          (case (assoc-ref (kwallet-pam-services config)
+                           (pam-service-name service))
+            ((login)
+             (pam-service
+              (inherit service)
+              (auth (append (pam-service-auth service)
+                            (list (%pam-keyring-entry))))
+              (session (append (pam-service-session service)
+                               (list (%pam-keyring-entry "auto_start"))))))
+            ((passwd)
+             (pam-service
+              (inherit service)
+              (password (append (pam-service-password service)
+                                (list (%pam-keyring-entry))))))
+            (else service)))))))))
+
+;; TODO: consider integrating service in `<plasma-desktop-configuration>' as
+;; done in `<gnome-desktop-configuration>'. This requires rewritting the
+;; `<plasma-desktop-service-type>' as done for `<gnome-desktop-service-type>'.
+(define kwallet-service-type
+  (service-type
+   (name 'kwallet)
+   (extensions (list
+                (service-extension pam-root-service-type pam-kwallet)))
+   (default-value (kwallet-configuration))
+   (description "Return a service, that extends PAM with entries using
+@code{pam_kwallet5.so}, unlocking a user's login keyring when they log in or
+setting its password with passwd.")))
+
+
 ;;;
 ;;; KDE Plasma desktop service.
 ;;;
-- 
2.49.0





Information forwarded to liliana.prikler@HIDDEN, ludo@HIDDEN, maxim.cournoyer@HIDDEN, noelopez@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:
bug#78188; Package guix-patches. Full text available.

Message received at 78188 <at> debbugs.gnu.org:


Received: (at 78188) by debbugs.gnu.org; 1 May 2025 13:54:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 01 09:54:29 2025
Received: from localhost ([127.0.0.1]:49955 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uAUMv-0001xT-El
	for submit <at> debbugs.gnu.org; Thu, 01 May 2025 09:54:29 -0400
Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:44080)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <sergio.pastorperez@HIDDEN>)
 id 1uAUMs-0001x9-1A
 for 78188 <at> debbugs.gnu.org; Thu, 01 May 2025 09:54:26 -0400
Received: by mail-wr1-x431.google.com with SMTP id
 ffacd0b85a97d-39c1efc4577so383085f8f.0
 for <78188 <at> debbugs.gnu.org>; Thu, 01 May 2025 06:54:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1746107659; x=1746712459; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=3o6tBd2dtSkv0ls5KHdAT8nTgdEGNhg/85lzZq3JKgU=;
 b=W7mzE4AaZRn1uAo63j5CcGHL0ajOI/RktUGQ/F0Molhogl0x9U8/exNT0FgcTABfLu
 UbHr3h+Fb2SL6QppteanY84g7kiie8wuTZmtF2MvgQQsG2OfcM5yEbQAkksoCnHA7WTB
 7kYv3g0DSD18krlFYdVwOuhXRj1qBytyE3QdGNCgdgB0qrC//P5j1MN/Q+PGioUB6Jwv
 7JEqGPGsUcoPjC97Chkdjlys2S0KaAVmHUVlEFGLRAhahb7fKhkMtE4AcaAgdZ/tMcEa
 jywH9QkvNnS+rbz1G9Wj3g/i5ZmN6RZMfes/OjNibacVyBYJS95SnwJ7XFr8fPkoJGXs
 kX7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1746107659; x=1746712459;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=3o6tBd2dtSkv0ls5KHdAT8nTgdEGNhg/85lzZq3JKgU=;
 b=D/D0DnBqZcxystRapcBjpn2tBwoheI4ruQ2JL0j59urlhjMDmpu72fiF931m87AL+b
 0Ti+dyaiGKPNT2M7Ze7W4u9CeP+7k7uWgMiVJzxIp5HJ4Fqdj3PNerRkla+7zFqsuX0j
 VBnHLbtaP5g73ZRcdj0SjTAHu1QD0vNLfWuxjA+NM5mmPlczwki2OoKOBQ/kUos/uMND
 5nxj3KtPBdrzu6BAed9110GO0ahSZyJrZGoGZca7T9febEZB0lgz5LX3Cij2+ZAyxN0/
 FfAS2xC8PysOnrjtbqvJMJrDNQ7mdURvGqDJOyEZ3cXcPqXKF1YT5yEWShFnGOs0eUe4
 /Fgg==
X-Gm-Message-State: AOJu0Yyl6/RRFGAZATN+RnxZAkdGJlewNndbn8b3xiaEl0Zq1ylot0y2
 Hgf3bHgH+pJPHGyZYevSpIuXYSkFI6ceGGE6FpvKX0TM1fyoaJFeHFVxju4l
X-Gm-Gg: ASbGncvJhYr+VFsyc+M1rzfV8BAwmITWM9MLfXQccSKFIFHEuhjOTaGc5y2WiZz6iBe
 yRrN8BWg8SQUR++XqtI/Uxm7e8qq4CwE+bbAvH0+1XvYo0vE3fb0f1DCZYouQ5S84uM2sDoURFh
 vkeLex2aLKTMsNYq/BK9xNiguVLC9W0talAL54UeTdpc024tjGkGjHkYYWlkr2uyYE0nBG2T4s2
 hflLxy+nK+Pej2ur7yYbaUAMUl7CIQaMSGVaBRyEvSZm/c1+hCzgahHBXDy/Z8RPpG4vbV4SOTU
 EaRWKotcifvNqMFw4bx/OkWB9JYpql91qy+5weqxctkb3efFQ3mfcw==
X-Google-Smtp-Source: AGHT+IGxMbWdYRowCRfw4N+KfAXbhiCPpZ3jsvwzQbOfLILguOJzr0/+S3D+GgW1wHN4X/upPxTQvg==
X-Received: by 2002:a5d:59ae:0:b0:39e:dce8:1c07 with SMTP id
 ffacd0b85a97d-3a094178889mr1963112f8f.46.1746107658836; 
 Thu, 01 May 2025 06:54:18 -0700 (PDT)
Received: from localhost ([2a0c:5a85:d206:4200:cd7d:99ee:cee8:cc4a])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-3a095a3dfa8sm926449f8f.13.2025.05.01.06.54.18
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 01 May 2025 06:54:18 -0700 (PDT)
From: =?UTF-8?q?Sergio=20Pastor=20P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
To: 78188 <at> debbugs.gnu.org
Subject: [PATCH] gnu: kwallet-pam: Fix socat not in 'libexec/pam_kwallet_init'
 wrapper path.
Date: Thu,  1 May 2025 15:53:59 +0200
Message-ID: <a73931b2adbba2b1949b30d9d3bf6e63662d0da2.1746106891.git.sergio.pastorperez@HIDDEN>
X-Mailer: git-send-email 2.49.0
In-Reply-To: <cover.1746106890.git.sergio.pastorperez@HIDDEN>
References: <cover.1746106890.git.sergio.pastorperez@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Sughosha <sughosha@HIDDEN>, Zheng Junjie <z572@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 78188
Cc: =?UTF-8?q?Sergio=20Pastor=20P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/kde-plasma.scm (kwallet-pam)[phase]: Wrapper phase not setting
PATH variable to access 'socat' input.

Change-Id: I6e7a421af3dbbc844e319b7852246c89d979609c
---
 gnu/packages/kde-plasma.scm | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 679a68cef6..a15f7ad8a2 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -1303,9 +1303,17 @@ (define-public kwallet-pam
                 "0dif5y7qbayb2yfgl7940978ayyir948kpjavczvgkr70czb293k"))))
     (build-system qt-build-system)
     (arguments
-     (list
-      #:qtbase qtbase
-      #:tests? #f)) ;no tests
+     `(#:qtbase ,qtbase
+       #:tests? #f ;no tests
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'wrap-program
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let ((socat (search-input-file inputs "bin/socat")))
+               (wrap-program (search-input-file outputs
+                              "libexec/pam_kwallet_init")
+                 `("PATH" ":" prefix
+                   ,(list (dirname socat))))))))))
     (native-inputs (list extra-cmake-modules pkg-config))
     (inputs (list linux-pam kwallet libgcrypt socat))
     (synopsis "PAM Integration with KWallet")
-- 
2.49.0





Information forwarded to sughosha@HIDDEN, z572@HIDDEN, guix-patches@HIDDEN:
bug#78188; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 May 2025 13:51:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 01 09:51:14 2025
Received: from localhost ([127.0.0.1]:49925 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uAUJm-0001pE-6A
	for submit <at> debbugs.gnu.org; Thu, 01 May 2025 09:51:14 -0400
Received: from lists.gnu.org ([2001:470:142::17]:47800)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <sergio.pastorperez@HIDDEN>)
 id 1uAUJi-0001ou-HX
 for submit <at> debbugs.gnu.org; Thu, 01 May 2025 09:51:11 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sergio.pastorperez@HIDDEN>)
 id 1uAUJZ-0001Ky-6X
 for guix-patches@HIDDEN; Thu, 01 May 2025 09:51:01 -0400
Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <sergio.pastorperez@HIDDEN>)
 id 1uAUJX-0004gu-Fu
 for guix-patches@HIDDEN; Thu, 01 May 2025 09:51:00 -0400
Received: by mail-wm1-x32d.google.com with SMTP id
 5b1f17b1804b1-43d2d952eb1so4651515e9.1
 for <guix-patches@HIDDEN>; Thu, 01 May 2025 06:50:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1746107457; x=1746712257; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=LSVQQmEUXAD0Ni5bLVRr2P6+wCv/7+9IrW3JTKjoxfU=;
 b=UYqm2VjunOsoxSmKnlVdqjjVFnBNnW8QdU7s413Gfo8+o1S4ANyYgY9ObsTc8hkfuT
 F++dxKfrxipksNrieiCQ2EC9eOa1YwHPpw+ga2QGSB7XjT0N11rQy/QflozqvV2bYXDG
 oc0QxxWcJYJDiJYdU49zxOWX7rggJT4RjGilefl0jB94QSAkwFOAOL8d3hx1zmB7lvQP
 ZzVz83QogqDKkz40KKnLcJ6mnND7EkYt/z6FiLpNH/Ee/XFOQ2iSpVGJFky2YTC2TDP4
 egEE78xao0pVst/PvgKGdTNf4doqgVhwIMf69zgCwGK+Pmx6sXTF361Yv/ROzyW3MRZn
 yOmA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1746107457; x=1746712257;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=LSVQQmEUXAD0Ni5bLVRr2P6+wCv/7+9IrW3JTKjoxfU=;
 b=Kz/QuMbhkfC8LijvOufhAx9SiT0ODCeygLJ7KhgGO8By1QgBbRHIMnM56fmi+Mgy4G
 3ZGG3T03NulHJNQH8EyxwRucT3e7Xt+tZ6yymr3rCdBZ161F2Co2mAT4saxBQedepSXC
 d0jf8JkjFvbWvmbQACW7ia4Cv5iynnxmuskC5vcRp/KntrfY13wGaP4/JIEP0Jr67HpQ
 vNCS/vy5ShYuZE413P5mYhrKQou7PXp+USWrfvesrCLN6Fy0ytRb9IeZK6ss0GCdSNBM
 GV8Ae6XtC7k16Vn/QwCwjxpjLyrQrrH4eGQV9mhfVEgJ/sQQyMU+RxpRqByw0ThsmMrY
 8qWw==
X-Gm-Message-State: AOJu0Yxue33v78A+04L2TJga04GKc9mpCS/FTjoblpOCqS3uHB+opOy/
 g28upo4p4zo+NzcshDacBk1RvlYdmCyNZ6QZjTxc1R8SDrABMjM2Rq9+3Y1U
X-Gm-Gg: ASbGncuIfF8TqHNpKLDDDnsRnxBz/rA2N5sP6p1XG8g3mtW1BbwPgx/imLOEf8DyOO8
 pGLoyRmYSBO1Qaa4wMADHF6PXGaPCIaAwGHlb/ES6Rg/rP9mAliPPaSH+RXLSG79kmlx3OmFZUj
 hpvqVwaxlSZpp9d5riDg7jpWQiZCMppJoTSkO2GD6vTpHV8yqa7ahqh5II8OENWqdaf1Py2Rrw7
 Xv8WwLBCjQXw3p1BS62iwY3obeUdCgN+QMy/976sDKlzNzXoVkfmIT5Mow6aLMEUtcQLMWNNW9B
 /XWt58uHhrxP4LjGWKJX0or+n4fPRrahiNPKOd54vmAs6Ma9XWnxJQ==
X-Google-Smtp-Source: AGHT+IFjC51UvEOLS03x70dxvPqGsU6Y/WzPeJwF5Q5hrncmRBv/+2W2ElY/5XR5XPk4I5KL41V70g==
X-Received: by 2002:a05:600c:190e:b0:43c:f0ae:da7 with SMTP id
 5b1f17b1804b1-441b64ed98emr21697995e9.7.1746107456390; 
 Thu, 01 May 2025 06:50:56 -0700 (PDT)
Received: from localhost ([2a0c:5a85:d206:4200:cd7d:99ee:cee8:cc4a])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-441b391c42bsm52572475e9.39.2025.05.01.06.50.55
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 01 May 2025 06:50:55 -0700 (PDT)
From: =?UTF-8?q?Sergio=20Pastor=20P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] Add KWallet service
Date: Thu,  1 May 2025 15:50:24 +0200
Message-ID: <cover.1746106890.git.sergio.pastorperez@HIDDEN>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Debbugs-Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>, Ludovic Courtès <ludo@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Noé Lopez <noelopez@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2a00:1450:4864:20::32d;
 envelope-from=sergio.pastorperez@HIDDEN; helo=mail-wm1-x32d.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: =?UTF-8?q?Sergio=20Pastor=20P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

This patch series adds `kwallet-service-type'. This service serves the same
function as `gnome-keyring-service-type' but for `kwallet'. By default the
service configures PAM for SDDM, since this is the expected greeter to use
with `kwallet-pam'.

The 'libexec/pam_kwallet_init' binary form the `kwallet-pam' package was not
properly wrapped and could not access the `socat' input binary. This patch
series includes the fix which is required for the correct autostart of the
wallet.

Sergio Pastor Pérez (2):
  gnu: kwallet-pam: Fix socat not in 'libexec/pam_kwallet_init' wrapper
    path.
  services: kwallet: New service.

 doc/guix.texi               | 37 ++++++++++++++++++++++
 gnu/packages/kde-plasma.scm | 14 +++++++--
 gnu/services/desktop.scm    | 61 +++++++++++++++++++++++++++++++++++++
 3 files changed, 109 insertions(+), 3 deletions(-)


base-commit: 881d46eb386c2de8bc6f1405972ee1e115eeb3a1
-- 
2.49.0





Acknowledgement sent to Sergio Pastor Pérez <sergio.pastorperez@HIDDEN>:
New bug report received and forwarded. Copy sent to liliana.prikler@HIDDEN, ludo@HIDDEN, maxim.cournoyer@HIDDEN, noelopez@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN. Full text available.
Report forwarded to liliana.prikler@HIDDEN, ludo@HIDDEN, maxim.cournoyer@HIDDEN, noelopez@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:
bug#78188; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 1 May 2025 14:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.