there are no commands in apt-key that use dirmngr, however user passed adv commands can trigger this. One option is for apt-key to proactively kill any outstanding daemons in the temp-keyrings, before exiting.
** Also affects: apt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1633754 Title: dirmngr is used as daemon Status in apt package in Ubuntu: New Status in gnupg2 package in Ubuntu: New Bug description: I'm using Ubuntu 16.10 with gnupg2 2.1.15-1ubuntu6 and for example if I'm using apt-key to receive keys I'm noticing that dirmngr is started and kept open after the task is done. If apt-key is used multiple times even multiple times dirmngr is started while the old processes are still open. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1633754/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp