summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkn <>2020-02-19 20:42:12 +0000
committerkn <>2020-02-19 20:42:12 +0000
commit89b122df5b1e02aa24527338712879c80ff0501d (patch)
treed86a2bd2d049f2f99264ee8c33394a504a9e635c /src
parent694792031e2b5887b3d073ebd3dabfa6e7a60fad (diff)
downloadopenbsd-89b122df5b1e02aa24527338712879c80ff0501d.tar.gz
openbsd-89b122df5b1e02aa24527338712879c80ff0501d.tar.bz2
openbsd-89b122df5b1e02aa24527338712879c80ff0501d.zip
Tag subcommand sections
Allow semantic lookup by manually tagging sections (.Sh) for which no automatic tagging has been implemented; this thereby also eliminates false positives such that ":tx509<Enter>" now jumps to the X509 section. feedback remi inoguchi schwarze OK tb
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/openssl.146
1 files changed, 44 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1
index ffdddb7e73..32a433458f 100644
--- a/src/usr.bin/openssl/openssl.1
+++ b/src/usr.bin/openssl/openssl.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: openssl.1,v 1.119 2020/02/16 16:39:01 jsing Exp $ 1.\" $OpenBSD: openssl.1,v 1.120 2020/02/19 20:42:12 kn 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.\"
@@ -110,7 +110,7 @@
110.\" copied and put under another distribution licence 110.\" copied and put under another distribution licence
111.\" [including the GNU Public Licence.] 111.\" [including the GNU Public Licence.]
112.\" 112.\"
113.Dd $Mdocdate: February 16 2020 $ 113.Dd $Mdocdate: February 19 2020 $
114.Dt OPENSSL 1 114.Dt OPENSSL 1
115.Os 115.Os
116.Sh NAME 116.Sh NAME
@@ -200,6 +200,7 @@ is not able to detect pseudo-commands such as
200or 200or
201.Cm no- Ns Ar command 201.Cm no- Ns Ar command
202itself. 202itself.
203.Tg asn1parse
203.Sh ASN1PARSE 204.Sh ASN1PARSE
204.Bl -hang -width "openssl asn1parse" 205.Bl -hang -width "openssl asn1parse"
205.It Nm openssl asn1parse 206.It Nm openssl asn1parse
@@ -296,6 +297,7 @@ This option can be used multiple times to
296.Qq drill down 297.Qq drill down
297into a nested structure. 298into a nested structure.
298.El 299.El
300.Tg ca
299.Sh CA 301.Sh CA
300.Bl -hang -width "openssl ca" 302.Bl -hang -width "openssl ca"
301.It Nm openssl ca 303.It Nm openssl ca
@@ -845,6 +847,7 @@ The default value is
845The same as 847The same as
846.Fl extensions . 848.Fl extensions .
847.El 849.El
850.Tg ciphers
848.Sh CIPHERS 851.Sh CIPHERS
849.Nm openssl ciphers 852.Nm openssl ciphers
850.Op Fl hVv 853.Op Fl hVv
@@ -877,6 +880,7 @@ Like
877.Fl V , 880.Fl V ,
878but without cipher suite codes. 881but without cipher suite codes.
879.El 882.El
883.Tg cms
880.Sh CMS 884.Sh CMS
881.Bl -hang -width "openssl cms" 885.Bl -hang -width "openssl cms"
882.It Nm openssl cms 886.It Nm openssl cms
@@ -1393,6 +1397,7 @@ A verify error occurred while
1393.Fl verify_retcode 1397.Fl verify_retcode
1394is specified. 1398is specified.
1395.El 1399.El
1400.Tg crl
1396.Sh CRL 1401.Sh CRL
1397.Bl -hang -width "openssl crl" 1402.Bl -hang -width "openssl crl"
1398.It Nm openssl crl 1403.It Nm openssl crl
@@ -1469,6 +1474,7 @@ Print the CRL in plain text.
1469.It Fl verify 1474.It Fl verify
1470Verify the signature on the CRL. 1475Verify the signature on the CRL.
1471.El 1476.El
1477.Tg crl2pkcs7
1472.Sh CRL2PKCS7 1478.Sh CRL2PKCS7
1473.Bl -hang -width "openssl crl2pkcs7" 1479.Bl -hang -width "openssl crl2pkcs7"
1474.It Nm openssl crl2pkcs7 1480.It Nm openssl crl2pkcs7
@@ -1514,6 +1520,7 @@ or standard output if not specified.
1514.It Fl outform Cm der | pem 1520.It Fl outform Cm der | pem
1515The output format. 1521The output format.
1516.El 1522.El
1523.Tg dgst
1517.Sh DGST 1524.Sh DGST
1518.Bl -hang -width "openssl dgst" 1525.Bl -hang -width "openssl dgst"
1519.It Nm openssl dgst 1526.It Nm openssl dgst
@@ -1628,6 +1635,7 @@ or
1628File or files to digest. 1635File or files to digest.
1629If no files are specified then standard input is used. 1636If no files are specified then standard input is used.
1630.El 1637.El
1638.Tg dhparam
1631.Sh DHPARAM 1639.Sh DHPARAM
1632.Bl -hang -width "openssl dhparam" 1640.Bl -hang -width "openssl dhparam"
1633.It Nm openssl dhparam 1641.It Nm openssl dhparam
@@ -1704,6 +1712,7 @@ If not present, a value of 2048 is used.
1704If this value is present, the input file is ignored and 1712If this value is present, the input file is ignored and
1705parameters are generated instead. 1713parameters are generated instead.
1706.El 1714.El
1715.Tg dsa
1707.Sh DSA 1716.Sh DSA
1708.Bl -hang -width "openssl dsa" 1717.Bl -hang -width "openssl dsa"
1709.It Nm openssl dsa 1718.It Nm openssl dsa
@@ -1792,6 +1801,7 @@ The default is
1792.It Fl text 1801.It Fl text
1793Print the public/private key in plain text. 1802Print the public/private key in plain text.
1794.El 1803.El
1804.Tg dsaparam
1795.Sh DSAPARAM 1805.Sh DSAPARAM
1796.Bl -hang -width "openssl dsaparam" 1806.Bl -hang -width "openssl dsaparam"
1797.It Nm openssl dsaparam 1807.It Nm openssl dsaparam
@@ -1844,6 +1854,7 @@ Generate a parameter set of size
1844.Ar numbits . 1854.Ar numbits .
1845If this option is included, the input file is ignored. 1855If this option is included, the input file is ignored.
1846.El 1856.El
1857.Tg ec
1847.Sh EC 1858.Sh EC
1848.Bl -hang -width "openssl ec" 1859.Bl -hang -width "openssl ec"
1849.It Nm openssl ec 1860.It Nm openssl ec
@@ -1956,6 +1967,7 @@ Automatically set if the input is a public key.
1956.It Fl text 1967.It Fl text
1957Print the public/private key in plain text. 1968Print the public/private key in plain text.
1958.El 1969.El
1970.Tg ecparam
1959.Sh ECPARAM 1971.Sh ECPARAM
1960.Bl -hang -width "openssl ecparam" 1972.Bl -hang -width "openssl ecparam"
1961.It Nm openssl ecparam 1973.It Nm openssl ecparam
@@ -2051,6 +2063,7 @@ is currently not implemented.
2051.It Fl text 2063.It Fl text
2052Print the EC parameters in plain text. 2064Print the EC parameters in plain text.
2053.El 2065.El
2066.Tg enc
2054.Sh ENC 2067.Sh ENC
2055.Bl -hang -width "openssl enc" 2068.Bl -hang -width "openssl enc"
2056.It Nm openssl enc 2069.It Nm openssl enc
@@ -2214,6 +2227,7 @@ encrypted file when it is decrypted.
2214.It Fl v 2227.It Fl v
2215Print extra details about the processing. 2228Print extra details about the processing.
2216.El 2229.El
2230.Tg errstr
2217.Sh ERRSTR 2231.Sh ERRSTR
2218.Nm openssl errstr 2232.Nm openssl errstr
2219.Op Fl stats 2233.Op Fl stats
@@ -2244,6 +2258,7 @@ The options are as follows:
2244.It Fl stats 2258.It Fl stats
2245Print debugging statistics about various aspects of the hash table. 2259Print debugging statistics about various aspects of the hash table.
2246.El 2260.El
2261.Tg gendsa
2247.Sh GENDSA 2262.Sh GENDSA
2248.Bl -hang -width "openssl gendsa" 2263.Bl -hang -width "openssl gendsa"
2249.It Nm openssl gendsa 2264.It Nm openssl gendsa
@@ -2290,6 +2305,7 @@ The output file password source.
2290Specify the DSA parameter file to use. 2305Specify the DSA parameter file to use.
2291The parameters in this file determine the size of the private key. 2306The parameters in this file determine the size of the private key.
2292.El 2307.El
2308.Tg genpkey
2293.Sh GENPKEY 2309.Sh GENPKEY
2294.Bl -hang -width "openssl genpkey" 2310.Bl -hang -width "openssl genpkey"
2295.It Nm openssl genpkey 2311.It Nm openssl genpkey
@@ -2394,6 +2410,7 @@ The EC curve to use.
2394.It Fl text 2410.It Fl text
2395Print the private/public key in plain text. 2411Print the private/public key in plain text.
2396.El 2412.El
2413.Tg genrsa
2397.Sh GENRSA 2414.Sh GENRSA
2398.Bl -hang -width "openssl genrsa" 2415.Bl -hang -width "openssl genrsa"
2399.It Nm openssl genrsa 2416.It Nm openssl genrsa
@@ -2451,6 +2468,7 @@ The size of the private key to generate in bits.
2451This must be the last option specified. 2468This must be the last option specified.
2452The default is 2048. 2469The default is 2048.
2453.El 2470.El
2471.Tg nseq
2454.Sh NSEQ 2472.Sh NSEQ
2455.Nm openssl nseq 2473.Nm openssl nseq
2456.Op Fl in Ar file 2474.Op Fl in Ar file
@@ -2481,6 +2499,7 @@ With the
2481option the situation is reversed: 2499option the situation is reversed:
2482a Netscape certificate sequence is created from a file of certificates. 2500a Netscape certificate sequence is created from a file of certificates.
2483.El 2501.El
2502.Tg ocsp
2484.Sh OCSP 2503.Sh OCSP
2485.Bl -hang -width "openssl ocsp" 2504.Bl -hang -width "openssl ocsp"
2486.It Nm openssl ocsp 2505.It Nm openssl ocsp
@@ -2833,6 +2852,7 @@ Alternatively, the responder certificate itself can be explicitly trusted
2833with the 2852with the
2834.Fl VAfile 2853.Fl VAfile
2835option. 2854option.
2855.Tg passwd
2836.Sh PASSWD 2856.Sh PASSWD
2837.Bl -hang -width "openssl passwd" 2857.Bl -hang -width "openssl passwd"
2838.It Nm openssl passwd 2858.It Nm openssl passwd
@@ -2896,6 +2916,7 @@ Read passwords from standard input.
2896In the output list, prepend the cleartext password and a TAB character 2916In the output list, prepend the cleartext password and a TAB character
2897to each password hash. 2917to each password hash.
2898.El 2918.El
2919.Tg pkcs7
2899.Sh PKCS7 2920.Sh PKCS7
2900.Bl -hang -width "openssl pkcs7" 2921.Bl -hang -width "openssl pkcs7"
2901.It Nm openssl pkcs7 2922.It Nm openssl pkcs7
@@ -2941,6 +2962,7 @@ preceded by their subject and issuer names in a one-line format.
2941.It Fl text 2962.It Fl text
2942Print certificate details in full rather than just subject and issuer names. 2963Print certificate details in full rather than just subject and issuer names.
2943.El 2964.El
2965.Tg pkcs8
2944.Sh PKCS8 2966.Sh PKCS8
2945.Bl -hang -width "openssl pkcs8" 2967.Bl -hang -width "openssl pkcs8"
2946.It Nm openssl pkcs8 2968.It Nm openssl pkcs8
@@ -3024,6 +3046,7 @@ is the encryption algorithm to use;
3024valid values include des, des3, and rc2. 3046valid values include des, des3, and rc2.
3025It is recommended that des3 is used. 3047It is recommended that des3 is used.
3026.El 3048.El
3049.Tg pkcs12
3027.Sh PKCS12 3050.Sh PKCS12
3028.Bl -hang -width "openssl pkcs12" 3051.Bl -hang -width "openssl pkcs12"
3029.It Nm openssl pkcs12 3052.It Nm openssl pkcs12
@@ -3241,6 +3264,7 @@ Otherwise,
3241is equivalent to 3264is equivalent to
3242.Fl passin . 3265.Fl passin .
3243.El 3266.El
3267.Tg pkey
3244.Sh PKEY 3268.Sh PKEY
3245.Bl -hang -width "openssl pkey" 3269.Bl -hang -width "openssl pkey"
3246.It Nm openssl pkey 3270.It Nm openssl pkey
@@ -3304,6 +3328,7 @@ Print the public/private key in plain text.
3304Print out only public key components 3328Print out only public key components
3305even if a private key is being processed. 3329even if a private key is being processed.
3306.El 3330.El
3331.Tg pkeyparam
3307.Sh PKEYPARAM 3332.Sh PKEYPARAM
3308.Cm openssl pkeyparam 3333.Cm openssl pkeyparam
3309.Op Fl in Ar file 3334.Op Fl in Ar file
@@ -3329,6 +3354,7 @@ or standard output if not specified.
3329.It Fl text 3354.It Fl text
3330Print the parameters in plain text. 3355Print the parameters in plain text.
3331.El 3356.El
3357.Tg pkeyutl
3332.Sh PKEYUTL 3358.Sh PKEYUTL
3333.Bl -hang -width "openssl pkeyutl" 3359.Bl -hang -width "openssl pkeyutl"
3334.It Nm openssl pkeyutl 3360.It Nm openssl pkeyutl
@@ -3481,6 +3507,7 @@ verification succeeded or failed.
3481.It Fl verifyrecover 3507.It Fl verifyrecover
3482Verify the input data and output the recovered data. 3508Verify the input data and output the recovered data.
3483.El 3509.El
3510.Tg prime
3484.Sh PRIME 3511.Sh PRIME
3485.Cm openssl prime 3512.Cm openssl prime
3486.Op Fl bits Ar n 3513.Op Fl bits Ar n
@@ -3525,6 +3552,7 @@ Test if number
3525.Ar p 3552.Ar p
3526is prime. 3553is prime.
3527.El 3554.El
3555.Tg rand
3528.Sh RAND 3556.Sh RAND
3529.Bl -hang -width "openssl rand" 3557.Bl -hang -width "openssl rand"
3530.It Nm openssl rand 3558.It Nm openssl rand
@@ -3552,6 +3580,7 @@ Specify hexadecimal output.
3552The output file to write to, 3580The output file to write to,
3553or standard output if not specified. 3581or standard output if not specified.
3554.El 3582.El
3583.Tg req
3555.Sh REQ 3584.Sh REQ
3556.Bl -hang -width "openssl req" 3585.Bl -hang -width "openssl req"
3557.It Nm openssl req 3586.It Nm openssl req
@@ -4001,6 +4030,7 @@ or
4001options in the configuration file. 4030options in the configuration file.
4002Any additional fields will be treated as though they were a 4031Any additional fields will be treated as though they were a
4003.Cm DirectoryString . 4032.Cm DirectoryString .
4033.Tg rsa
4004.Sh RSA 4034.Sh RSA
4005.Bl -hang -width "openssl rsa" 4035.Bl -hang -width "openssl rsa"
4006.It Nm openssl rsa 4036.It Nm openssl rsa
@@ -4098,6 +4128,7 @@ and SGC keys.
4098.It Fl text 4128.It Fl text
4099Print the public/private key components in plain text. 4129Print the public/private key components in plain text.
4100.El 4130.El
4131.Tg rsautl
4101.Sh RSAUTL 4132.Sh RSAUTL
4102.Bl -hang -width "openssl rsautl" 4133.Bl -hang -width "openssl rsautl"
4103.It Nm openssl rsautl 4134.It Nm openssl rsautl
@@ -4172,6 +4203,7 @@ This requires an RSA private key.
4172.It Fl verify 4203.It Fl verify
4173Verify the input data and output the recovered data. 4204Verify the input data and output the recovered data.
4174.El 4205.El
4206.Tg s_client
4175.Sh S_CLIENT 4207.Sh S_CLIENT
4176.Bl -hang -width "openssl s_client" 4208.Bl -hang -width "openssl s_client"
4177.It Nm openssl s_client 4209.It Nm openssl s_client
@@ -4470,6 +4502,7 @@ If this option is not specified then the host specified with
4470.Fl connect 4502.Fl connect
4471will be used. 4503will be used.
4472.El 4504.El
4505.Tg s_server
4473.Sh S_SERVER 4506.Sh S_SERVER
4474.Bl -hang -width "openssl s_server" 4507.Bl -hang -width "openssl s_server"
4475.It Nm openssl s_server 4508.It Nm openssl s_server
@@ -4775,6 +4808,7 @@ with
4775.Fl verify , 4808.Fl verify ,
4776a certificate is requested but the client does not have to send one. 4809a certificate is requested but the client does not have to send one.
4777.El 4810.El
4811.Tg s_time
4778.Sh S_TIME 4812.Sh S_TIME
4779.Bl -hang -width "openssl s_time" 4813.Bl -hang -width "openssl s_time"
4780.It Nm openssl s_time 4814.It Nm openssl s_time
@@ -4885,6 +4919,7 @@ If this parameter is not specified,
4885will only perform the handshake to establish SSL connections 4919will only perform the handshake to establish SSL connections
4886but not transfer any payload data. 4920but not transfer any payload data.
4887.El 4921.El
4922.Tg sess_id
4888.Sh SESS_ID 4923.Sh SESS_ID
4889.Bl -hang -width "openssl sess_id" 4924.Bl -hang -width "openssl sess_id"
4890.It Nm openssl sess_id 4925.It Nm openssl sess_id
@@ -4977,6 +5012,7 @@ should be taken if the information is being output by a
4977application. 5012application.
4978This is, however, strongly discouraged and should only be used for 5013This is, however, strongly discouraged and should only be used for
4979debugging purposes. 5014debugging purposes.
5015.Tg smime
4980.Sh SMIME 5016.Sh SMIME
4981.Bl -hang -width "openssl smime" 5017.Bl -hang -width "openssl smime"
4982.It Nm openssl smime 5018.It Nm openssl smime
@@ -5273,6 +5309,7 @@ An error occurred decrypting or verifying the message.
5273.It 5 5309.It 5
5274An error occurred writing certificates. 5310An error occurred writing certificates.
5275.El 5311.El
5312.Tg speed
5276.Sh SPEED 5313.Sh SPEED
5277.Bl -hang -width "openssl speed" 5314.Bl -hang -width "openssl speed"
5278.It Nm openssl speed 5315.It Nm openssl speed
@@ -5310,6 +5347,7 @@ Run
5310.Ar number 5347.Ar number
5311benchmarks in parallel. 5348benchmarks in parallel.
5312.El 5349.El
5350.Tg spkac
5313.Sh SPKAC 5351.Sh SPKAC
5314.Bl -hang -width "openssl spkac" 5352.Bl -hang -width "openssl spkac"
5315.It Nm openssl spkac 5353.It Nm openssl spkac
@@ -5371,6 +5409,7 @@ containing the SPKAC.
5371.It Fl verify 5409.It Fl verify
5372Verify the digital signature on the supplied SPKAC. 5410Verify the digital signature on the supplied SPKAC.
5373.El 5411.El
5412.Tg ts
5374.Sh TS 5413.Sh TS
5375.Bk -words 5414.Bk -words
5376.Bl -hang -width "openssl ts" 5415.Bl -hang -width "openssl ts"
@@ -5733,6 +5772,7 @@ If this variable is set to no,
5733only the signing certificate identifier is included. 5772only the signing certificate identifier is included.
5734The default is no. 5773The default is no.
5735.El 5774.El
5775.Tg verify
5736.Sh VERIFY 5776.Sh VERIFY
5737.Bl -hang -width "openssl verify" 5777.Bl -hang -width "openssl verify"
5738.It Nm openssl verify 5778.It Nm openssl verify
@@ -6060,6 +6100,7 @@ extension does not permit certificate signing.
6060An application specific error. 6100An application specific error.
6061Unused. 6101Unused.
6062.El 6102.El
6103.Tg version
6063.Sh VERSION 6104.Sh VERSION
6064.Nm openssl version 6105.Nm openssl version
6065.Op Fl abdfopv 6106.Op Fl abdfopv
@@ -6091,6 +6132,7 @@ The current
6091.Nm openssl 6132.Nm openssl
6092version. 6133version.
6093.El 6134.El
6135.Tg x509
6094.Sh X509 6136.Sh X509
6095.Bl -hang -width "openssl x509" 6137.Bl -hang -width "openssl x509"
6096.It Nm openssl x509 6138.It Nm openssl x509