Page MenuHome GnuPG

gpgsm has --prefer-system-dirmngr, but system-wide dirmngr is deprecated
Closed, ResolvedPublic

Description

in recent versions of gpg 2.1, dirmngr is not generally intended to run as a
system-wide daemon. From dirmngr(8):

       For historical reasons it is also possible to start dirmngr in a system
       daemon  mode  which  uses  a different directory layout.  However, this
       mode is deprecated and may eventually be removed.

But gpgsm has the option --prefer-system-dirmngr, which is not explicitly marked
as deprecated (and on Windows it is always used):

       --prefer-system-dirmngr
              If a system wide dirmngr is running in daemon mode, first try to
              connect  to  this  one.  Fallback to a pipe based server if this
              does not work.  Under Windows this option is ignored because the
              system dirmngr is always used.

These seem to be in conflict with one another. It would be good to align them.

Details

Version
2.1.11

Event Timeline

dkg added projects: gnupg, Bug Report.
dkg added a subscriber: dkg.
werner lowered the priority of this task from Normal to Low.Jan 29 2016, 11:09 AM
werner added a project: Documentation.
marcus claimed this task.
marcus added a subscriber: marcus.

The passage has been removed from the dirmngr man page, and I marked the gpgsm option as obsolete.