summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAda Stevenson <adanskana@gmail.com>2026-08-24 18:15:06 +0800
committerLudovic Courtès <ludo@gnu.org>2026-08-24 13:54:18 +0200
commita264a7e06ee54d93823a579a87130a5cef009aec (patch)
tree224c4316cc87f02b4633703fc898ce715c03eaed
parent1764be570c2366a07da8b79cc903f9cbc994e216 (diff)
home: gnupg: Start ‘gnupg-agent’ with ‘--deprecated-supervised’.
* 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 <ludo@gnu.org> Modified-by: Ludovic Courtès <ludo@gnu.org> Merges: #10776
-rw-r--r--gnu/home/services/gnupg.scm6
1 files changed, 5 insertions, 1 deletions
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.")
128 #~(lambda args 128 #~(lambda args
129 ((make-systemd-constructor 129 ((make-systemd-constructor
130 (list #$(file-append gnupg "/bin/gpg-agent") 130 (list #$(file-append gnupg "/bin/gpg-agent")
131 "--supervised" "--enable-ssh-support") 131 ;; As of gnupg@2.5.20, the '--supervised` flag
132 ;; for socket activation is deprecated, hence
133 ;; '--deprecated-supervised'.
134 "--deprecated-supervised"
135 "--enable-ssh-support")
132 (list #$(endpoint "ssh" "S.gpg-agent.ssh") 136 (list #$(endpoint "ssh" "S.gpg-agent.ssh")
133 #$(endpoint "browser" "S.gpg-agent.browser") 137 #$(endpoint "browser" "S.gpg-agent.browser")
134 #$(endpoint "extra" "S.gpg-agent.extra") 138 #$(endpoint "extra" "S.gpg-agent.extra")