2002-09-05 11:46:10 +00:00
|
|
|
<title>Security tools</title>
|
2002-08-20 23:54:17 +00:00
|
|
|
<body bgcolor=ffffff>
|
2002-09-05 11:46:10 +00:00
|
|
|
<h3>Security tools</h3>
|
2002-07-05 05:33:40 +00:00
|
|
|
<p>
|
2002-08-19 18:43:10 +00:00
|
|
|
The program <b>lib/crypt_prog</b> can be used for several purposes:
|
|
|
|
<br>
|
2002-09-20 21:17:47 +00:00
|
|
|
<dl>
|
|
|
|
<dt>crypt_prog -genkey n private_keyfile public_keyfile</b>
|
|
|
|
<dd>
|
2002-08-19 18:43:10 +00:00
|
|
|
Create a key pair with n bits (always use 1024).
|
|
|
|
Write the keys in encoded ASCII form to the indicated files.
|
2002-09-20 21:17:47 +00:00
|
|
|
<dt>crypt_prog -sign file private_keyfile</b>
|
|
|
|
<dd>
|
2002-08-19 18:43:10 +00:00
|
|
|
Create a digital signature for the given file. Write it in encoded
|
2002-07-29 19:01:38 +00:00
|
|
|
ASCII to stdout.
|
2002-09-20 21:17:47 +00:00
|
|
|
<dt>crypt_prog -verify file signature_file public_keyfile</b>
|
|
|
|
<dd>
|
2002-08-19 18:43:10 +00:00
|
|
|
Verify a signature for the given file.
|
2002-09-20 21:17:47 +00:00
|
|
|
<dt>crypt_prog -test_crypt private_keyfile public_keyfile</b>
|
|
|
|
<dd>
|
2002-08-19 18:43:10 +00:00
|
|
|
Perform an internal test, checking that encryption followed by
|
2002-07-29 19:01:38 +00:00
|
|
|
decryption works.
|
2002-09-20 21:17:47 +00:00
|
|
|
</dl>
|