[#7456] additional parameter for gnupg - additional extensions
Summary additional parameter for gnupg - additional extensions
Queue IMP
Queue Version 4.3
Type Enhancement
State Accepted
Priority 2. Medium
Owners
Requester christian (at) hamburg (dot) gay-web (dot) de
Created 10/08/2008 (269 days ago)
Due
Updated 10/11/2008 (266 days ago)
Assigned
Resolved
Attachments
Milestone
Patch No

History
10/11/2008 Jan Schneider State ⇒ Accepted
 
10/08/2008 christian (at) hamburg (dot) gay-web (dot) de Comment #1
Patch ⇒
Milestone ⇒
Summary ⇒ additional parameter for gnupg - additional extensions
Type ⇒ Enhancement
Priority ⇒ 2. Medium
State ⇒ New
Queue ⇒ IMP
Reply to this comment

[Hide Quoted Text]
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.