28 Nov 2011 23:04
GnuPG v1 Bug in CentOS
Jeffrey Ollie <jeff <at> ocjtech.us>
2011-11-28 22:04:09 GMT
2011-11-28 22:04:09 GMT
Hello, I've bee trying to get MonkeySphere set up on my hosts and I appear to have run across a bug in GnuPG v1 that affects MonkeySphere. Before I figured out the problem, none of my CentOS 5 hosts would publish their host key to the keyservers. I even set up a private keyserver just so that I could do some testing. What is happening is that GnuPG v1 on CentOS 5 hosts (and likely RHEL 5 hosts) won't publish a key to a keyserver if you specify the key using the full 40 byte fingerprint. So the following command to publish the key fails: [root <at> web04 ~]# gpg --home /var/lib/monkeysphere/host --keyserver web10.dmacc.net --send-key 0xB8511DF00DA989B4BABE2DD91D59F99C42F35B7F gpg: sending key 42F35B7F to hkp server web10.dmacc.net [root <at> web04 ~]# echo $? 0 While this command works: [root <at> web04 ~]# gpg --home /var/lib/monkeysphere/host --keyserver web10.dmacc.net --send-key 0x42F35B7F gpg: sending key 42F35B7F to hkp server web10.dmacc.net [root <at> web04 ~]# echo $? 0 GnuPG v2 on CentOS 5 and all versions of GnuPG on Fedora 14+ work just fine. For now I'm going to work around the problem by editing /usr/share/monkeysphere/mh/publish_key to use GnuPG 2.(Continue reading)
RSS Feed