From unknown Sun Sep 21 03:01:57 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#62612 <62612@debbugs.gnu.org> To: bug#62612 <62612@debbugs.gnu.org> Subject: Status: [PATCH] home: Add gpg-agent service. Reply-To: bug#62612 <62612@debbugs.gnu.org> Date: Sun, 21 Sep 2025 10:01:57 +0000 retitle 62612 [PATCH] home: Add gpg-agent service. reassign 62612 guix-patches submitter 62612 Ludovic Court=C3=A8s severity 62612 normal tag 62612 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 02 06:54:32 2023 Received: (at submit) by debbugs.gnu.org; 2 Apr 2023 10:54:32 +0000 Received: from localhost ([127.0.0.1]:39269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pivLz-0002BJ-I0 for submit@debbugs.gnu.org; Sun, 02 Apr 2023 06:54:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:49490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pivLw-0002Au-6j for submit@debbugs.gnu.org; Sun, 02 Apr 2023 06:54:30 -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 ) id 1pivLv-0000Yj-NI for guix-patches@gnu.org; Sun, 02 Apr 2023 06:54:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pivLu-0001hd-Fq; Sun, 02 Apr 2023 06:54:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=ORBucfeCzX0ZXd2rJcCoqjODNPnY7E6VFwQhI5VCYVI=; b=OfpsjYRCIFF4Ld ooOwKxPz6PivSO7e22BeFzPiiT82avwuyuNlx1D4y6w8sB/R4qNw180ywBW49MAiqIGZBT62kHNQ1 DMNsaLeO+fgel5baOrEww7zjIrkdmQTjAiHuDyQR8rFq1oGRq4a27KUFO9/Uf78U5kpu3aoEx5rqh iDAepXcIj3+2o3VB9xTnQ3iwxwTPrqdorAaJU/Vw0XpjNcZqPWC9pwbmV+BT/RRDWKPycavz+DnUG UTRFRQK7HrN1Sm24l/lqZqIfC9kqWDeSyg6y6hlJ8pxNZHYhAQIb9sfy2S9Qk5yDwMdR2fsF00sUB in8RcQmtRuQx0voRWbcg==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pivLt-000782-Uo; Sun, 02 Apr 2023 06:54:26 -0400 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: guix-patches@gnu.org Subject: [PATCH] home: Add gpg-agent service. Date: Sun, 2 Apr 2023 12:54:16 +0200 Message-Id: <20230402105416.20689-1-ludo@gnu.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Debbugs-Cc: , Andrew Tropin Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/home/services/gnupg.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (GNU Privacy Guard): New node. (Secure Shell): Link to it. --- doc/guix.texi | 93 +++++++++++++++++++++- gnu/home/services/gnupg.scm | 150 ++++++++++++++++++++++++++++++++++++ gnu/local.mk | 1 + 3 files changed, 240 insertions(+), 4 deletions(-) create mode 100644 gnu/home/services/gnupg.scm Hello! This patch adds a service for ‘gpg-agent’, allowing you to use it both for OpenPGP keys (its main job) and for OpenSSH keys, with Pinentry integration. Comments welcome! Ludo’. diff --git a/doc/guix.texi b/doc/guix.texi index a58ea8f9ec..29e8d27029 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -41787,11 +41787,12 @@ services)}. * Power Management: Power Management Home Services. Services for battery power. * Shepherd: Shepherd Home Service. Managing User's Daemons. * SSH: Secure Shell. Setting up the secure shell client. +* GPG: GNU Privacy Guard. Setting up GPG and related tools. * Desktop: Desktop Home Services. Services for graphical environments. * Guix: Guix Home Services. Services for Guix. * Fonts: Fonts Home Services. Services for managing User's fonts. * Sound: Sound Home Services. Dealing with audio. -* Messaging: Messaging Home Services. Services for managing messaging. +* Messaging: Messaging Home Services. Services for managing messaging. * Media: Media Home Services. Services for managing media. @end menu @c In addition to that Home Services can provide @@ -42557,15 +42558,18 @@ The @uref{https://www.openssh.com, OpenSSH package} includes a daemon, the @command{ssh-agent} command, that manages keys to connect to remote machines using the @acronym{SSH, secure shell} protocol. With the @code{(gnu home services ssh-agent)} service, you can configure the -OpenSSH ssh-agent to run upon login. +OpenSSH ssh-agent to run upon login. @xref{GNU Privacy Guard, +@code{home-gpg-agent-service-type}}, for an alternative to OpenSSH's +@command{ssh-agent}. + Here is an example of a service and its configuration that you could add to the @code{services} field of your @code{home-environment}: @lisp (service home-ssh-agent-service-type - (home-ssh-agent-configuration - (extra-options '("-t" "1h30m")))) + (home-ssh-agent-configuration + (extra-options '("-t" "1h30m")))) @end lisp @defvar home-ssh-agent-service-type @@ -42590,6 +42594,87 @@ Extra options will be passed to @command{ssh-agent}, please run @end table @end deftp +@node GNU Privacy Guard +@subsection GNU Privacy Guard + +@cindex GNU Privacy Guard, Home service +@cindex GPG, Home service +The @code{(gnu home services gnupg)} modules provides services that help +you set up the GNU Privacy Guard, also known as GnuPG or GPG, in your +home environment. + +@cindex gpg-agent, Home service +@cindex SSH agent, with gpg-agent +The @code{gpg-agent} service configures and sets up GPG's agent, the +program that is responsible for managing OpenPGP private keys and, +optionally, OpenSSH (secure shell) private keys (@pxref{Invoking +GPG-AGENT,,, gnupg, Using the GNU Privacy Guard}). + +As an example, here is how you would configure @code{gpg-agent} with SSH +support such that it uses the Emacs-based Pinentry interface when +prompting for a passphrase: + +@lisp +(service home-gpg-agent-service-type + (home-gpg-agent-configuration + (pinentry-program + (file-append pinentry-emacs "/bin/pinentry-emacs")) + (ssh-support? #t))) +@end lisp + +The service reference is given below. + +@defvar home-gpg-agent-service-type +This is the service type for @command{gpg-agent} (@pxref{Invoking +GPG-AGENT,,, gnupg, Using the GNU Privacy Guard}). Its value must be a +@code{home-gpg-agent-configuration}, as shown below. +@end defvar + +@c %start of fragment + +@deftp {Data Type} home-gpg-agent-configuration +Available @code{home-gpg-agent-configuration} fields are: + +@table @asis +@item @code{gnupg} (default: @code{gnupg}) (type: file-like) +The GnuPG package to use. + +@item @code{pinentry-program} (type: file-like) +Pinentry program to use. Pinentry is a small user interface that +@command{gpg-agent} delegates to anytime it needs user input for a +passphrase or @acronym{PIN,personal identification number} +(@pxref{Top,,, pinentry,Using the PIN-Entry}). + +@item @code{ssh-support?} (default: @code{#f}) (type: boolean) +Whether to enable @acronym{SSH,secure shell} support. When true, +@command{gpg-agent} acts as a drop-in replacement for OpenSSH's +@command{ssh-agent} program, taking care of OpenSSH secret keys and +directing passphrase requests to the chosen Pinentry program. + +@item @code{default-cache-ttl} (default: @code{600}) (type: integer) +Time a cache entry is valid, in seconds. + +@item @code{max-cache-ttl} (default: @code{7200}) (type: integer) +Maximum time a cache entry is valid, in seconds. After this time a +cache entry will be expired even if it has been accessed recently. + +@item @code{default-cache-ttl-ssh} (default: @code{1800}) (type: integer) +Time a cache entry for SSH keys is valid, in seconds. + +@item @code{max-cache-ttl-ssh} (default: @code{7200}) (type: integer) +Maximum time a cache entry for SSH keys is valid, in seconds. + +@item @code{extra-content} (default: @code{""}) (type: raw-configuration-string) +Raw content to add to the end of @file{~/.gnupg/gpg-agent.conf}. + +@end table + +@end deftp + + +@c %end of fragment + + @node Desktop Home Services @subsection Desktop Home Services diff --git a/gnu/home/services/gnupg.scm b/gnu/home/services/gnupg.scm new file mode 100644 index 0000000000..7e9e02a3cc --- /dev/null +++ b/gnu/home/services/gnupg.scm @@ -0,0 +1,150 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Ludovic Courtès +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu home services gnupg) + #:use-module (guix gexp) + #:use-module ((guix records) #:select (match-record)) + #:use-module (gnu services) + #:use-module (gnu services configuration) + #:use-module (gnu home services) + #:use-module (gnu home services shepherd) + #:autoload (gnu packages gnupg) (gnupg pinentry) + #:export (home-gpg-agent-configuration + home-gpg-agent-configuration? + home-gpg-agent-configuration-gnupg + home-gpg-agent-configuration-pinentry-program + home-gpg-agent-configuration-ssh-support? + home-gpg-agent-configuration-default-cache-ttl + home-gpg-agent-configuration-max-cache-ttl + home-gpg-agent-configuration-max-cache-ttl-ssh + home-gpg-agent-configuration-extra-content + + home-gpg-agent-service-type)) + +(define raw-configuration-string? string?) + +;; Configuration of 'gpg-agent'. +(define-configuration/no-serialization home-gpg-agent-configuration + (gnupg + (file-like gnupg) + "The GnuPG package to use.") + (pinentry-program + (file-like (file-append pinentry "/bin/pinentry-curses")) + "Pinentry program to use. Pinentry is a small user interface that +@command{gpg-agent} delegates to anytime it needs user input for a passphrase +or @acronym{PIN, personal identification number} (@pxref{Top,,, pinentry, +Using the PIN-Entry}).") + (ssh-support? + (boolean #f) + "Whether to enable @acronym{SSH, secure shell} support. When true, +@command{gpg-agent} acts as a drop-in replacement for OpenSSH's +@command{ssh-agent} program, taking care of OpenSSH secret keys and directing +passphrase requests to the chosen Pinentry program.") + (default-cache-ttl + (integer 600) + "Time a cache entry is valid, in seconds.") + (max-cache-ttl + (integer 7200) + "Maximum time a cache entry is valid, in seconds. After this time a cache +entry will be expired even if it has been accessed recently.") + (default-cache-ttl-ssh + (integer 1800) + "Time a cache entry for SSH keys is valid, in seconds.") + (max-cache-ttl-ssh + (integer 7200) + "Maximum time a cache entry for SSH keys is valid, in seconds.") + (extra-content + (raw-configuration-string "") + "Raw content to add to the end of @file{~/.gnupg/gpg-agent.conf}.")) + +(define (home-gpg-agent-configuration-file config) + "Return the @file{gpg-agent.conf} file for @var{config}." + (match-record config + (pinentry-program default-cache-ttl max-cache-ttl + default-cache-ttl-ssh max-cache-ttl-ssh + extra-content) + (mixed-text-file "gpg-agent.conf" + "pinentry-program " pinentry-program "\n" + "default-cache-ttl " + (number->string default-cache-ttl) "\n" + "max-cache-ttl " + (number->string max-cache-ttl) "\n" + "default-cache-ttl-ssh " + (number->string default-cache-ttl-ssh) "\n" + "max-cache-ttl-ssh " + (number->string max-cache-ttl-ssh) "\n" + extra-content))) + +(define (home-gpg-agent-shepherd-services config) + "Return the possibly-empty list of Shepherd services for @var{config}." + (match-record config + (gnupg ssh-support?) + ;; 'gpg-agent' is started on demand by GnuPG's programs, but it has to be + ;; started explicitly when OpenSSH support is enabled (info "(gnupg) Agent + ;; Options"). + (if ssh-support? + (let ((endpoint (lambda (name socket) + #~(endpoint + (make-socket-address + AF_UNIX + (string-append %user-runtime-dir + "/gnupg/" #$socket)) + #:name #$name + #:socket-directory-permissions #o700)))) + (list (shepherd-service + (provision '(gpg-agent ssh-agent)) + (modules '((shepherd support))) ;for '%user-runtime-dir' + (start #~(make-systemd-constructor + (list #$(file-append gnupg "/bin/gpg-agent") + "--supervised" "--enable-ssh-support") + (list #$(endpoint "ssh" "S.gpg-agent.ssh") + #$(endpoint "browser" "S.gpg-agent.browser") + #$(endpoint "extra" "S.gpg-agent.extra") + ;; #$(endpoint "scdaemon" "S.scdaemon") + #$(endpoint "std" "S.gpg-agent")))) + (stop #~(make-systemd-destructor)) + (documentation "Start 'gpg-agent', the GnuPG passphrase +agent, with support for handling OpenSSH material.")))) + '()))) + +(define (home-gpg-agent-files config) + `((".gnupg/gpg-agent.conf" ,(home-gpg-agent-configuration-file config)))) + +(define (home-gpg-agent-environment-variables config) + "Return GnuPG environment variables needed for @var{config}." + (if (home-gpg-agent-configuration-ssh-support? config) + `(("SSH_AUTH_SOCK" + . "$XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh")) + '())) + +(define home-gpg-agent-service-type + (service-type + (name 'home-gpg-agent) + (extensions + (list (service-extension home-files-service-type + home-gpg-agent-files) + (service-extension home-shepherd-service-type + home-gpg-agent-shepherd-services) + (service-extension home-environment-variables-service-type + home-gpg-agent-environment-variables))) + (default-value (home-gpg-agent-configuration)) + (description + "Configure GnuPG's agent, @command{gpg-agent}, which is responsible for +managing OpenPGP and optionally SSH private keys. When SSH support is +enabled, @command{gpg-agent} acts as a drop-in replacement for OpenSSH's +@command{ssh-agent}."))) diff --git a/gnu/local.mk b/gnu/local.mk index 3a93ab50dd..77243b7c2f 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -91,6 +91,7 @@ GNU_SYSTEM_MODULES = \ %D%/home/services/desktop.scm \ %D%/home/services/symlink-manager.scm \ %D%/home/services/fontutils.scm \ + %D%/home/services/gnupg.scm \ %D%/home/services/guix.scm \ %D%/home/services/media.scm \ %D%/home/services/messaging.scm \ base-commit: e7558d16479158f893bca7c295986c08c151caa9 -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 09 03:33:41 2023 Received: (at 62612-done) by debbugs.gnu.org; 9 Apr 2023 07:33:41 +0000 Received: from localhost ([127.0.0.1]:60179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plPYS-0001um-Oi for submit@debbugs.gnu.org; Sun, 09 Apr 2023 03:33:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plPYQ-0001uQ-SX for 62612-done@debbugs.gnu.org; Sun, 09 Apr 2023 03:33:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plPYK-0005iy-MI; Sun, 09 Apr 2023 03:33:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=dybWzoe1srEDuWTgv/qHK5Yjwn0eulFtbO5K8mbYe5w=; b=mlrX0SjlZZrtaHuhuGUF 1Y95vdoyNHUrVkTACT23+LqA6oiyMgeB6oMl16GJarbguoU/qkEDIZiUhSP5PbIt9HuJaS2iJrJT6 QBODxlm0G0x3piLRIYGY6W2c2qRbHCpZ3RbkKYIacJuWmI/UW5q1JU8o17y4F4hRSSWthMKTKTNQ5 ci40tOTklM3i7UzUAPF+nWOaUi0vby4X0WJzRGFJl6a/KStZvdWQ4b+zYuyoOrux7J4QKnwjNAht4 T67Zqw96x+JyOk5WrC7/HNSmcCwPxWgs9lXOZ/9w6Evw9GjEqX1dK9ud2IQegIrRVlR16rFfZxFUy rTkFwjbEnFTfOg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plPYJ-0004l1-7w; Sun, 09 Apr 2023 03:33:31 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 62612-done@debbugs.gnu.org Subject: Re: bug#62612: [PATCH] home: Add gpg-agent service. References: <20230402105416.20689-1-ludo@gnu.org> Date: Sun, 09 Apr 2023 09:33:28 +0200 In-Reply-To: <20230402105416.20689-1-ludo@gnu.org> ("Ludovic =?utf-8?Q?Cou?= =?utf-8?Q?rt=C3=A8s=22's?= message of "Sun, 2 Apr 2023 12:54:16 +0200") Message-ID: <875ya5a4s7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62612-done Cc: paren@disroot.org, Andrew Tropin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > * gnu/home/services/gnupg.scm: New file. > * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. > * doc/guix.texi (GNU Privacy Guard): New node. > (Secure Shell): Link to it. I went ahead and pushed it as 6420015e6d3300e7a73da9a8253428d8386954d6. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 09 06:00:10 2023 Received: (at 62612-done) by debbugs.gnu.org; 9 Apr 2023 10:00:10 +0000 Received: from localhost ([127.0.0.1]:60286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plRqE-0007CW-59 for submit@debbugs.gnu.org; Sun, 09 Apr 2023 06:00:10 -0400 Received: from knopi.disroot.org ([178.21.23.139]:35690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plRqC-0007BI-8A for 62612-done@debbugs.gnu.org; Sun, 09 Apr 2023 06:00:09 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E238F401BA; Sun, 9 Apr 2023 12:00:06 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KUNFc-YIMJLL; Sun, 9 Apr 2023 12:00:05 +0200 (CEST) Content-Type: multipart/signed; boundary=c06b006595a563c0623331bebcff9c19fd1bbeaa09789d104df84572f0d3; micalg=pgp-sha512; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1681034405; bh=Z7wJIR81cUIVgT3FI72FGp2NY2n4PNZREmEKUi0F+0k=; h=Date:Subject:From:To:Cc:References:In-Reply-To; b=K3YunreM4gaD9ki4OgvbZh4hqygaIX/kZrR0DJ3ptx3OaROWC5qT0JEBczIg26AMH LaYvBe7nh8GAAKsvEnhWNm9FuJiwxs21iS/yetzQHFnAuqOdhFZ9Jh/77A7Qppl5+r 9fPWvNUAFI3HQ6VtUZD7qlv/r9foQJphMVyGENIvRwuj9VCfPGWe1MmKQb8/zdyT7/ VineYp+2u9aIHcAidpVx2Sv2SXcNkuq/NjSOIBwtnORFJrQE2pSu/kK/M0yY/a7RK6 YGbRPTm8kVuVKK49rMhHoHRXfhrh54CJCl3dDP8kvgHQGZiRriWsoxI568qjnmP5pO wDMOFTwBhjeTQ== Date: Sun, 09 Apr 2023 11:00:04 +0100 Message-Id: Subject: Re: bug#62612: [PATCH] home: Add gpg-agent service. From: "(" To: =?utf-8?q?Ludovic_Court=C3=A8s?= , <62612-done@debbugs.gnu.org> References: <20230402105416.20689-1-ludo@gnu.org> <875ya5a4s7.fsf@gnu.org> In-Reply-To: <875ya5a4s7.fsf@gnu.org> X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 62612-done Cc: Andrew Tropin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --c06b006595a563c0623331bebcff9c19fd1bbeaa09789d104df84572f0d3 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Sun Apr 9, 2023 at 8:33 AM BST, Ludovic Court=C3=A8s wrote: > I went ahead and pushed it as 6420015e6d3300e7a73da9a8253428d8386954d6. YES! This will definitely be useful. Thanks! (Though could you consider adding EMACS-SUPPORT? {'allow-emacs-pinentry'} and ALLOW-LOOPBACK? {'allow-loopback-pinentry'} options to the record? It's no big deal, since there's an extra options section, but it'd be nice to fully integrate suppo= rt for permitting EPG's pinentry to do its thing.) Side note: I didn't know about %USER-RUNTIME-DIR; i'd better look in the Shepherd sources sometime to see what other gems they hide :) -- ( --c06b006595a563c0623331bebcff9c19fd1bbeaa09789d104df84572f0d3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGyBAABCgAdFiEE6Vh10NblKE5doNlW7ImHg/nqI20FAmQyjKUACgkQ7ImHg/nq I22OJwv4/N9jpJT5cBGW4BIBdh1rBlwoJWiL70AdiLN9P/7jyot5FkDPaP0ZJpX3 O8ehsAlOJ8tgFXiRZDYWH0YlXx6dGM1V204Cf0QamsQnmhFvpCF9bY4MmCl0LSTV ACqum0Lr7aj2OHuUlprdr2f3L+cHLGp/4zYPSYTH1V0KvUnlosn5YKb0BKmpsNwV Txf16EIGHD/oo5ORhoPHB2rCK0ZTjSS3DpJ9VEhXRQmOK0Sdp+hth6vraBrb3UIJ DJ0m14DAkuqumN/Qha0X5c+k33VkImnFTiRYRXUAdk9w1+/jqoHPVwaUNcz/2Kvt MgPeRh2hhN0V5Io9V4U+Yvfg3CEM9u8mckm9bTHhP04OHYZYuGfDbwL6auhODJNq r1v4u/YA5QV8eu30PRnOYrZw3m6vOs9BfUjk4DQi/HILFRbLl6hrsYG5pk+mH5TJ JKs7WSoxzeGEhJBb+LAu3QlryUiMmX5xfBNqIl58Pd6Z6YaLNHsDRl3+HKvOSKh2 faNb/8g= =GrOI -----END PGP SIGNATURE----- --c06b006595a563c0623331bebcff9c19fd1bbeaa09789d104df84572f0d3-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 20 06:19:57 2023 Received: (at 62612-done) by debbugs.gnu.org; 20 Apr 2023 10:19:57 +0000 Received: from localhost ([127.0.0.1]:36666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppROP-0005My-DP for submit@debbugs.gnu.org; Thu, 20 Apr 2023 06:19:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppRON-0005Mi-Lo for 62612-done@debbugs.gnu.org; Thu, 20 Apr 2023 06:19:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppROH-0001Lr-VM; Thu, 20 Apr 2023 06:19:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=35ZHEmZPsxLvZUf5fDlJ1jziRKlNyl+9w9l2jg2U94k=; b=TxtOUtblMH0cyepQHhK6 WSeiIwR6azDdKEt5ySOHzrOS0GXnaSweMMEa/q1NTrXG2g6eTI3cl0k9oFE1r+KGH3nJ9Nn1izz6J TNXGEI0d4YtlWMjmq//wdxOg/+C9Sq/wOOUkGGiH5TlnExOlGYR+TrLKEhYQWBMLFXefO5aZQkBd7 UEAc29R1pxTL+H4p5BUUlJQQNoyk59YVuyMPl37iDWlVLNjp7fKNpPIYNQl3a2+8AFXgOw7nBx9iA S0OylAiAkOuPzMu0SpFb4dgv+gTpJWXXILsRVFU1JMqguYuOr9MF7+xKXjYzP+45DPXUEgC5ST+bj AKxN1aXNVx3aFQ==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppROH-0004V0-Ft; Thu, 20 Apr 2023 06:19:49 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "(" Subject: Re: bug#62612: [PATCH] home: Add gpg-agent service. References: <20230402105416.20689-1-ludo@gnu.org> <875ya5a4s7.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 1 =?utf-8?Q?Flor=C3=A9al?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de la Rose X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 20 Apr 2023 12:19:46 +0200 In-Reply-To: (paren@disroot.org's message of "Sun, 09 Apr 2023 11:00:04 +0100") Message-ID: <87ttxavosd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62612-done Cc: 62612-done@debbugs.gnu.org, Andrew Tropin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, "(" skribis: > On Sun Apr 9, 2023 at 8:33 AM BST, Ludovic Court=C3=A8s wrote: >> I went ahead and pushed it as 6420015e6d3300e7a73da9a8253428d8386954d6. > > YES! This will definitely be useful. Thanks! (Though could you consider > adding EMACS-SUPPORT? {'allow-emacs-pinentry'} and ALLOW-LOOPBACK? > {'allow-loopback-pinentry'} options to the record? It's no big deal, sin= ce > there's an extra options section, but it'd be nice to fully integrate sup= port > for permitting EPG's pinentry to do its thing.) What would these options do? Well maybe send a patch and I=E2=80=99ll lear= n. :-) (For me, setting =E2=80=98pinentry-program=E2=80=99 was enough to get Emacs= support.) > Side note: I didn't know about %USER-RUNTIME-DIR; i'd better look in the > Shepherd sources sometime to see what other gems they hide :) Heheh. Thanks for your feedback, Ludo=E2=80=99. From unknown Sun Sep 21 03:01:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 18 May 2023 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator