From a264a7e06ee54d93823a579a87130a5cef009aec Mon Sep 17 00:00:00 2001 From: Ada Stevenson Date: Mon, 24 Aug 2026 18:15:06 +0800 Subject: =?UTF-8?q?home:=20gnupg:=20Start=20=E2=80=98gnupg-agent=E2=80=99?= =?UTF-8?q?=20with=20=E2=80=98--deprecated-supervised=E2=80=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/home/services/gnupg.scm (home-gpg-agent-shepherd-services) [start]: Use `--deprecated-supervised` flag. As of gnupg@2.5.20, the `--supervised` flag (systemd-style activation) is deprecated. Using the `--deprecated-supervised` flag restores previous behaviour, but extra investigation is required to migrate this service to use the supported gpg-agent flags. See #10751 for an early attempt. Fixes: #10660 Signed-off-by: Ludovic Courtès Modified-by: Ludovic Courtès Merges: #10776 --- gnu/home/services/gnupg.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/home/services/gnupg.scm b/gnu/home/services/gnupg.scm index 67a7e267c60..bbc83492260 100644 --- a/gnu/home/services/gnupg.scm +++ b/gnu/home/services/gnupg.scm @@ -128,7 +128,11 @@ entry will be expired even if it has been accessed recently.") #~(lambda args ((make-systemd-constructor (list #$(file-append gnupg "/bin/gpg-agent") - "--supervised" "--enable-ssh-support") + ;; As of gnupg@2.5.20, the '--supervised` flag + ;; for socket activation is deprecated, hence + ;; '--deprecated-supervised'. + "--deprecated-supervised" + "--enable-ssh-support") (list #$(endpoint "ssh" "S.gpg-agent.ssh") #$(endpoint "browser" "S.gpg-agent.browser") #$(endpoint "extra" "S.gpg-agent.extra") -- cgit v1.2.3