summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/openssl.1
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/openssl/openssl.1')
-rw-r--r--src/usr.bin/openssl/openssl.138
1 files changed, 11 insertions, 27 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1
index d27b504ce3..f3e0be15ed 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.164 2025/04/19 17:20:24 kn Exp $ 1.\" $OpenBSD: openssl.1,v 1.168 2025/12/20 07:02:37 tb 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: April 19 2025 $ 113.Dd $Mdocdate: December 20 2025 $
114.Dt OPENSSL 1 114.Dt OPENSSL 1
115.Os 115.Os
116.Sh NAME 116.Sh NAME
@@ -931,7 +931,6 @@ but without cipher suite codes.
931.Op Fl certfile Ar file 931.Op Fl certfile Ar file
932.Op Fl certsout Ar file 932.Op Fl certsout Ar file
933.Op Fl cmsout 933.Op Fl cmsout
934.Op Fl compress
935.Op Fl content Ar file 934.Op Fl content Ar file
936.Op Fl crlfeol 935.Op Fl crlfeol
937.Op Fl data_create 936.Op Fl data_create
@@ -985,7 +984,6 @@ but without cipher suite codes.
985.Op Fl subject Ar s 984.Op Fl subject Ar s
986.Op Fl text 985.Op Fl text
987.Op Fl to Ar addr 986.Op Fl to Ar addr
988.Op Fl uncompress
989.Op Fl verify 987.Op Fl verify
990.Op Fl verify_receipt Ar file 988.Op Fl verify_receipt Ar file
991.Op Fl verify_retcode 989.Op Fl verify_retcode
@@ -996,8 +994,7 @@ but without cipher suite codes.
996The 994The
997.Nm cms 995.Nm cms
998command handles S/MIME v3.1 mail. 996command handles S/MIME v3.1 mail.
999It can encrypt, decrypt, sign and verify, compress and uncompress S/MIME 997It can encrypt, decrypt, sign and verify S/MIME messages.
1000messages.
1001.Pp 998.Pp
1002The MIME message must be sent without any blank lines between the headers and 999The MIME message must be sent without any blank lines between the headers and
1003the output. 1000the output.
@@ -1053,12 +1050,6 @@ Output a content from the input CMS Data type.
1053Create a CMS DigestedData type. 1050Create a CMS DigestedData type.
1054.It Fl digest_verify 1051.It Fl digest_verify
1055Verify a CMS DigestedData type and output the content. 1052Verify a CMS DigestedData type and output the content.
1056.It Fl compress
1057Create a CMS CompressedData type.
1058Must be compiled with zlib support for this option to work.
1059.It Fl uncompress
1060Uncompress a CMS CompressedData type and output the content.
1061Must be compiled with zlib support for this option to work.
1062.It Fl EncryptedData_encrypt 1053.It Fl EncryptedData_encrypt
1063Encrypt a content using supplied symmetric key and algorithm using a 1054Encrypt a content using supplied symmetric key and algorithm using a
1064CMS EncryptedData type. 1055CMS EncryptedData type.
@@ -1091,7 +1082,7 @@ The encryption algorithm to use.
1091128-, 192-, or 256-bit AES, 128-, 192-, or 256-bit CAMELLIA, 1082128-, 192-, or 256-bit AES, 128-, 192-, or 256-bit CAMELLIA,
1092DES (56 bits), triple DES (168 bits), 1083DES (56 bits), triple DES (168 bits),
1093or 40-, 64-, or 128-bit RC2, respectively; 1084or 40-, 64-, or 128-bit RC2, respectively;
1094if not specified, triple DES is 1085if not specified, 256-bit AES is
1095used. 1086used.
1096Only used with 1087Only used with
1097.Fl encrypt 1088.Fl encrypt
@@ -2973,9 +2964,6 @@ command processes private keys
2973(both encrypted and unencrypted) 2964(both encrypted and unencrypted)
2974in PKCS#8 format 2965in PKCS#8 format
2975with a variety of PKCS#5 (v1.5 and v2.0) and PKCS#12 algorithms. 2966with a variety of PKCS#5 (v1.5 and v2.0) and PKCS#12 algorithms.
2976The default encryption is only 56 bits;
2977keys encrypted using PKCS#5 v2.0 algorithms and high iteration counts
2978are more secure.
2979.Pp 2967.Pp
2980The options are as follows: 2968The options are as follows:
2981.Bl -tag -width Ds 2969.Bl -tag -width Ds
@@ -3021,16 +3009,12 @@ which allow strong encryption algorithms like triple DES or 128-bit RC2.
3021.El 3009.El
3022.It Fl v2 Ar alg 3010.It Fl v2 Ar alg
3023Use PKCS#5 v2.0 algorithms. 3011Use PKCS#5 v2.0 algorithms.
3024Supports algorithms such as 168-bit triple DES or 128-bit RC2, 3012These are block ciphers used in CBC mode.
3025however not many implementations support PKCS#5 v2.0 yet 3013The default is AES-256-CBC.
3026(if using private keys with 3014With the exception of AES, the choices available in RFC 8018
3027.Nm openssl 3015are considered decrepit.
3028this doesn't matter). 3016They can be enabled with des, des3, and rc2
3029.Pp 3017(rc5 is no longer supported).
3030.Ar alg
3031is the encryption algorithm to use;
3032valid values include des, des3, and rc2.
3033It is recommended that des3 is used.
3034.El 3018.El
3035.Tg pkcs12 3019.Tg pkcs12
3036.Sh PKCS12 3020.Sh PKCS12
@@ -5105,7 +5089,7 @@ The remaining options are as follows:
5105The encryption algorithm to use. 5089The encryption algorithm to use.
5106128-, 192-, or 256-bit AES, DES (56 bits), triple DES (168 bits), 5090128-, 192-, or 256-bit AES, DES (56 bits), triple DES (168 bits),
5107or 40-, 64-, or 128-bit RC2, respectively; 5091or 40-, 64-, or 128-bit RC2, respectively;
5108if not specified, 40-bit RC2 is 5092if not specified, 256-bit AES is
5109used. 5093used.
5110Only used with 5094Only used with
5111.Fl encrypt . 5095.Fl encrypt .