[imp] GNUPG & IMP & Addressbook

Michael M Slusarz slusarz@bigworm.colorado.edu
Thu, 30 May 2002 16:18:53 -0600


Quoting Andreas DahlÚn <andreas@dahlen.ws>:

| The path to pgp is configured in horde/imp/config/conf.php
| 
| $conf['utils']['gnupg'] = '/usr/bin/gpg';
| 
| Shouldn't the path to gpg be specified in 
| horde/config/mime_mappings.php as other helper applications are 
| speciefied. For other applications the path is specified with a 
| location entry for teh affected driver.  The timeout value (for 
| keyserver access) should also be configured in mime_mappings.php

I assume you mean horde/config/mime_drivers.php instead...

And the answer is no, as of right now, because there is no PGP viewer for 
Horde - only a specific viewer for IMP.

Additionally, this value ($conf['utils']['gnupg']) is needed in other 
situations besides in a MIME Viewer - for example, imp/pgp.php needs to 
access this variable.  The configuration in mime_drivers.php is only useful 
for use within the MIME_Viewer framework; generally these config variables 
are only accessed inside a MIME_Viewer.  Thus, moving the gnupg path from 
conf.php to mime_drivers.php is not a good thing.

Does this sound right to everyone else?

michael

______________________________________________
Michael Slusarz [slusarz@bigworm.colorado.edu]
The University of Colorado at Boulder