summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2014-06-02 16:56:49 +0000
committerjsing <>2014-06-02 16:56:49 +0000
commit14ba2dabf54c23b6429f8fec39a673fd16c42a06 (patch)
treeba3e43b359a1be4058571383a97e0eb937e96ec2
parent7705ec57382540f0dc8950e5391d8084caff0cfe (diff)
downloadopenbsd-14ba2dabf54c23b6429f8fec39a673fd16c42a06.tar.gz
openbsd-14ba2dabf54c23b6429f8fec39a673fd16c42a06.tar.bz2
openbsd-14ba2dabf54c23b6429f8fec39a673fd16c42a06.zip
Remove details regarding -rand from the openssl man page.
-rw-r--r--src/usr.sbin/openssl/openssl.1126
1 files changed, 3 insertions, 123 deletions
diff --git a/src/usr.sbin/openssl/openssl.1 b/src/usr.sbin/openssl/openssl.1
index 513ea69410..3e0ca42521 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.94 2014/05/18 08:23:27 sthen Exp $ 1.\" $OpenBSD: openssl.1,v 1.95 2014/06/02 16:56:49 jsing 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: May 18 2014 $ 115.Dd $Mdocdate: June 2 2014 $
116.Dt OPENSSL 1 116.Dt OPENSSL 1
117.Os 117.Os
118.Sh NAME 118.Sh NAME
@@ -1966,7 +1966,6 @@ install user certificates and CAs in MSIE using the Xenroll control.
1966.Op Fl out Ar file 1966.Op Fl out Ar file
1967.Op Fl passin Ar arg 1967.Op Fl passin Ar arg
1968.Op Fl prverify Ar file 1968.Op Fl prverify Ar file
1969.Op Fl rand Ar
1970.Op Fl sign Ar file 1969.Op Fl sign Ar file
1971.Op Fl signature Ar file 1970.Op Fl signature Ar file
1972.Op Fl sigopt Ar nm : Ns Ar v 1971.Op Fl sigopt Ar nm : Ns Ar v
@@ -2055,12 +2054,6 @@ The output is either
2055.Qq Verification OK 2054.Qq Verification OK
2056or 2055or
2057.Qq Verification Failure . 2056.Qq Verification Failure .
2058.It Fl rand Ar
2059A file or files containing random data used to seed the random number
2060generator, or an EGD socket (see
2061.Xr RAND_egd 3 ) .
2062Multiple files can be specified separated by a
2063.Sq \&: .
2064.It Fl sign Ar file 2057.It Fl sign Ar file
2065Digitally sign the digest using the private key in 2058Digitally sign the digest using the private key in
2066.Ar file . 2059.Ar file .
@@ -2121,7 +2114,6 @@ below.
2121.Op Fl noout 2114.Op Fl noout
2122.Op Fl out Ar file 2115.Op Fl out Ar file
2123.Op Fl outform Ar DER | PEM 2116.Op Fl outform Ar DER | PEM
2124.Op Fl rand Ar
2125.Op Fl text 2117.Op Fl text
2126.Op Ar numbits 2118.Op Ar numbits
2127.Ek 2119.Ek
@@ -2205,12 +2197,6 @@ be the same as the input filename.
2205This specifies the output format; the options have the same meaning as the 2197This specifies the output format; the options have the same meaning as the
2206.Fl inform 2198.Fl inform
2207option. 2199option.
2208.It Fl rand Ar
2209A file or files containing random data used to seed the random number generator,
2210or an EGD socket (see
2211.Xr RAND_egd 3 ) .
2212Multiple files can be specified, separated by a
2213.Sq \&: .
2214.It Fl text 2200.It Fl text
2215This option prints out the DH parameters in human readable form. 2201This option prints out the DH parameters in human readable form.
2216.El 2202.El
@@ -2433,7 +2419,6 @@ To just output the public part of a private key:
2433.Op Fl noout 2419.Op Fl noout
2434.Op Fl out Ar file 2420.Op Fl out Ar file
2435.Op Fl outform Ar DER | PEM 2421.Op Fl outform Ar DER | PEM
2436.Op Fl rand Ar
2437.Op Fl text 2422.Op Fl text
2438.Op Ar numbits 2423.Op Ar numbits
2439.Ek 2424.Ek
@@ -2500,12 +2485,6 @@ be the same as the input filename.
2500This specifies the output format; the options have the same meaning as the 2485This specifies the output format; the options have the same meaning as the
2501.Fl inform 2486.Fl inform
2502option. 2487option.
2503.It Fl rand Ar
2504A file or files containing random data used to seed the random number
2505generator, or an EGD socket (see
2506.Xr RAND_egd 3 ) .
2507Multiple files can be specified, separated by a
2508.Sq \&: .
2509.It Fl text 2488.It Fl text
2510This option prints out the DSA parameters in human readable form. 2489This option prints out the DSA parameters in human readable form.
2511.El 2490.El
@@ -2744,7 +2723,6 @@ command was first introduced in
2744.Op Fl out Ar file 2723.Op Fl out Ar file
2745.Op Fl outform Ar DER | PEM 2724.Op Fl outform Ar DER | PEM
2746.Op Fl param_enc Ar arg 2725.Op Fl param_enc Ar arg
2747.Op Fl rand Ar file ...
2748.Op Fl text 2726.Op Fl text
2749.Ek 2727.Ek
2750.nr nS 0 2728.nr nS 0
@@ -2837,18 +2815,6 @@ Note: the
2837alternative, as specified in RFC 3279, 2815alternative, as specified in RFC 3279,
2838is currently not implemented in 2816is currently not implemented in
2839.Nm OpenSSL . 2817.Nm OpenSSL .
2840.It Fl rand Ar file ...
2841A file or files containing random data used to seed the random number
2842generator, or an EGD socket (see
2843.Xr RAND_egd 3 ) .
2844Multiple files can be specified separated by an OS-dependent character.
2845The separator is
2846.Sq \&;
2847for MS-Windows,
2848.Sq \&,
2849for OpenVMS, and
2850.Sq \&:
2851for all others.
2852.It Fl text 2818.It Fl text
2853Print out the EC parameters in human readable form. 2819Print out the EC parameters in human readable form.
2854.El 2820.El
@@ -3373,7 +3339,6 @@ above.
3373.Oc 3339.Oc
3374.Op Fl engine Ar id 3340.Op Fl engine Ar id
3375.Op Fl out Ar file 3341.Op Fl out Ar file
3376.Op Fl rand Ar
3377.Op Ar paramfile 3342.Op Ar paramfile
3378.Ek 3343.Ek
3379.nr nS 0 3344.nr nS 0
@@ -3407,12 +3372,6 @@ The engine will then be set as the default for all available algorithms.
3407The output 3372The output
3408.Ar file . 3373.Ar file .
3409If this argument is not specified, standard output is used. 3374If this argument is not specified, standard output is used.
3410.It Fl rand Ar
3411A file or files containing random data used to seed the random number
3412generator, or an EGD socket (see
3413.Xr RAND_egd 3 ) .
3414Multiple files can be specified separated by a
3415.Sq \&: .
3416.It Ar paramfile 3375.It Ar paramfile
3417This option specifies the DSA parameter file to use. 3376This option specifies the DSA parameter file to use.
3418The parameters in this file determine the size of the private key. 3377The parameters in this file determine the size of the private key.
@@ -3611,7 +3570,6 @@ $ openssl genpkey -paramfile dhp.pem -out dhkey.pem
3611.Op Fl engine Ar id 3570.Op Fl engine Ar id
3612.Op Fl out Ar file 3571.Op Fl out Ar file
3613.Op Fl passout Ar arg 3572.Op Fl passout Ar arg
3614.Op Fl rand Ar
3615.Op Ar numbits 3573.Op Ar numbits
3616.Ek 3574.Ek
3617.nr nS 0 3575.nr nS 0
@@ -3655,13 +3613,6 @@ For more information about the format of
3655see the 3613see the
3656.Sx PASS PHRASE ARGUMENTS 3614.Sx PASS PHRASE ARGUMENTS
3657section above. 3615section above.
3658.It Fl rand Ar
3659A file or files
3660containing random data used to seed the random number
3661generator, or an EGD socket (see
3662.Xr RAND_egd 3 ) .
3663Multiple files can be specified separated by a
3664.Sq \&: .
3665.It Ar numbits 3616.It Ar numbits
3666The size of the private key to generate in bits. 3617The size of the private key to generate in bits.
3667This must be the last option specified. 3618This must be the last option specified.
@@ -4700,7 +4651,6 @@ compatibility, several of the utilities use the old format at present.
4700.Op Fl out Ar file 4651.Op Fl out Ar file
4701.Op Fl passin Ar arg 4652.Op Fl passin Ar arg
4702.Op Fl passout Ar arg 4653.Op Fl passout Ar arg
4703.Op Fl rand Ar
4704.Op Fl twopass 4654.Op Fl twopass
4705.Ek 4655.Ek
4706.nr nS 0 4656.nr nS 0
@@ -4915,13 +4865,6 @@ For more information about the format of
4915see the 4865see the
4916.Sx PASS PHRASE ARGUMENTS 4866.Sx PASS PHRASE ARGUMENTS
4917section above. 4867section above.
4918.It Fl rand Ar
4919A file or files
4920containing random data used to seed the random number generator,
4921or an EGD socket (see
4922.Xr RAND_egd 3 ) .
4923Multiple files can be specified separated by a
4924.Sq \&: .
4925.El 4868.El
4926.Sh PKCS12 NOTES 4869.Sh PKCS12 NOTES
4927Although there are a large number of options, 4870Although there are a large number of options,
@@ -5478,7 +5421,6 @@ is prime.
5478.Op Fl engine Ar id 5421.Op Fl engine Ar id
5479.Op Fl hex 5422.Op Fl hex
5480.Op Fl out Ar file 5423.Op Fl out Ar file
5481.Op Fl rand Ar
5482.Ar num 5424.Ar num
5483.nr nS 0 5425.nr nS 0
5484.Pp 5426.Pp
@@ -5486,23 +5428,7 @@ The
5486.Nm rand 5428.Nm rand
5487command outputs 5429command outputs
5488.Ar num 5430.Ar num
5489pseudo-random bytes after seeding 5431pseudo-random bytes.
5490the random number generator once.
5491As in other
5492.Nm openssl
5493command line tools, PRNG seeding uses the file
5494.Pa $HOME/.rnd
5495or
5496.Pa .rnd
5497in addition to the files given in the
5498.Fl rand
5499option.
5500A new
5501.Pa $HOME/.rnd
5502or
5503.Pa .rnd
5504file will be written back if enough
5505seeding was obtained from these sources.
5506.Pp 5432.Pp
5507The options are as follows: 5433The options are as follows:
5508.Bl -tag -width Ds 5434.Bl -tag -width Ds
@@ -5524,12 +5450,6 @@ Specify hexadecimal output.
5524Write to 5450Write to
5525.Ar file 5451.Ar file
5526instead of standard output. 5452instead of standard output.
5527.It Fl rand Ar
5528Use specified file or files, or EGD socket (see
5529.Xr RAND_egd 3 )
5530for seeding the random number generator.
5531Multiple files can be specified separated by a
5532.Sq \&: .
5533.El 5453.El
5534.\" 5454.\"
5535.\" REQ 5455.\" REQ
@@ -5563,7 +5483,6 @@ Multiple files can be specified separated by a
5563.Op Fl passin Ar arg 5483.Op Fl passin Ar arg
5564.Op Fl passout Ar arg 5484.Op Fl passout Ar arg
5565.Op Fl pubkey 5485.Op Fl pubkey
5566.Op Fl rand Ar
5567.Op Fl reqexts Ar section 5486.Op Fl reqexts Ar section
5568.Op Fl reqopt Ar option 5487.Op Fl reqopt Ar option
5569.Op Fl set_serial Ar n 5488.Op Fl set_serial Ar n
@@ -5782,12 +5701,6 @@ see the
5782section above. 5701section above.
5783.It Fl pubkey 5702.It Fl pubkey
5784Outputs the public key. 5703Outputs the public key.
5785.It Fl rand Ar
5786A file or files containing random data used to seed the random number generator,
5787or an EGD socket (see
5788.Xr RAND_egd 3 ) .
5789Multiple files can be specified separated by a
5790.Sq \&: .
5791.It Fl reqopt Ar option 5704.It Fl reqopt Ar option
5792Customise the output format used with 5705Customise the output format used with
5793.Fl text . 5706.Fl text .
@@ -6719,7 +6632,6 @@ which it can be seen agrees with the recovered value above.
6719.Op Fl psk Ar key 6632.Op Fl psk Ar key
6720.Op Fl psk_identity Ar identity 6633.Op Fl psk_identity Ar identity
6721.Op Fl quiet 6634.Op Fl quiet
6722.Op Fl rand Ar
6723.Op Fl reconnect 6635.Op Fl reconnect
6724.Op Fl showcerts 6636.Op Fl showcerts
6725.Op Fl ssl3 6637.Op Fl ssl3
@@ -6874,12 +6786,6 @@ Inhibit printing of session and certificate information.
6874This implicitly turns on 6786This implicitly turns on
6875.Fl ign_eof 6787.Fl ign_eof
6876as well. 6788as well.
6877.It Fl rand Ar
6878A file or files containing random data used to seed the random number generator,
6879or an EGD socket (see
6880.Xr RAND_egd 3 ) .
6881Multiple files can be specified separated by a
6882.Sq \&: .
6883.It Fl reconnect 6789.It Fl reconnect
6884Reconnects to the same server 5 times using the same session ID; this can 6790Reconnects to the same server 5 times using the same session ID; this can
6885be used as a test that session caching is working. 6791be used as a test that session caching is working.
@@ -7031,7 +6937,6 @@ We should really report information whenever a session is renegotiated.
7031.Op Fl psk Ar key 6937.Op Fl psk Ar key
7032.Op Fl psk_hint Ar hint 6938.Op Fl psk_hint Ar hint
7033.Op Fl quiet 6939.Op Fl quiet
7034.Op Fl rand Ar
7035.Op Fl serverpref 6940.Op Fl serverpref
7036.Op Fl ssl3 6941.Op Fl ssl3
7037.Op Fl state 6942.Op Fl state
@@ -7200,12 +7105,6 @@ Use the PSK identity hint
7200when using a PSK cipher suite. 7105when using a PSK cipher suite.
7201.It Fl quiet 7106.It Fl quiet
7202Inhibit printing of session and certificate information. 7107Inhibit printing of session and certificate information.
7203.It Fl rand Ar
7204A file or files containing random data used to seed the random number generator,
7205or an EGD socket (see
7206.Xr RAND_egd 3 ) .
7207Multiple files can be specified separated by a
7208.Sq \&: .
7209.It Fl serverpref 7108.It Fl serverpref
7210Use server's cipher preferences. 7109Use server's cipher preferences.
7211.It Fl state 7110.It Fl state
@@ -7669,7 +7568,6 @@ The cipher and start time should be printed out in human readable form.
7669.Op Fl passin Ar arg 7568.Op Fl passin Ar arg
7670.Op Fl pk7out 7569.Op Fl pk7out
7671.Op Fl policy_check 7570.Op Fl policy_check
7672.Op Fl rand Ar
7673.Op Fl recip Ar file 7571.Op Fl recip Ar file
7674.Op Fl resign 7572.Op Fl resign
7675.Op Fl sign 7573.Op Fl sign
@@ -7939,13 +7837,6 @@ For more information about the format of
7939see the 7837see the
7940.Sx PASS PHRASE ARGUMENTS 7838.Sx PASS PHRASE ARGUMENTS
7941section above. 7839section above.
7942.It Fl rand Ar
7943A file or files
7944containing random data used to seed the random number generator,
7945or an EGD socket (see
7946.Xr RAND_egd 3 ) .
7947Multiple files can be specified separated by a
7948.Sq \&: .
7949.It Fl recip Ar file 7840.It Fl recip Ar file
7950The recipients certificate when decrypting a message. 7841The recipients certificate when decrypting a message.
7951This certificate 7842This certificate
@@ -8290,7 +8181,6 @@ benchmarks in parallel.
8290.Op Fl no_nonce 8181.Op Fl no_nonce
8291.Op Fl out Ar request.tsq 8182.Op Fl out Ar request.tsq
8292.Op Fl policy Ar object_id 8183.Op Fl policy Ar object_id
8293.Op Fl rand Ar file : Ns Ar file
8294.Op Fl text 8184.Op Fl text
8295.Ek 8185.Ek
8296.nr nS 0 8186.nr nS 0
@@ -8425,16 +8315,6 @@ Either the dotted OID notation or OID names defined
8425in the config file can be used. 8315in the config file can be used.
8426If no policy is requested the TSA will 8316If no policy is requested the TSA will
8427use its own default policy. 8317use its own default policy.
8428.It Fl rand Ar file : Ns Ar file
8429The files containing random data for seeding the random number generator.
8430Multiple files can be specified.
8431The separator is
8432.Sq \&;
8433for MS-Windows;
8434.Sq \&,
8435for VMS; and
8436.Sq \&:
8437for all other platforms.
8438.It Fl text 8318.It Fl text
8439If this option is specified the output is in human-readable text format 8319If this option is specified the output is in human-readable text format
8440instead of DER. 8320instead of DER.