[imp] PGP functionality
Didi Rieder
adrieder@sbox.tugraz.at
Mon, 23 Sep 2002 17:11:44 +0200
--On Monday, September 23, 2002 10:06:02 AM -0400 Chuck Hagenbuch
<chuck@horde.org> wrote:
> Quoting Didi Rieder <adrieder@sbox.tugraz.at>:
>
>> Does the pgp stuff in IMP (cvs HEAD) work at all? I tried it but I had
>> only little success with it.
>
> Yes, it does. I can't speak to your specific problems right now, but you
> didn't post your path to gpg in your conf section; otherwise, are you
> getting specific errors anywhere? Are you sure you have the latest CVS of
> everything? Do you have the public key field in Turba working correctly?
I checked the horde stuff out yesterday.
Here the path to gpg:
$conf['utils']['gnupg'] = '/usr/local/bin/gpg';
[root@webmail config]# which gpg
/usr/local/bin/gpg
I'm not sure what the ca-bundle.crt should look like, I use the one from
mod_ssl.
Here some stuff that I found in the apache logs:
gpg: "Trust-DB" wird |berpr|ft
gpg: no ultimately trusted keys found
When i redirect the output gpg to a file and try to send my public key to
the keyserver i get the following:
gpg: requesting key 6EA12CE1 from HKP keyserver wwwkeys.pgp.net
gpg: no valid OpenPGP data found.
And IMP replies: Key already exists on the public keyserver.
Here my turba_objects table:
mysql> desc turba_objects;
+---------------------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------------------+--------------+------+-----+---------+-------+
| object_id | varchar(32) | | PRI | | |
| owner_id | varchar(255) | | MUL | | |
| object_type | varchar(255) | | | Object | |
| object_members | blob | YES | | NULL | |
| object_name | varchar(255) | YES | | NULL | |
| object_alias | varchar(32) | YES | | NULL | |
| object_email | varchar(255) | YES | | NULL | |
| object_homeaddress | varchar(255) | YES | | NULL | |
| object_workaddress | varchar(255) | YES | | NULL | |
| object_homephone | varchar(25) | YES | | NULL | |
| object_workphone | varchar(25) | YES | | NULL | |
| object_cellphone | varchar(25) | YES | | NULL | |
| object_fax | varchar(25) | YES | | NULL | |
| object_title | varchar(255) | YES | | NULL | |
| object_company | varchar(255) | YES | | NULL | |
| object_notes | text | YES | | NULL | |
| object_pgppublickey | text | YES | | NULL | |
+---------------------+--------------+------+-----+---------+-------+
17 rows in set (0.00 sec)
>
>> p.s: Also smime doesn't work at all, when I want to activate it, nothing
>> happens.
>
> Do you have openssl support in PHP?
Yep!
./make_my_config.sh
[...]
checking for OpenSSL support... yes
checking for OpenSSL version... >= 0.9.5
Didi
--
-------------------------
Didi Rieder
adrieder@sbox.tugraz.at
-------------------------