[dev] HEAD VERSION - PGP save key issue and General PGP questions.

Michael M Slusarz slusarz@bigworm.colorado.edu
Mon, 3 Jun 2002 14:27:05 -0600


Quoting Edwin Culp <eculp@encontacto.net>:

| 
| I've tried to get PGP going off and on for the last couple of weeks.
| I just tried saving a key that I had generated on a previous attempt 
| and rather than just creating an entry in my ldap address book, without 
| the key, as it did previously, I was surprised with the following error
| message:
|  
| Notice: Undefined index: in /usr/src/horde/lib/MIME/Structure.php on line
| 121
| 
| Fatal error: Call to a member function on a non-object in
| /usr/src/horde/imp/pgp.php on line 279
| 

I can not replicate this error.  Looking at the code, it sounds like it 
might be a malformed message... the compose stuff was partially broken a 
couple of weeks or so ago so that might be the problem.

| When I generated this key, the pgp options screen under "Your PGP 
| Public/Private Keys" there was a text area to type in the keys that
| no longer appears.  I'm sure that is indicative of something that
| I may need to configure but I'm not sure what I may have done right
| on my previous attempt.  My apache ssl server(2.0.36 if that is a
| problem)
| seems to be happily purring along. I have horde/horde.php 
| $conf['use_ssl'] = 1 just in case.:-)

Once again, I can not replicate this.  I think someone commented out the 
secure check for the PGP stuff so that shouldn't be a problem.  On that 
point, is there any reason why we commented out the secure check in 
pgp.php?  I realize that some people might not have the secure server 
correctly configured and will get error messages, but isn't that the point?

| Is there any documentation, in addition to the source, for getting IMP
| pgp up an running? 

Just the mailing list archives.

| I'm not totally sure that IMP PGP will work with LDAP although I've
| found nothing to the contrary.  Could someone please confirm this?

I don't see why not - the PGP stuff uses the abstract turba methods to 
retrieve information so as long as that supports LDAP everything _should_ 
be OK.  Since I know < 0 about LDAP (difficult to do), I can't give you 
much more help.

michael

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