summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmc <>2016-08-20 07:56:09 +0000
committerjmc <>2016-08-20 07:56:09 +0000
commitd41b9c2964a637485383a315babf5be705900a50 (patch)
tree205f8068349ac79d3dc245f10100cbbefc783633 /src
parent30130a14f634515f0b4570796ab55bf107fd2ad9 (diff)
downloadopenbsd-d41b9c2964a637485383a315babf5be705900a50.tar.gz
openbsd-d41b9c2964a637485383a315babf5be705900a50.tar.bz2
openbsd-d41b9c2964a637485383a315babf5be705900a50.zip
shorten the passwd text; ok jsing
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/openssl.162
1 files changed, 14 insertions, 48 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1
index f583758cb8..971cb43fd2 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.55 2016/08/19 08:46:38 jmc Exp $ 1.\" $OpenBSD: openssl.1,v 1.56 2016/08/20 07:56:09 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: August 19 2016 $ 115.Dd $Mdocdate: August 20 2016 $
116.Dt OPENSSL 1 116.Dt OPENSSL 1
117.Os 117.Os
118.Sh NAME 118.Sh NAME
@@ -2420,9 +2420,6 @@ Alternatively, the responder certificate itself can be explicitly trusted
2420with the 2420with the
2421.Fl VAfile 2421.Fl VAfile
2422option. 2422option.
2423.\"
2424.\" PASSWD
2425.\"
2426.Sh PASSWD 2423.Sh PASSWD
2427.nr nS 1 2424.nr nS 1
2428.Nm "openssl passwd" 2425.Nm "openssl passwd"
@@ -2439,26 +2436,7 @@ option.
2439.Pp 2436.Pp
2440The 2437The
2441.Nm passwd 2438.Nm passwd
2442command computes the hash of a password typed at run-time 2439command computes the hash of a password.
2443or the hash of each password in a list.
2444The password list is taken from the named
2445.Ar file
2446for option
2447.Fl in ,
2448from stdin for option
2449.Fl stdin ,
2450or from the command line, or from the terminal otherwise.
2451The
2452.Ux
2453standard algorithm
2454.Em crypt
2455and the MD5-based
2456.Bx
2457password algorithm
2458.Em 1
2459and its Apache variant
2460.Em apr1
2461are available.
2462.Pp 2440.Pp
2463The options are as follows: 2441The options are as follows:
2464.Bl -tag -width Ds 2442.Bl -tag -width Ds
@@ -2466,19 +2444,20 @@ The options are as follows:
2466Use the MD5 based 2444Use the MD5 based
2467.Bx 2445.Bx
2468password algorithm 2446password algorithm
2469.Em 1 . 2447.Qq 1 .
2470.It Fl apr1 2448.It Fl apr1
2471Use the 2449Use the
2472.Em apr1 2450.Qq apr1
2473algorithm 2451algorithm
2474.Pq Apache variant of the 2452.Po
2453Apache variant of the
2475.Bx 2454.Bx
2476algorithm. 2455algorithm
2456.Pc .
2477.It Fl crypt 2457.It Fl crypt
2478Use the 2458Use the
2479.Em crypt 2459.Qq crypt
2480algorithm 2460algorithm (the default).
2481.Pq default .
2482.It Fl in Ar file 2461.It Fl in Ar file
2483Read passwords from 2462Read passwords from
2484.Ar file . 2463.Ar file .
@@ -2492,29 +2471,16 @@ This only makes sense in conjunction with the
2492.Fl table 2471.Fl table
2493option. 2472option.
2494.It Fl salt Ar string 2473.It Fl salt Ar string
2495Use the specified 2474Use the salt specified by
2496.Ar salt . 2475.Ar string .
2497When reading a password from the terminal, this implies 2476When reading a password from the terminal, this implies
2498.Fl noverify . 2477.Fl noverify .
2499.It Fl stdin 2478.It Fl stdin
2500Read passwords from 2479Read passwords from standard input.
2501.Em stdin .
2502.It Fl table 2480.It Fl table
2503In the output list, prepend the cleartext password and a TAB character 2481In the output list, prepend the cleartext password and a TAB character
2504to each password hash. 2482to each password hash.
2505.El 2483.El
2506.Sh PASSWD EXAMPLES
2507.Dl $ openssl passwd -crypt -salt xx password
2508prints
2509.Qq xxj31ZMTZzkVA .
2510.Pp
2511.Dl $ openssl passwd -1 -salt xxxxxxxx password
2512prints
2513.Qq $1$xxxxxxxx$UYCIxa628.9qXjpQCjM4a. .
2514.Pp
2515.Dl $ openssl passwd -apr1 -salt xxxxxxxx password
2516prints
2517.Qq $apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0 .
2518.\" 2484.\"
2519.\" PKCS7 2485.\" PKCS7
2520.\" 2486.\"