Changes between Version 4 and Version 5 of KeySetup


Ignore:
Timestamp:
Apr 25, 2007, 11:46:52 AM (17 years ago)
Author:
Nicolas
Comment:

Required manual changes to automatic conversion.

Legend:

Unmodified
Added
Removed
Modified
  • KeySetup

    v4 v5  
    55crypt_prog is built by the standard build procedure on Unix systems. You can also build it on Windows (with Visual Studio 2003) using the project file win_build/crypt_prog.vcproj.
    66
    7 Creating encryption keys  crypt_prog -genkey n private_keyfile public_keyfile ::
    8          Create a key pair with n bits (always use 1024). Write the keys in encoded ASCII form to the indicated files.
    9  The following commands generate the file upload and code signing key pairs. BOINC_KEY_DIR is the directory where the keys will be stored. The code signing private key should be stored only on a highly secure (e.g., a disconnected, physically secure) host.
     7== Creating encryption keys ==
     8
     9 crypt_prog -genkey n private_keyfile public_keyfile::
     10        Create a key pair with n bits (always use 1024). Write the keys in encoded ASCII form to the indicated files.
     11
     12The following commands generate the file upload and code signing key pairs. BOINC_KEY_DIR is the directory where the keys will be stored. The code signing private key should be stored only on a highly secure (e.g., a disconnected, physically secure) host.
    1013{{{
    1114crypt_prog -genkey 1024 BOINC_KEY_DIR/upload_private BOINC_KEY_DIR/upload_public
    1215crypt_prog -genkey 1024 BOINC_KEY_DIR/code_sign_private BOINC_KEY_DIR/code_sign_public
    1316}}}
    14  Or, in the test/ directory, run
     17Or, in the test/ directory, run
    1518{{{
    1619gen_keys.php
    1720}}}
    18   Generating signatures
    1921
    20  crypt_prog -sign file private_keyfile ::
    21          Create a digital signature for the given file. Write it in encoded ASCII to stdout.
    22  crypt_prog -sign_string string private_keyfile ::
    23          Create a digital signature for the given string. Write it in encoded ASCII to stdout.
    24  crypt_prog -verify file signature_file public_keyfile ::
    25          Verify a signature for the given file.
    26  crypt_prog -test_crypt private_keyfile public_keyfile ::
    27          Perform an internal test, checking that encryption followed by decryption works.
     22== Generating signatures ==
     23
     24 crypt_prog -sign file private_keyfile::
     25        Create a digital signature for the given file. Write it in encoded ASCII to stdout.
     26 crypt_prog -sign_string string private_keyfile::
     27        Create a digital signature for the given string. Write it in encoded ASCII to stdout.
     28 crypt_prog -verify file signature_file public_keyfile::
     29        Verify a signature for the given file.
     30 crypt_prog -test_crypt private_keyfile public_keyfile::
     31        Perform an internal test, checking that encryption followed by decryption works.