Receiving keys as root user
Allan McRae
allan at archlinux.org
Tue Nov 18 04:44:23 CET 2014
On 18/11/14 09:08, Allan McRae wrote:
> On 18/11/14 07:31, Daniel Kahn Gillmor wrote:
>> On 11/17/2014 05:44 AM, Allan McRae wrote:
>>> I have a GPG keychain for the root user which is used to validate all
>>> files in my package management system. To add a key into this key
>>> chain, I have been running:
>>>
>>> sudo gpg --homedir /etc/pacman.d/gnupg/ --recv-keys EAE999BD
>>>
>>> With the 2.1 release, this now give the following error:
>>>
>>> gpg: connecting dirmngr at '/root/.gnupg/S.dirmngr' failed: IPC connect
>>> call failed
>>> gpg: keyserver receive failed: No dirmngr
>>>
>>>
>>> Is there a way to handle this that I am missing or is it a bug?
>>
>> what version of dirmngr are you running? gnupg 2.1.0 needs to use
>> dirmngr 2.1.0 (found in the gnupg 2.1.x source now, instead of the
>> separate distribution).
>
> I am using the latest version:
>
> # dirmngr --version
> dirmngr (GnuPG) 2.1.0
>
I have found running "dirmngr < /dev/null" as root creates
/root/.gnupg/S.dirmngr and allows gpg to work properly.
Is this something that should happen automatically?
Allan
More information about the Gnupg-users
mailing list