You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by se...@james.apache.org on 2004/08/05 15:24:20 UTC

[jira] Commented: (JAMES-257) S/MIME Matchers/Mailets

The following comment has been added to this issue:

     Author: Vincenzo Gianferrari Pini
    Created: Thu, 5 Aug 2004 6:22 AM
       Body:
Just added four classes:
1) org.apache.james.transport.mailets.SMIMEAbstractSign is an abstract mailet providing common SMIME signature services. It can be subclassed to make authoring signing mailets simple.
2) org.apache.james.transport.mailets.SMIMESign is a mailet that puts a server-side SMIME signature on a message. It is a concrete subclass of SMIMEAbstractSign, with very few modifications to it.
3) org.apache.james.security.KeyHolder is a helper class dealing with all the cryptography related issues.
4) org.apache.james.security.SMIMEAttributeNames contains some SMIME related mail attribute names of general usage.

They seem to work fairly well; I just need to add some more javadoc to KeyHolder.

I found a solution (already of common use) to the Outlook Express problem reported in http://nagoya.apache.org/eyebrowse/ReadMsg?listName=james-dev@jakarta.apache.org&msgNo=9935, so I went on with the work I started in September 2003.

In a few days I will put something in the wiki about all this.

The classes I wrote (specifically KeyHolder) depend heavily on the Bouncy Castle libraries, and bcmail-jdk14-124.jar and bcprov-jdk14-124.jar must be in the {james}/lib directory both to compile and to run. I didn't do such CVS commit. Who should do this (including updating the build scripts)?

I choosed also to break the compatibility with jdk 1.3, as the crypto functionalities are heavily dependent on jdk 1.4+. I could anyhow (I tested it already) make it work also with 1.3, but compilation/deployment would be messy.

Next steps are to build an SMIMECheckSignature mailet, that sets some attributes to be used by other matchers and mailets. I plan to do it possibly in August.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAMES-257?page=comments#action_37051

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-257

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-257
    Summary: S/MIME Matchers/Mailets
       Type: New Feature

     Status: Open
   Priority: Minor

    Project: James
 Components: 
             Matchers/Mailets (bundled)
   Fix Fors:
             2.2.1

   Assignee: Vincenzo Gianferrari Pini
   Reporter: Noel J. Bergman

    Created: Fri, 16 Apr 2004 3:12 PM
    Updated: Thu, 5 Aug 2004 6:22 AM

Description:
Add Vincenzo's S/MIME related code.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: [jira] Commented: (JAMES-257) S/MIME Matchers/Mailets

Posted by "vincenzo.gianferraripini@praxis.it" <tr...@praxis.it>.
Continuing on this subject, the current reply is an example of the 
server-side signature.

Please note the "From:", the "ReplyTo:" and the "Sender:" headers, 
automatically massaged by the mailet. The "From:" header particularly 
has been (optionally) changed  to overcome the reported Outlook Express 
problem.

I'm waiting for comments and suggestions, and for comments on the jdk 
1.4+ choice.

Vincenzo

server-dev@james.apache.org wrote:

>The following comment has been added to this issue:
>
>     Author: Vincenzo Gianferrari Pini
>    Created: Thu, 5 Aug 2004 6:22 AM
>       Body:
>Just added four classes:
>1) org.apache.james.transport.mailets.SMIMEAbstractSign is an abstract mailet providing common SMIME signature services. It can be subclassed to make authoring signing mailets simple.
>2) org.apache.james.transport.mailets.SMIMESign is a mailet that puts a server-side SMIME signature on a message. It is a concrete subclass of SMIMEAbstractSign, with very few modifications to it.
>3) org.apache.james.security.KeyHolder is a helper class dealing with all the cryptography related issues.
>4) org.apache.james.security.SMIMEAttributeNames contains some SMIME related mail attribute names of general usage.
>
>They seem to work fairly well; I just need to add some more javadoc to KeyHolder.
>
>I found a solution (already of common use) to the Outlook Express problem reported in http://nagoya.apache.org/eyebrowse/ReadMsg?listName=james-dev@jakarta.apache.org&msgNo=9935, so I went on with the work I started in September 2003.
>
>In a few days I will put something in the wiki about all this.
>
>The classes I wrote (specifically KeyHolder) depend heavily on the Bouncy Castle libraries, and bcmail-jdk14-124.jar and bcprov-jdk14-124.jar must be in the {james}/lib directory both to compile and to run. I didn't do such CVS commit. Who should do this (including updating the build scripts)?
>
>I choosed also to break the compatibility with jdk 1.3, as the crypto functionalities are heavily dependent on jdk 1.4+. I could anyhow (I tested it already) make it work also with 1.3, but compilation/deployment would be messy.
>
>Next steps are to build an SMIMECheckSignature mailet, that sets some attributes to be used by other matchers and mailets. I plan to do it possibly in August.
>---------------------------------------------------------------------
>View this comment:
>  http://issues.apache.org/jira/browse/JAMES-257?page=comments#action_37051
>
>---------------------------------------------------------------------
>View the issue:
>  http://issues.apache.org/jira/browse/JAMES-257
>
>Here is an overview of the issue:
>---------------------------------------------------------------------
>        Key: JAMES-257
>    Summary: S/MIME Matchers/Mailets
>       Type: New Feature
>
>     Status: Open
>   Priority: Minor
>
>    Project: James
> Components: 
>             Matchers/Mailets (bundled)
>   Fix Fors:
>             2.2.1
>
>   Assignee: Vincenzo Gianferrari Pini
>   Reporter: Noel J. Bergman
>
>    Created: Fri, 16 Apr 2004 3:12 PM
>    Updated: Thu, 5 Aug 2004 6:22 AM
>
>Description:
>Add Vincenzo's S/MIME related code.
>
>
>---------------------------------------------------------------------
>JIRA INFORMATION:
>This message is automatically generated by JIRA.
>
>If you think it was sent incorrectly contact one of the administrators:
>   http://issues.apache.org/jira/secure/Administrators.jspa
>
>If you want more information on JIRA, or have a bug to report see:
>   http://www.atlassian.com/software/jira
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>For additional commands, e-mail: server-dev-help@james.apache.org
>
>
>  
>