[imp] Sending keys to Public Key server

Jan Schneider jan at horde.org
Sun Jul 30 02:34:35 PDT 2006


Zitat von Manilal K M <libregeek at gmail.com>:

> On 29/07/06, Jan Schneider <jan at horde.org> wrote:
>> Zitat von Manilal K M <libregeek at gmail.com>:
>>
>>> On 29/07/06, Jan Schneider <jan at horde.org> wrote:
>>>> Zitat von Manilal K M <libregeek at gmail.com>:
>>>>
>>>>> On 29/07/06, Jan Schneider <jan at horde.org> wrote:
>>>>>> Zitat von Manilal K M <libregeek at gmail.com>:
>>>>>>
>>>>>>> Hi all,
>>>>>>>     I have enabled PGP options in IMP and having problem in sending
>>>>>>> the public key to a public server. The Server I chose is pgp.mit.edu.
>>>>>>> I have created the keys from horde and to export to the public server
>>>>>>> I used the link  [Send Key to Public Keyserver], It gives a  message
>>>>>>> *Key successfully sent to the public keyserver*. But when I search in
>>>>>>> the Key Server, the key is not found. How can I debug the above issue?
>>>>>>> I have verified the logs, but couldn't find anything related to the
>>>>>>> gpg/pgp keys. Any help is appreciated.
>>>>>>
>>>>>> Some issue with uploading PGP keys to key servers has been fixed in
>>>>>> CVS and will be released with the next Horde version.
>>>>>>
>>>>>> Jan.
>>>>>
>>>>> I have checked out framework/Crypt/Crypt/pgp.php  from the CVS. Still
>>>>> it doesn't work. Can u suggest which are the files that are affected ?
>>>>
>>>> That was the correct file, looks like this wasn't your issue then.
>>>>
>>>> Jan.
>>> Is there any way to debug key sending? I couldn't find anything in the
>>> log file, even if the the log level is set to PEAR_LOG_DEBUG.
>>> With my limited knowledge in Horde, I tried to my level best. but no use :(
>>
>> Put some debugging code into putPublicKeyServer() in Crypt/pgp.php.
>>
>
> Jan,
>  I have put three debugging code to three different files:
> imp/pgp.php
> imp/lib/Crypt/PGP.php
> and the third one at framework/Crypt/Crypt/pgp.php (putPublicKeyserver)
> The first two messages were shown in the log file. But the third
> message is not shown. This is the line I put in putPublicKeyserver
> [code]
> Horde::logMessage('putPublicKeyserver',  __FILE__, __LINE__, PEAR_LOG_ERR);
> [/code]
>
> The messages that appeared in the log file is
> [log]
> Jul 29 06:55:42 HORDE [error] [imp] send_public_key [on line 317 of
> "/home/www/html/mail/imp/pgp.php"]
> Jul 29 06:55:42 HORDE [error] [imp] _keyserverConnect [on line 438 of
> "/home/www/html/mail/imp/lib/Crypt/PGP.php"]
> [/log]
>
> I am using Horde-3.2(cvs) with PHP-5.1.4 and gnupg-1.2.6-5
> I think that the framework/Crypt/Crypt/pgp.php is not included or a
> similar issue. Do u have any thoughts?

You didn't update the framework install after downloading the new  
pgp.php. Hint: framework/install-packages.php.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the imp mailing list