Can I increase the security of sending scripts through email?
When exchanging co-op scripts by E-mail, the dispatcher offers the option to encrypt the change scripts using an external utility program. There are many encryption utilities out there, just make sure you use a command line version.
Here are a couple recommendations:
- Coopfish: This encryption utility was made specifically for use with Code Co-op. Go to the Coopfish web page to download the utility and it's source code. Installation and set-up instructions are included at this site.
- GnuPG Freeware: This encryption utility is free and can be downloaded from the PGP website.
These programs will require you to create a key pair, extract your public key so you can distribute it to teammates, add their key to your keyfile and then sign your collaborator's key. Follow the instructions provided with the utility.
Once you have completed the steps above you will need to configure the Dispatcher. Here's what you need to do:
- Create a batch file to encrypt the script. The batch file will look something like this:
"c:\bin\pgp" -e %2 "First Person <firstperson@someplace.com>" "Second Person <secondperson@someplace.com>"
- Create a batch file to decrypt and unzip the script. The batch file will look something like this:
set PGPPASS=Your pass phrase
"c:\bin\pgp\pgp" -p %1 -o scripts.znc
- Edit the Dispatcher. Right click on the dispatcher icon and select Preferences and then Script Processing. In the section Before sending scripts and within it Call program, type in the path to the encrypt batch file. Based on the example above you would type c:\bin\encrypt.bat. Now, define your output file as scripts.znc.pgp. In the After Receiving scripts section, input the extension of pgp and then the path to the decrypt batch file.
- WINDOWS 98 USERS: You may have a problem with the shell not closing the DOS windows after running a batch file. To fix this simply click on the Properties Button. Select the Program tab and make sure the box at the bottom that says "Close on exit" is checked.