[imp] SMIME

Mike Cochrane mike@graftonhall.co.nz
Fri, 23 Aug 2002 01:01:36 +1200


What I have working is now in CVS HEAD. 

Have play and if anyone has the time to get the sending of signed messages
working that would be excellent. I have some other projects to work on for a
while so I'll leave that bit up to someone else for the moment.

Any queries re: understanding  what's there.. just email me...

- Mike :-)

mikec       2002/08/22 05:50:27 PDT

  Modified files:
    config               conf.php.dist conf.xml
                         mime_drivers.php.dist prefs.php.dist
  Added files:
    templates/smime      import_key.inc notactive.inc
                         open_smime_import.js open_smime_win.js
                         passphrase.inc smime.inc
    lib/MIME/Viewer      pkcs7.php
    lib                  SMIME.php
    .                    smime.php
  Log:
  Initial SMIME stuff. It's still a bit of a mess but you can:
  
  - Add/Delete you personal keys.
  - Verify Signed messages
  - View Encryted and Encrypted/Signed messages
  
  This required the php Openssl extension, but it could be easily converted to
using the command line version of openssl if someone wants to do that.
  
  The encrypt function is written and works as far as i know. Someone just needs
to write the code to get peoples keys into Turba and add this to the compose window.
  
  The signing code is there, but is untested. This should be able to be added to
IMP without to much hassle.
  
  Feel free to start patching this code to make it work (better).
  
  Revision  Changes    Path
  1.190     +4 -1      imp/config/conf.php.dist
  1.3       +2 -1      imp/config/conf.xml
  1.22      +2 -2      imp/config/mime_drivers.php.dist
  1.120     +34 -1     imp/config/prefs.php.dist
  1.1       +233 -0    imp/lib/MIME/Viewer/pkcs7.php (new)
  1.1       +311 -0    imp/lib/SMIME.php (new)
  2.1       +173 -0    imp/smime.php (new)
  1.1       +61 -0     imp/templates/smime/import_key.inc (new)
  1.1       +43 -0     imp/templates/smime/notactive.inc (new)
  1.1       +15 -0     imp/templates/smime/open_smime_import.js (new)
  1.1       +15 -0     imp/templates/smime/open_smime_win.js (new)
  1.1       +31 -0     imp/templates/smime/passphrase.inc (new)
  1.1       +124 -0    imp/templates/smime/smime.inc (new)

  Chora Links:
  http://cvs.horde.org/diff.php/imp/config/conf.php.dist?r1=1.189&r2=1.190&ty=u
  http://cvs.horde.org/diff.php/imp/config/conf.xml?r1=1.2&r2=1.3&ty=u
 
http://cvs.horde.org/diff.php/imp/config/mime_drivers.php.dist?r1=1.21&r2=1.22&ty=u
  http://cvs.horde.org/diff.php/imp/config/prefs.php.dist?r1=1.119&r2=1.120&ty=u
  http://cvs.horde.org/co.php/imp/lib/MIME/Viewer/pkcs7.php?r=1.1
  http://cvs.horde.org/co.php/imp/lib/SMIME.php?r=1.1
  http://cvs.horde.org/co.php/imp/smime.php?r=2.1
  http://cvs.horde.org/co.php/imp/templates/smime/import_key.inc?r=1.1
  http://cvs.horde.org/co.php/imp/templates/smime/notactive.inc?r=1.1
  http://cvs.horde.org/co.php/imp/templates/smime/open_smime_import.js?r=1.1
  http://cvs.horde.org/co.php/imp/templates/smime/open_smime_win.js?r=1.1
  http://cvs.horde.org/co.php/imp/templates/smime/passphrase.inc?r=1.1
  http://cvs.horde.org/co.php/imp/templates/smime/smime.inc?r=1.1

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/