diff options
author | jmc <> | 2010-10-17 13:30:37 +0000 |
---|---|---|
committer | jmc <> | 2010-10-17 13:30:37 +0000 |
commit | c2ca3e58bdacd6fc9c70dded86bb6c3b997e341b (patch) | |
tree | 9f970d18b63fb8eb48148ab235e183ba1909f64b /src | |
parent | 7f54baf848d5e1c7c06129f04ff86384ef057c57 (diff) | |
download | openbsd-c2ca3e58bdacd6fc9c70dded86bb6c3b997e341b.tar.gz openbsd-c2ca3e58bdacd6fc9c70dded86bb6c3b997e341b.tar.bz2 openbsd-c2ca3e58bdacd6fc9c70dded86bb6c3b997e341b.zip |
various tweaks for consistency;
Diffstat (limited to 'src')
-rw-r--r-- | src/usr.sbin/openssl/openssl.1 | 154 |
1 files changed, 62 insertions, 92 deletions
diff --git a/src/usr.sbin/openssl/openssl.1 b/src/usr.sbin/openssl/openssl.1 index 901c9abcd6..ba1b88587a 100644 --- a/src/usr.sbin/openssl/openssl.1 +++ b/src/usr.sbin/openssl/openssl.1 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: openssl.1,v 1.82 2010/10/15 21:05:06 jmc Exp $ | 1 | .\" $OpenBSD: openssl.1,v 1.83 2010/10/17 13:30:37 jmc Exp $ |
2 | .\" ==================================================================== | 2 | .\" ==================================================================== |
3 | .\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | .\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | .\" | 4 | .\" |
@@ -112,7 +112,7 @@ | |||
112 | .\" | 112 | .\" |
113 | .\" OPENSSL | 113 | .\" OPENSSL |
114 | .\" | 114 | .\" |
115 | .Dd $Mdocdate: October 15 2010 $ | 115 | .Dd $Mdocdate: October 17 2010 $ |
116 | .Dt OPENSSL 1 | 116 | .Dt OPENSSL 1 |
117 | .Os | 117 | .Os |
118 | .Sh NAME | 118 | .Sh NAME |
@@ -1989,10 +1989,8 @@ install user certificates and CAs in MSIE using the Xenroll control. | |||
1989 | .nr nS 0 | 1989 | .nr nS 0 |
1990 | .Pp | 1990 | .Pp |
1991 | .Nm openssl | 1991 | .Nm openssl |
1992 | .Xo | ||
1993 | .Cm md2 | md4 | md5 | | 1992 | .Cm md2 | md4 | md5 | |
1994 | .Cm ripemd160 | sha | sha1 | 1993 | .Cm ripemd160 | sha | sha1 |
1995 | .Xc | ||
1996 | .Op Fl c | 1994 | .Op Fl c |
1997 | .Op Fl d | 1995 | .Op Fl d |
1998 | .Op Ar | 1996 | .Op Ar |
@@ -2037,26 +2035,22 @@ Specifies the key format to sign the digest with. | |||
2037 | .It Fl mac Ar algorithm | 2035 | .It Fl mac Ar algorithm |
2038 | Create a keyed Message Authentication Code (MAC). | 2036 | Create a keyed Message Authentication Code (MAC). |
2039 | The most popular MAC algorithm is HMAC (hash-based MAC), | 2037 | The most popular MAC algorithm is HMAC (hash-based MAC), |
2040 | but there are other MAC algorithms which are not based on hash, | 2038 | but there are other MAC algorithms which are not based on hash. |
2041 | for instance the gost-mac algorithm, | ||
2042 | supported by the ccgost engine. | ||
2043 | MAC keys and other options should be set via the | 2039 | MAC keys and other options should be set via the |
2044 | .Fl macopt | 2040 | .Fl macopt |
2045 | parameter. | 2041 | parameter. |
2046 | .It Fl macopt Ar nm : Ns Ar v | 2042 | .It Fl macopt Ar nm : Ns Ar v |
2047 | Passes options to the MAC algorithm, specified by | 2043 | Passes options to the MAC algorithm, specified by |
2048 | .Fl mac . | 2044 | .Fl mac . |
2049 | The following options are supported by both by HMAC and gost-mac: | 2045 | The following options are supported by HMAC: |
2050 | .Bl -tag -width Ds | 2046 | .Bl -tag -width Ds |
2051 | .It Ar key : Ns Ar string | 2047 | .It Ar key : Ns Ar string |
2052 | Specifies the MAC key as an alphanumeric string | 2048 | Specifies the MAC key as an alphanumeric string |
2053 | (use if the key contain printable characters only). | 2049 | (use if the key contain printable characters only). |
2054 | String length must conform to any restrictions of the MAC algorithm, | 2050 | String length must conform to any restrictions of the MAC algorithm. |
2055 | for example exactly 32 chars for gost-mac. | ||
2056 | .It Ar hexkey : Ns Ar string | 2051 | .It Ar hexkey : Ns Ar string |
2057 | Specifies the MAC key in hexadecimal form (two hex digits per byte). | 2052 | Specifies the MAC key in hexadecimal form (two hex digits per byte). |
2058 | Key length must conform to any restrictions of the MAC algorithm, | 2053 | Key length must conform to any restrictions of the MAC algorithm. |
2059 | for example exactly 32 chars for gost-mac. | ||
2060 | .El | 2054 | .El |
2061 | .It Fl out Ar file | 2055 | .It Fl out Ar file |
2062 | The file to output to, or standard output by default. | 2056 | The file to output to, or standard output by default. |
@@ -2382,7 +2376,7 @@ This specifies the output format; the options have the same meaning as the | |||
2382 | .Fl inform | 2376 | .Fl inform |
2383 | option. | 2377 | option. |
2384 | .It Fl passin Ar arg | 2378 | .It Fl passin Ar arg |
2385 | The input file password source. | 2379 | The key password source. |
2386 | For more information about the format of | 2380 | For more information about the format of |
2387 | .Ar arg , | 2381 | .Ar arg , |
2388 | see the | 2382 | see the |
@@ -2548,11 +2542,11 @@ DSA parameters is often used to generate several distinct keys. | |||
2548 | .Op Fl des | 2542 | .Op Fl des |
2549 | .Op Fl des3 | 2543 | .Op Fl des3 |
2550 | .Op Fl engine Ar id | 2544 | .Op Fl engine Ar id |
2551 | .Op Fl in Ar filename | 2545 | .Op Fl in Ar file |
2552 | .Op Fl inform Ar PEM|DER | 2546 | .Op Fl inform Ar DER | PEM |
2553 | .Op Fl noout | 2547 | .Op Fl noout |
2554 | .Op Fl out Ar filename | 2548 | .Op Fl out Ar file |
2555 | .Op Fl outform Ar PEM|DER | 2549 | .Op Fl outform Ar DER | PEM |
2556 | .Op Fl param_enc Ar arg | 2550 | .Op Fl param_enc Ar arg |
2557 | .Op Fl param_out | 2551 | .Op Fl param_out |
2558 | .Op Fl passin Ar arg | 2552 | .Op Fl passin Ar arg |
@@ -2620,9 +2614,8 @@ string) will cause | |||
2620 | .Nm ec | 2614 | .Nm ec |
2621 | to attempt to obtain a functional reference to the specified engine, | 2615 | to attempt to obtain a functional reference to the specified engine, |
2622 | thus initialising it if needed. | 2616 | thus initialising it if needed. |
2623 | The engine will then be set as the default | 2617 | The engine will then be set as the default for all available algorithms. |
2624 | for all available algorithms. | 2618 | .It Fl in Ar file |
2625 | .It Fl in Ar filename | ||
2626 | This specifies the input filename to read a key from, | 2619 | This specifies the input filename to read a key from, |
2627 | or standard input if this option is not specified. | 2620 | or standard input if this option is not specified. |
2628 | If the key is encrypted a pass phrase will be prompted for. | 2621 | If the key is encrypted a pass phrase will be prompted for. |
@@ -2639,7 +2632,7 @@ In the case of a private key | |||
2639 | PKCS#8 format is also accepted. | 2632 | PKCS#8 format is also accepted. |
2640 | .It Fl noout | 2633 | .It Fl noout |
2641 | Prevents output of the encoded version of the key. | 2634 | Prevents output of the encoded version of the key. |
2642 | .It Fl out Ar filename | 2635 | .It Fl out Ar file |
2643 | Specifies the output filename to write a key to, | 2636 | Specifies the output filename to write a key to, |
2644 | or standard output if none is specified. | 2637 | or standard output if none is specified. |
2645 | If any encryption options are set then a pass phrase will be prompted for. | 2638 | If any encryption options are set then a pass phrase will be prompted for. |
@@ -2668,7 +2661,7 @@ as specified in RFC 3279, | |||
2668 | is currently not implemented in | 2661 | is currently not implemented in |
2669 | .Nm OpenSSL . | 2662 | .Nm OpenSSL . |
2670 | .It Fl passin Ar arg | 2663 | .It Fl passin Ar arg |
2671 | The input file password source. | 2664 | The key password source. |
2672 | For more information about the format of | 2665 | For more information about the format of |
2673 | .Ar arg , | 2666 | .Ar arg , |
2674 | see the | 2667 | see the |
@@ -2755,13 +2748,13 @@ command was first introduced in | |||
2755 | .Op Fl conv_form Ar arg | 2748 | .Op Fl conv_form Ar arg |
2756 | .Op Fl engine Ar id | 2749 | .Op Fl engine Ar id |
2757 | .Op Fl genkey | 2750 | .Op Fl genkey |
2758 | .Op Fl in Ar filename | 2751 | .Op Fl in Ar file |
2759 | .Op Fl inform Ar DER | PEM | 2752 | .Op Fl inform Ar DER | PEM |
2760 | .Op Fl list_curves | 2753 | .Op Fl list_curves |
2761 | .Op Fl name Ar arg | 2754 | .Op Fl name Ar arg |
2762 | .Op Fl no_seed | 2755 | .Op Fl no_seed |
2763 | .Op Fl noout | 2756 | .Op Fl noout |
2764 | .Op Fl out Ar filename | 2757 | .Op Fl out Ar file |
2765 | .Op Fl outform Ar DER | PEM | 2758 | .Op Fl outform Ar DER | PEM |
2766 | .Op Fl param_enc Ar arg | 2759 | .Op Fl param_enc Ar arg |
2767 | .Op Fl rand Ar file ... | 2760 | .Op Fl rand Ar file ... |
@@ -2805,16 +2798,15 @@ string) will cause | |||
2805 | .Nm ecparam | 2798 | .Nm ecparam |
2806 | to attempt to obtain a functional reference to the specified engine, | 2799 | to attempt to obtain a functional reference to the specified engine, |
2807 | thus initialising it if needed. | 2800 | thus initialising it if needed. |
2808 | The engine will then be set as the default | 2801 | The engine will then be set as the default for all available algorithms. |
2809 | for all available algorithms. | ||
2810 | .It Fl genkey | 2802 | .It Fl genkey |
2811 | Generate an EC private key using the specified parameters. | 2803 | Generate an EC private key using the specified parameters. |
2812 | .It Fl in Ar filename | 2804 | .It Fl in Ar file |
2813 | Specify the input filename to read parameters from or standard input if | 2805 | Specify the input filename to read parameters from or standard input if |
2814 | this option is not specified. | 2806 | this option is not specified. |
2815 | .It Fl inform Ar DER | PEM | 2807 | .It Fl inform Ar DER | PEM |
2816 | Specify the input format. | 2808 | Specify the input format. |
2817 | DER uses an ASN.1 DER encoded | 2809 | DER uses an ASN.1 DER-encoded |
2818 | form compatible with RFC 3279 EcpkParameters. | 2810 | form compatible with RFC 3279 EcpkParameters. |
2819 | PEM is the default format: | 2811 | PEM is the default format: |
2820 | it consists of the DER format base64 encoded with additional | 2812 | it consists of the DER format base64 encoded with additional |
@@ -2832,7 +2824,7 @@ Inhibit that the 'seed' for the parameter generation | |||
2832 | is included in the ECParameters structure (see RFC 3279). | 2824 | is included in the ECParameters structure (see RFC 3279). |
2833 | .It Fl noout | 2825 | .It Fl noout |
2834 | Inhibit the output of the encoded version of the parameters. | 2826 | Inhibit the output of the encoded version of the parameters. |
2835 | .It Fl out Ar filename | 2827 | .It Fl out Ar file |
2836 | Specify the output filename parameters are written to. | 2828 | Specify the output filename parameters are written to. |
2837 | Standard output is used if this option is not present. | 2829 | Standard output is used if this option is not present. |
2838 | The output filename should | 2830 | The output filename should |
@@ -3123,7 +3115,6 @@ because this form is processed before the | |||
3123 | configuration file is read and any engines loaded. | 3115 | configuration file is read and any engines loaded. |
3124 | .Pp | 3116 | .Pp |
3125 | Engines which provide entirely new encryption algorithms | 3117 | Engines which provide entirely new encryption algorithms |
3126 | (such as the ccgost engine which provides the gost89 algorithm) | ||
3127 | should be configured in the configuration file. | 3118 | should be configured in the configuration file. |
3128 | Engines, specified on the command line using the | 3119 | Engines, specified on the command line using the |
3129 | .Fl engine | 3120 | .Fl engine |
@@ -3456,7 +3447,7 @@ much quicker than RSA key generation, for example. | |||
3456 | .Op Ar cipher | 3447 | .Op Ar cipher |
3457 | .Op Fl engine Ar id | 3448 | .Op Fl engine Ar id |
3458 | .Op Fl genparam | 3449 | .Op Fl genparam |
3459 | .Op Fl out Ar filename | 3450 | .Op Fl out Ar file |
3460 | .Op Fl outform Ar DER | PEM | 3451 | .Op Fl outform Ar DER | PEM |
3461 | .Op Fl paramfile Ar file | 3452 | .Op Fl paramfile Ar file |
3462 | .Op Fl pass Ar arg | 3453 | .Op Fl pass Ar arg |
@@ -3499,8 +3490,7 @@ string) will cause | |||
3499 | .Nm genpkey | 3490 | .Nm genpkey |
3500 | to attempt to obtain a functional reference to the specified engine, | 3491 | to attempt to obtain a functional reference to the specified engine, |
3501 | thus initialising it if needed. | 3492 | thus initialising it if needed. |
3502 | The engine will then be set as the default | 3493 | The engine will then be set as the default for all available algorithms. |
3503 | for all available algorithms. | ||
3504 | .It Fl genparam | 3494 | .It Fl genparam |
3505 | Generate a set of parameters instead of a private key. | 3495 | Generate a set of parameters instead of a private key. |
3506 | If used this option must precede any | 3496 | If used this option must precede any |
@@ -3509,7 +3499,7 @@ If used this option must precede any | |||
3509 | or | 3499 | or |
3510 | .Fl pkeyopt | 3500 | .Fl pkeyopt |
3511 | options. | 3501 | options. |
3512 | .It Fl out Ar filename | 3502 | .It Fl out Ar file |
3513 | The output filename. | 3503 | The output filename. |
3514 | If this argument is not specified then standard output is used. | 3504 | If this argument is not specified then standard output is used. |
3515 | .It Fl outform Ar DER | PEM | 3505 | .It Fl outform Ar DER | PEM |
@@ -3530,7 +3520,7 @@ are mutually exclusive. | |||
3530 | .It Fl pass Ar arg | 3520 | .It Fl pass Ar arg |
3531 | The output file password source. | 3521 | The output file password source. |
3532 | For more information about the format of | 3522 | For more information about the format of |
3533 | .Ar arg | 3523 | .Ar arg , |
3534 | see the | 3524 | see the |
3535 | .Sx PASS PHRASE ARGUMENTS | 3525 | .Sx PASS PHRASE ARGUMENTS |
3536 | section above. | 3526 | section above. |
@@ -4531,7 +4521,7 @@ This specifies the output format; the options have the same meaning as the | |||
4531 | .Fl inform | 4521 | .Fl inform |
4532 | option. | 4522 | option. |
4533 | .It Fl passin Ar arg | 4523 | .It Fl passin Ar arg |
4534 | The input file password source. | 4524 | The key password source. |
4535 | For more information about the format of | 4525 | For more information about the format of |
4536 | .Ar arg , | 4526 | .Ar arg , |
4537 | see the | 4527 | see the |
@@ -4783,16 +4773,14 @@ The | |||
4783 | to write certificates and private keys to, standard output by default. | 4773 | to write certificates and private keys to, standard output by default. |
4784 | They are all written in PEM format. | 4774 | They are all written in PEM format. |
4785 | .It Fl passin Ar arg | 4775 | .It Fl passin Ar arg |
4786 | The PKCS#12 file | 4776 | The key password source. |
4787 | .Pq i.e. input file | ||
4788 | password source. | ||
4789 | For more information about the format of | 4777 | For more information about the format of |
4790 | .Ar arg , | 4778 | .Ar arg , |
4791 | see the | 4779 | see the |
4792 | .Sx PASS PHRASE ARGUMENTS | 4780 | .Sx PASS PHRASE ARGUMENTS |
4793 | section above. | 4781 | section above. |
4794 | .It Fl passout Ar arg | 4782 | .It Fl passout Ar arg |
4795 | Pass phrase source to encrypt any outputed private keys with. | 4783 | The output file password source. |
4796 | For more information about the format of | 4784 | For more information about the format of |
4797 | .Ar arg , | 4785 | .Ar arg , |
4798 | see the | 4786 | see the |
@@ -4927,16 +4915,14 @@ This specifies | |||
4927 | to write the PKCS#12 file to. | 4915 | to write the PKCS#12 file to. |
4928 | Standard output is used by default. | 4916 | Standard output is used by default. |
4929 | .It Fl passin Ar arg | 4917 | .It Fl passin Ar arg |
4930 | Pass phrase source to decrypt any input private keys with. | 4918 | The key password source. |
4931 | For more information about the format of | 4919 | For more information about the format of |
4932 | .Ar arg , | 4920 | .Ar arg , |
4933 | see the | 4921 | see the |
4934 | .Sx PASS PHRASE ARGUMENTS | 4922 | .Sx PASS PHRASE ARGUMENTS |
4935 | section above. | 4923 | section above. |
4936 | .It Fl passout Ar arg | 4924 | .It Fl passout Ar arg |
4937 | The PKCS#12 file | 4925 | The output file password source. |
4938 | .Pq i.e. output file | ||
4939 | password source. | ||
4940 | For more information about the format of | 4926 | For more information about the format of |
4941 | .Ar arg , | 4927 | .Ar arg , |
4942 | see the | 4928 | see the |
@@ -5109,8 +5095,7 @@ string) will cause | |||
5109 | .Nm pkey | 5095 | .Nm pkey |
5110 | to attempt to obtain a functional reference to the specified engine, | 5096 | to attempt to obtain a functional reference to the specified engine, |
5111 | thus initialising it if needed. | 5097 | thus initialising it if needed. |
5112 | The engine will then be set as the default | 5098 | The engine will then be set as the default for all available algorithms. |
5113 | for all available algorithms. | ||
5114 | .It Fl in Ar file | 5099 | .It Fl in Ar file |
5115 | This specifies the input filename to read a key from, | 5100 | This specifies the input filename to read a key from, |
5116 | or standard input if this option is not specified. | 5101 | or standard input if this option is not specified. |
@@ -5133,9 +5118,9 @@ the options have the same meaning as the | |||
5133 | .Fl inform | 5118 | .Fl inform |
5134 | option. | 5119 | option. |
5135 | .It Fl passin Ar arg | 5120 | .It Fl passin Ar arg |
5136 | The input file password source. | 5121 | The key password source. |
5137 | For more information about the format of | 5122 | For more information about the format of |
5138 | .Ar arg | 5123 | .Ar arg , |
5139 | see the | 5124 | see the |
5140 | .Sx PASS PHRASE ARGUMENTS | 5125 | .Sx PASS PHRASE ARGUMENTS |
5141 | section above. | 5126 | section above. |
@@ -5216,8 +5201,7 @@ string) will cause | |||
5216 | .Nm pkeyparam | 5201 | .Nm pkeyparam |
5217 | to attempt to obtain a functional reference to the specified engine, | 5202 | to attempt to obtain a functional reference to the specified engine, |
5218 | thus initialising it if needed. | 5203 | thus initialising it if needed. |
5219 | The engine will then be set as the default | 5204 | The engine will then be set as the default for all available algorithms. |
5220 | for all available algorithms. | ||
5221 | .It Fl in Ar file | 5205 | .It Fl in Ar file |
5222 | This specifies the input filename to read parameters from, | 5206 | This specifies the input filename to read parameters from, |
5223 | or standard input if this option is not specified. | 5207 | or standard input if this option is not specified. |
@@ -5257,10 +5241,10 @@ because the key type is determined by the PEM headers. | |||
5257 | .Op Fl hexdump | 5241 | .Op Fl hexdump |
5258 | .Op Fl in Ar file | 5242 | .Op Fl in Ar file |
5259 | .Op Fl inkey Ar file | 5243 | .Op Fl inkey Ar file |
5260 | .Op Fl keyform Ar DER | PEM | 5244 | .Op Fl keyform Ar DER | ENGINE | PEM |
5261 | .Op Fl out Ar file | 5245 | .Op Fl out Ar file |
5262 | .Op Fl passin Ar arg | 5246 | .Op Fl passin Ar arg |
5263 | .Op Fl peerform Ar DER | PEM | 5247 | .Op Fl peerform Ar DER | ENGINE | PEM |
5264 | .Op Fl peerkey Ar file | 5248 | .Op Fl peerkey Ar file |
5265 | .Op Fl pkeyopt Ar opt : Ns Ar value | 5249 | .Op Fl pkeyopt Ar opt : Ns Ar value |
5266 | .Op Fl pubin | 5250 | .Op Fl pubin |
@@ -5299,8 +5283,7 @@ string) will cause | |||
5299 | .Nm pkeyutl | 5283 | .Nm pkeyutl |
5300 | to attempt to obtain a functional reference to the specified engine, | 5284 | to attempt to obtain a functional reference to the specified engine, |
5301 | thus initialising it if needed. | 5285 | thus initialising it if needed. |
5302 | The engine will then be set as the default | 5286 | The engine will then be set as the default for all available algorithms. |
5303 | for all available algorithms. | ||
5304 | .It Fl hexdump | 5287 | .It Fl hexdump |
5305 | Hex dump the output data. | 5288 | Hex dump the output data. |
5306 | .It Fl in Ar file | 5289 | .It Fl in Ar file |
@@ -5309,20 +5292,20 @@ or standard input if this option is not specified. | |||
5309 | .It Fl inkey Ar file | 5292 | .It Fl inkey Ar file |
5310 | The input key file. | 5293 | The input key file. |
5311 | By default it should be a private key. | 5294 | By default it should be a private key. |
5312 | .It Fl keyform Ar DER | PEM | 5295 | .It Fl keyform Ar DER | ENGINE | PEM |
5313 | The key format DER, PEM, or ENGINE. | 5296 | The key format DER, ENGINE, or PEM. |
5314 | .It Fl out Ar file | 5297 | .It Fl out Ar file |
5315 | Specify the output filename to write to, | 5298 | Specify the output filename to write to, |
5316 | or standard output by default. | 5299 | or standard output by default. |
5317 | .It Fl passin Ar arg | 5300 | .It Fl passin Ar arg |
5318 | The input key password source. | 5301 | The key password source. |
5319 | For more information about the format of | 5302 | For more information about the format of |
5320 | .Ar arg | 5303 | .Ar arg , |
5321 | see the | 5304 | see the |
5322 | .Sx PASS PHRASE ARGUMENTS | 5305 | .Sx PASS PHRASE ARGUMENTS |
5323 | section above. | 5306 | section above. |
5324 | .It Fl peerform Ar DER | PEM | 5307 | .It Fl peerform Ar DER | ENGINE | PEM |
5325 | The peer key format DER, PEM, or ENGINE. | 5308 | The peer key format DER, ENGINE, or PEM. |
5326 | .It Fl peerkey Ar file | 5309 | .It Fl peerkey Ar file |
5327 | The peer key file, used by key derivation (agreement) operations. | 5310 | The peer key file, used by key derivation (agreement) operations. |
5328 | .It Fl pkeyopt Ar opt : Ns Ar value | 5311 | .It Fl pkeyopt Ar opt : Ns Ar value |
@@ -5706,9 +5689,7 @@ This specifies the message digest to sign the request with. | |||
5706 | This overrides the digest algorithm specified in the configuration file. | 5689 | This overrides the digest algorithm specified in the configuration file. |
5707 | .Pp | 5690 | .Pp |
5708 | Some public key algorithms may override this choice. | 5691 | Some public key algorithms may override this choice. |
5709 | For instance, DSA signatures always use SHA1; | 5692 | For instance, DSA signatures always use SHA1. |
5710 | GOST R 34.10 signatures always use GOST R 34.11-94 | ||
5711 | .Pq Fl md_gost94 . | ||
5712 | .It Fl modulus | 5693 | .It Fl modulus |
5713 | This option prints out the value of the modulus of the public key | 5694 | This option prints out the value of the modulus of the public key |
5714 | contained in the request. | 5695 | contained in the request. |
@@ -5779,18 +5760,9 @@ should be specified via the | |||
5779 | .Fl pkeyopt | 5760 | .Fl pkeyopt |
5780 | option. | 5761 | option. |
5781 | .Pp | 5762 | .Pp |
5782 | .Ar dsa : Ns Ar filename | 5763 | .Ar dsa : Ns Ar file |
5783 | generates a DSA key using the parameters in the file | 5764 | generates a DSA key using the parameters in the file |
5784 | .Ar filename . | 5765 | .Ar file . |
5785 | .Ar ec : Ns Ar filename | ||
5786 | generates an EC key (usable both with ECDSA or ECDH algorithms); | ||
5787 | .Ar gost2001 : Ns Ar filename | ||
5788 | generates a GOST R 34.10-2001 key | ||
5789 | (requires the ccgost engine configured in the configuration file). | ||
5790 | If just | ||
5791 | .Cm gost2001 | ||
5792 | is specified a parameter set should be specified by | ||
5793 | .Cm -pkeyopt paramset:X . | ||
5794 | .It Fl no-asn1-kludge | 5766 | .It Fl no-asn1-kludge |
5795 | Reverses the effect of | 5767 | Reverses the effect of |
5796 | .Fl asn1-kludge . | 5768 | .Fl asn1-kludge . |
@@ -5808,7 +5780,7 @@ This specifies the output format; the options have the same meaning as the | |||
5808 | .Fl inform | 5780 | .Fl inform |
5809 | option. | 5781 | option. |
5810 | .It Fl passin Ar arg | 5782 | .It Fl passin Ar arg |
5811 | The input file password source. | 5783 | The key password source. |
5812 | For more information about the format of | 5784 | For more information about the format of |
5813 | .Ar arg , | 5785 | .Ar arg , |
5814 | see the | 5786 | see the |
@@ -6446,7 +6418,7 @@ This specifies the output format; the options have the same meaning as the | |||
6446 | .Fl inform | 6418 | .Fl inform |
6447 | option. | 6419 | option. |
6448 | .It Fl passin Ar arg | 6420 | .It Fl passin Ar arg |
6449 | The input file password source. | 6421 | The key password source. |
6450 | For more information about the format of | 6422 | For more information about the format of |
6451 | .Ar arg , | 6423 | .Ar arg , |
6452 | see the | 6424 | see the |
@@ -7688,10 +7660,9 @@ The cipher and start time should be printed out in human readable form. | |||
7688 | .nr nS 1 | 7660 | .nr nS 1 |
7689 | .Nm "openssl smime" | 7661 | .Nm "openssl smime" |
7690 | .Bk -words | 7662 | .Bk -words |
7691 | .Oo Xo | 7663 | .Oo |
7692 | .Fl aes128 | aes192 | aes256 | des | | 7664 | .Fl aes128 | aes192 | aes256 | des | |
7693 | .Fl des3 | rc2-40 | rc2-64 | rc2-128 | 7665 | .Fl des3 | rc2-40 | rc2-64 | rc2-128 |
7694 | .Xc | ||
7695 | .Oc | 7666 | .Oc |
7696 | .Op Fl binary | 7667 | .Op Fl binary |
7697 | .Op Fl CAfile Ar file | 7668 | .Op Fl CAfile Ar file |
@@ -7867,8 +7838,7 @@ string) will cause | |||
7867 | .Nm smime | 7838 | .Nm smime |
7868 | to attempt to obtain a functional reference to the specified engine, | 7839 | to attempt to obtain a functional reference to the specified engine, |
7869 | thus initialising it if needed. | 7840 | thus initialising it if needed. |
7870 | The engine will then be set as the default | 7841 | The engine will then be set as the default for all available algorithms. |
7871 | for all available algorithms. | ||
7872 | .It Xo | 7842 | .It Xo |
7873 | .Fl from Ar addr , | 7843 | .Fl from Ar addr , |
7874 | .Fl subject Ar s , | 7844 | .Fl subject Ar s , |
@@ -7992,7 +7962,7 @@ or | |||
7992 | .Fl decrypt ) | 7962 | .Fl decrypt ) |
7993 | this option has no effect. | 7963 | this option has no effect. |
7994 | .It Fl passin Ar arg | 7964 | .It Fl passin Ar arg |
7995 | The private key password source. | 7965 | The key password source. |
7996 | For more information about the format of | 7966 | For more information about the format of |
7997 | .Ar arg , | 7967 | .Ar arg , |
7998 | see the | 7968 | see the |
@@ -8319,8 +8289,7 @@ string) will cause | |||
8319 | .Nm speed | 8289 | .Nm speed |
8320 | to attempt to obtain a functional reference to the specified engine, | 8290 | to attempt to obtain a functional reference to the specified engine, |
8321 | thus initialising it if needed. | 8291 | thus initialising it if needed. |
8322 | The engine will then be set as the default | 8292 | The engine will then be set as the default for all available algorithms. |
8323 | for all available algorithms. | ||
8324 | .It Fl elapsed | 8293 | .It Fl elapsed |
8325 | Measure time in real time instead of CPU user time. | 8294 | Measure time in real time instead of CPU user time. |
8326 | .It Fl evp Ar e | 8295 | .It Fl evp Ar e |
@@ -8365,7 +8334,7 @@ benchmarks in parallel. | |||
8365 | .Op Fl in Ar response.tsr | 8334 | .Op Fl in Ar response.tsr |
8366 | .Op Fl inkey Ar private.pem | 8335 | .Op Fl inkey Ar private.pem |
8367 | .Op Fl out Ar response.tsr | 8336 | .Op Fl out Ar response.tsr |
8368 | .Op Fl passin Ar password_src | 8337 | .Op Fl passin Ar arg |
8369 | .Op Fl policy Ar object_id | 8338 | .Op Fl policy Ar object_id |
8370 | .Op Fl queryfile Ar request.tsq | 8339 | .Op Fl queryfile Ar request.tsq |
8371 | .Op Fl section Ar tsa_section | 8340 | .Op Fl section Ar tsa_section |
@@ -8414,7 +8383,7 @@ It also checks if the token contains the same hash | |||
8414 | value that it had sent to the TSA. | 8383 | value that it had sent to the TSA. |
8415 | .El | 8384 | .El |
8416 | .Pp | 8385 | .Pp |
8417 | There is one DER encoded protocol data unit defined for transporting a time | 8386 | There is one DER-encoded protocol data unit defined for transporting a time |
8418 | stamp request to the TSA and one for sending the time stamp response | 8387 | stamp request to the TSA and one for sending the time stamp response |
8419 | back to the client. | 8388 | back to the client. |
8420 | The | 8389 | The |
@@ -8539,8 +8508,7 @@ string) will cause | |||
8539 | .Nm ts | 8508 | .Nm ts |
8540 | to attempt to obtain a functional reference to the specified engine, | 8509 | to attempt to obtain a functional reference to the specified engine, |
8541 | thus initialising it if needed. | 8510 | thus initialising it if needed. |
8542 | The engine will then be set as the default | 8511 | The engine will then be set as the default for all available algorithms. |
8543 | for all available algorithms. | ||
8544 | .It Fl in Ar response.tsr | 8512 | .It Fl in Ar response.tsr |
8545 | Specifies a previously created time stamp response or time stamp token, if | 8513 | Specifies a previously created time stamp response or time stamp token, if |
8546 | .Fl token_in | 8514 | .Fl token_in |
@@ -8565,9 +8533,11 @@ The format and content of the file depends on other options (see | |||
8565 | and | 8533 | and |
8566 | .Fl token_out ) . | 8534 | .Fl token_out ) . |
8567 | The default is stdout. | 8535 | The default is stdout. |
8568 | .It Fl passin Ar password_src | 8536 | .It Fl passin Ar arg |
8569 | Specifies the password source for the private key of the TSA. | 8537 | The key password source. |
8570 | See the | 8538 | For more information about the format of |
8539 | .Ar arg , | ||
8540 | see the | ||
8571 | .Sx PASS PHRASE ARGUMENTS | 8541 | .Sx PASS PHRASE ARGUMENTS |
8572 | section above. | 8542 | section above. |
8573 | .It Fl policy Ar object_id | 8543 | .It Fl policy Ar object_id |
@@ -8600,7 +8570,7 @@ instead of DER. | |||
8600 | .It Fl token_in | 8570 | .It Fl token_in |
8601 | This flag can be used together with the | 8571 | This flag can be used together with the |
8602 | .Fl in | 8572 | .Fl in |
8603 | option and indicates that the input is a DER encoded time stamp token | 8573 | option and indicates that the input is a DER-encoded time stamp token |
8604 | (ContentInfo) instead of a time stamp response (TimeStampResp). | 8574 | (ContentInfo) instead of a time stamp response (TimeStampResp). |
8605 | .It Fl token_out | 8575 | .It Fl token_out |
8606 | The output is a time stamp token (ContentInfo) instead of time stamp | 8576 | The output is a time stamp token (ContentInfo) instead of time stamp |
@@ -9016,7 +8986,7 @@ Specifies the output | |||
9016 | .Ar file | 8986 | .Ar file |
9017 | to write to, or standard output by default. | 8987 | to write to, or standard output by default. |
9018 | .It Fl passin Ar arg | 8988 | .It Fl passin Ar arg |
9019 | The input file password source. | 8989 | The key password source. |
9020 | For more information about the format of | 8990 | For more information about the format of |
9021 | .Ar arg , | 8991 | .Ar arg , |
9022 | see the | 8992 | see the |