Well, finally I have a working version.
Please consider this as alfa.

The .pm file has embedded POD, I hope it's understandable. I include a
test script which, given two pairs of certficate/private key, a ca cert
and a message, signs, encrypts, decrypts and verifies the message.
The message needs not to be a RFC822, but if it is, it will show
better the handling of headers and parts.

Also I include patches to OpenSSL.pm and X509.pm, many of the changes are
to stop the complaints when running with -w, but in OpenSSL I stripped off
getSMIME and added a functionality to the data conversion routine to
extract a public key from a key file. The patches are against version
0.9.1-1.

Commentary, criticism, flames are very welcomed.


Martin.

             |L     _,,,---,,_
      ZZZZZ /,|.-'L'    -.  ;-;;,
           |,4-  ) )-,_. ,( (  ''-'
          '---''(_/--'  :-')_)

Attachment: smime.tgz
Description: GNU Unix tar archive

Attachment: test.pl
Description: Perl program

Reply via email to