Changes between Version 8 and Version 9 of CodeSigning
- Timestamp:
- Nov 8, 2011, 7:14:55 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeSigning
v8 v9 5 5 '''It is important that you use a proper code-signing procedure for publicly-accessible projects. If you don't, and your server is broken into, hackers will be able to use your BOINC project to distribute malware. This could result in the end of your project, and will negatively impact all BOINC projects.''' 6 6 7 * Choose a computer (an old, slow one is fine) to act as your "code signing machine". After being set up, this computer '''must remain physically secure and disconnected from the network''' (i.e. keep it in a locked room and put duct tape over its Ethernet port). You'll need a mechanism for moving files to and from the code-signing machine, such as a USB memory stick.<span class="plainlinks">[http://www.yourgoalbook.com/<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">Goal Setting</span>] 7 * Choose a computer (an old, slow one is fine) to act as your "code signing machine". After being set up, this computer '''must remain physically secure and disconnected from the network''' (i.e. keep it in a locked room and put duct tape over its Ethernet port). You'll need a mechanism for moving files to and from the code-signing machine, such as a USB memory stick.[http://www.yourgoalbook.com goal setting] 8 8 9 * Install [KeySetup crypt_prog] on the code signing machine (it's easiest if the machine runs Linux or Mac OS X; Windows can be used but requires Visual Studio 2005). 9 10 * Run `crypt_prog -genkey` to create a code-signing key pair. Copy the public key to your server. Keep the private key on the code-signing machine, make a permanent, secure copy of the key pair (e.g. on a CD-ROM that you keep locked up), and delete all other copies of the private key. 10 11 * To sign an executable file, move it to the code-signing machine, run `crypt_prog -sign` to produce the signature file, then move the signature file to your server. 11 * Use [UpdateVersions update_versions] to install your application, including its signature files, in the download directory and database. <span class="plainlinks">[http://www.lane6fitness.com/muscle-maximizer-review<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">muscle maximizer</span>] 12 * Use [UpdateVersions update_versions] to install your application, including its signature files, in the download directory and database. <span class="plainlinks">[http://www.lane6fitness.com/muscle-maximizer-review muscle maximizer] 13 12 14 13 15 There are less-secure variants; e.g. you could keep the private key on a CD-ROM that is only mounted during signature generation,