Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,

I am trying to see what would be the best approach to create a class that I can call in order to encrypt/sign an attachment and then email it using SMTP.
Then I want to be able to POP the mail, retrieve the subject with the attachment and verify the signature and decrypt the attachment.
Would you have any suggestiong on how to do such a task?

Thank you

Replies are listed 'Best First'.
Re: Package to Encrypt Decrypt S/MIME
by moritz (Cardinal) on Apr 16, 2008 at 12:02 UTC
    1. Go to http://search.cpan.org/
    2. Type 'smime' in the search box
    3. Hit the 'CPAN search' button
    4. Realize that this has been done twice before
    5. Profit!