<font size="2">
<p>Hi </p>
<p></p>
<p>I wonder if it would be possible to configure cvsspam to encrypt all notification emails sent by CVS . Some notification emails could contain potentially sensitive information so it would make sense to encrypt them.</p>
<p></p>
<p>The emails would be encrypted with a single certificate which is stored in PEM format in a local file.</p>
<p></p>
<p>To encrypt an email using openssl and sendmail is quite simple. Just use the following format:</p>
<p></p>
<div>$ openssl smime </div>
<div>-encrypt \</div>
<div>-text \</div>
<div>-in myMessage.txt \ # Text to encrypt </div>
<div>-from <a href="mailto:me@somewhere.com\">me@somewhere.com\</a></div>
<div>-to <a href="mailto:you@somewhere.com">you@somewhere.com</a> \</div>
<div>-subject "Encrypted CVS notification message" \</div>
<div>yourcert.pem \ # PEM certificate of user you want to send the email to. This could be the same file for all users on a mailing list.</div>
<div>| /usr/sbin/sendmail <a href="mailto:you@somewhere.com">you@somewhere.com</a> </div>
<p></p>
<p>I am not an expert on ruby so I am wondering if it is possible to invoke sendmail in this way from the cvsspam.rb file..</p>
<p></p>
<p>Many thanks in advance for any help.</p>
<p>Vinnie</p>
<p></p>
<p>See also: </p>
<p></p></font><a href="http://www.linuxdevcenter.com/pub/a/linux/2003/09/04/email_pki.html?page=last"><u><font color="#0000ff" size="2">http://www.linuxdevcenter.com/pub/a/linux/2003/09/04/email_pki.html?page=last</font></u></a>