summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2025-05-24 04:05:18 +0000
committertb <>2025-05-24 04:05:18 +0000
commit32a836cf03e48a4d7e79379726b2df62f14b37fb (patch)
tree9c0f6573ac8380ac4ca49adc127644aae7d755d5
parentdf2e11e608657e62f1f28a76ff533ab56acfb530 (diff)
downloadopenbsd-32a836cf03e48a4d7e79379726b2df62f14b37fb.tar.gz
openbsd-32a836cf03e48a4d7e79379726b2df62f14b37fb.tar.bz2
openbsd-32a836cf03e48a4d7e79379726b2df62f14b37fb.zip
Update and improve documentation for pkcs8 -v2
with input from jsing
-rw-r--r--src/usr.bin/openssl/openssl.120
1 files changed, 8 insertions, 12 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1
index d27b504ce3..e259450ed7 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.165 2025/05/24 04:05:18 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: May 24 2025 $
114.Dt OPENSSL 1 114.Dt OPENSSL 1
115.Os 115.Os
116.Sh NAME 116.Sh NAME
@@ -3021,16 +3021,12 @@ which allow strong encryption algorithms like triple DES or 128-bit RC2.
3021.El 3021.El
3022.It Fl v2 Ar alg 3022.It Fl v2 Ar alg
3023Use PKCS#5 v2.0 algorithms. 3023Use PKCS#5 v2.0 algorithms.
3024Supports algorithms such as 168-bit triple DES or 128-bit RC2, 3024These are block ciphers used in CBC mode.
3025however not many implementations support PKCS#5 v2.0 yet 3025The default is AES-256-CBC.
3026(if using private keys with 3026With the exception of AES, the choices available in RFC 8018
3027.Nm openssl 3027are considered decrepit.
3028this doesn't matter). 3028They can be enabled with des, des3, and rc2
3029.Pp 3029(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 3030.El
3035.Tg pkcs12 3031.Tg pkcs12
3036.Sh PKCS12 3032.Sh PKCS12