[RFC PATCH] dirmngr: Try to recognize user-daemon mode

Werner Koch wk at gnupg.org
Sun Jul 17 09:26:01 CEST 2016

On Sun,  3 Jul 2016 21:34, tomastrnka at gmx.com said:

> Dirmngr needs to tell when it is started as an user daemon through
> start_new_dirmngr(), in order to switch off code paths specific for
> the systemwide case (internal OCSP validation, root-only remote

The idea with the system daemon was to share CRLs between users.
Meanhwile I doubt that this of of any real use given that the majority
of systems running GnuPG in an interactive mode have only one active

For system services using gpgsm or dirmngr, it might be better to use a
dedicated user for dirmngr and don't use the system dirmngr feature.
That would allow us to remove all that extra code.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
 /* Join us at OpenPGP.conf  <https://openpgp-conf.org> */

More information about the Gnupg-devel mailing list