[horde] GNUPG - Windows - Horde Framework Problems & Little Fix
LRM
lrm at ionline.com.br
Thu Sep 9 11:43:35 PDT 2004
Hello buddies,
Trying to make IMP's PGP work on Windows with GNUPG, i had to comment out around line 141 of Horde's Framework Crypt/pgp.php as follows:
/* Store the location of GnuPG and set common options. */
$this->_gnupg = array(
//'LANG= ;',
$params['program'],
'--no-tty',
....
That was making a command line starting with 'LANG= ;' which would never run on a Winblows box. Commenting that line makes the key generation thing work properly, but there are other problems when checking the passphrase that im still working on.
So heres a little workaround for those trying to generate the keys on a Windows environment, and i would like to ask what the hell is that 'LANG= ;' thing doing on the beginning of the command line, before the .exe name itself... So i can understand what that was supposed to do and prolly patch it properly..
Running all the framework and apps from CVS HEAD with latest PHP 4.3.8 and Win2k/IIS.
Thanks for any information regarding that LANG thing...
LRM
More information about the horde
mailing list