From a019a0fcd8dfb9d1eae5bc991fdd54b7cf55641e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 8 Jan 2025 17:10:07 +0100 Subject: Stronger deprecate the --supervised option. * agent/gpg-agent.c (opts): Rename option supervised. * dirmngr/dirmngr.c (opts): Ditto. -- The --supervised way to start gpg-agent has been deprecated for 2.5 years and will probably entirely removed with version 2.6.0. To allow its use until its removal the systemd service description need to be adjusted to use this option. The reason for the deprecation are conflicts with the way systemd starts gpg-agent and gpg expects how gpg-agent is started. In particular gpg expects that the gpg-agent matching its own version is started. Further the systemd way is not portable to other platforms and long term experience on Windows has show that the standard way of starting gpg-agent is less error prone. Note to those who want to re-introduse this option: Pretty please do not use socket names conflicting with our standard socket names. For example use /run/user/1000/foo-gnupg/S.gpg-agent. --- doc/dirmngr.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc/dirmngr.texi') diff --git a/doc/dirmngr.texi b/doc/dirmngr.texi index 16d4cd4ab..d986eaafa 100644 --- a/doc/dirmngr.texi +++ b/doc/dirmngr.texi @@ -86,11 +86,13 @@ This is the way @command{dirmngr} is started on demand by the other GnuPG components. To force starting @command{dirmngr} it is in general best to use @code{gpgconf --launch dirmngr}. -@item --supervised +@item --deprecated-supervised @opindex supervised Run in the foreground, sending logs to stderr, and listening on file descriptor 3, which must already be bound to a listening socket. This -option is deprecated and not supported on Windows. +option is not supported on Windows and deprecated since version 2.3.6. +To clarify its deprecation the option has been renamed with version +2.5.3. @item --list-crls @opindex list-crls -- cgit v1.2.3