[cvsspam-devel] Encrypting CVS notification emails

Elan Ruusamäe glen at delfi.ee
Mon Feb 4 11:04:10 UTC 2008


On Wednesday 30 January 2008 19:38:25 vinnie nolan wrote:
> Hi
>
> 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.
>
> The emails would be encrypted with a single certificate which is stored in
> PEM format in a local file.
>
> To encrypt an email using openssl and sendmail is quite simple. Just use
> the following format:
>
> $ openssl smime
> -encrypt \
> -text \
> -in myMessage.txt \ # Text to encrypt
> -from me at somewhere.com\
> -to you at somewhere.com \
> -subject "Encrypted CVS notification message" \
> 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.
>
> | /usr/sbin/sendmail you at somewhere.com

i once coded sendmail wrapper to be used from cvsspam 
$sendmail_prog = /path/to/this/program using gpg

it's perl program altho. you need email addresses you encode the email listed 
in $CVSROOT/CVSROOT/pubkeys, each email by it's line.

-- 
glen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpg-encrypt.pl
Type: application/x-perl
Size: 1619 bytes
Desc: not available
Url : http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/attachments/20080204/f17ec9e2/attachment.bin 


More information about the cvsspam-devel mailing list