~ubuntu-branches/ubuntu/lucid/boinc/lucid

« back to all changes in this revision

Viewing changes to doc/key_setup.php

  • Committer: Bazaar Package Importer
  • Author(s): Frank S. Thomas, Frank S. Thomas
  • Date: 2008-05-31 08:02:47 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080531080247-4ce890lp2rc768cr
Tags: 6.2.7-1
[ Frank S. Thomas ]
* New upstream release.
  - BOINC Manager: Redraw disk usage charts immediately after connecting to
    a (different) client. (closes: 463823)
* debian/copyright:
  - Added the instructions from debian/README.Debian-source about how
    repackaged BOINC tarballs can be reproduced because DevRef now
    recommends to put this here instead of in the afore-mentioned file.
  - Updated for the new release.
* Removed the obsolete debian/README.Debian-source.
* For consistency upstream renamed the core client and the command tool
  ("boinc_client" to "boinc" and "boinc_cmd" to "boinccmd"). Done the same
  in all packages and created symlinks with the old names for the binaries
  and man pages. Also added an entry in debian/boinc-client.NEWS explaining
  this change.
* debian/rules: Do not list Makefile.ins in the clean target individually,
  just remove all that can be found.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
require_once("docutil.php");
3
 
page_head("The encryption utility");
4
 
echo "
5
 
<p>
6
 
The program <code>lib/crypt_prog</code> performs various encryption tasks.
7
 
<p>
8
 
crypt_prog is built by the standard build procedure on Unix systems.
9
 
You can also build it on Windows (with Visual Studio 2003)
10
 
using the project file <code>win_build/crypt_prog.vcproj</code>.
11
 
 
12
 
<h2>Creating encryption keys</h2>
13
 
<dl>
14
 
<dt>crypt_prog -genkey n private_keyfile public_keyfile
15
 
<dd>
16
 
Create a key pair with n bits (always use 1024).
17
 
Write the keys in encoded ASCII form to the indicated files. 
18
 
</dl>
19
 
The following commands generate the file upload and code signing key pairs.
20
 
BOINC_KEY_DIR is the directory where the keys will be stored.
21
 
The code signing private key should be stored only on
22
 
a highly secure (e.g., a disconnected, physically secure) host.
23
 
<pre>
24
 
crypt_prog -genkey 1024 BOINC_KEY_DIR/upload_private BOINC_KEY_DIR/upload_public
25
 
crypt_prog -genkey 1024 BOINC_KEY_DIR/code_sign_private BOINC_KEY_DIR/code_sign_public
26
 
</pre>
27
 
Or, in the test/ directory, run
28
 
<pre>
29
 
gen_keys.php
30
 
</pre>
31
 
 
32
 
<h2>Generating signatures</h2>
33
 
<p>
34
 
<dl>
35
 
<dt>crypt_prog -sign file private_keyfile
36
 
<dd>
37
 
Create a digital signature for the given file.
38
 
Write it in encoded ASCII to stdout. 
39
 
<dt>crypt_prog -sign_string string private_keyfile
40
 
<dd>
41
 
Create a digital signature for the given string.
42
 
Write it in encoded ASCII to stdout. 
43
 
<dt>crypt_prog -verify file signature_file public_keyfile
44
 
<dd>
45
 
Verify a signature for the given file. 
46
 
<dt>crypt_prog -test_crypt private_keyfile public_keyfile
47
 
<dd>
48
 
Perform an internal test, checking that encryption followed by
49
 
decryption works. 
50
 
</dl>
51
 
";
52
 
page_tail();
53
 
?>