[imp] additional parameter for gnupg?

Jan Schneider jan at horde.org
Mon Oct 6 09:44:02 UTC 2008


Zitat von Christian Kuehn <christian at hamburg.gay-web.de>:

> Hi,
>
> to use my old pgpkey I need to load the idea-extension to gpg.
>
> Normally this will be realized in the "options"-file, but in
> lib/Horde/Crypt/pgp.php use the "--no-options".
>
> In the moment I add the extension directly in the code in
> lib/Horde/Crypt/pgp.php by adding
>
>         /* Store the location of GnuPG and set common options. */
>         $this->_gnupg = array(
>             $params['program'],
>             '--no-tty',
>             '--no-secmem-warning',
>             '--no-options',
>             '--no-default-keyring',
>             '--yes',
> +            '--load-extension /var/httpd/servers/www.gwmail.de/idea',
>             '--homedir ' . $this->_tempdir
>         );
>
> but this not the right way.
>
> Any ideas?

Maybe a configuration setting for additional extensions to be loaded?

Jan.

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



More information about the imp mailing list