summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2004-01-25 20:27:37 +0000
committerjmc <>2004-01-25 20:27:37 +0000
commitbdd09b71535d0903b10cdbf54ac05e7e99bfbe79 (patch)
treee9dbe9de049da070a5caa7f37572fc9509489f5c
parente294a5916b502510a7b62df45004b1084dafecbc (diff)
downloadopenbsd-bdd09b71535d0903b10cdbf54ac05e7e99bfbe79.tar.gz
openbsd-bdd09b71535d0903b10cdbf54ac05e7e99bfbe79.tar.bz2
openbsd-bdd09b71535d0903b10cdbf54ac05e7e99bfbe79.zip
sort options and update openssl passwd;
-rw-r--r--src/usr.sbin/openssl/openssl.145
1 files changed, 23 insertions, 22 deletions
diff --git a/src/usr.sbin/openssl/openssl.1 b/src/usr.sbin/openssl/openssl.1
index 6284c5bc49..caf93d2e1b 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.30 2004/01/23 21:43:09 jmc Exp $ 1.\" $OpenBSD: openssl.1,v 1.31 2004/01/25 20:27:37 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.\"
@@ -3463,16 +3463,14 @@ $ openssl ocsp -index demoCA/index.txt -rsigner rcert.pem -CA \e
3463.\" 3463.\"
3464.Sh PASSWD 3464.Sh PASSWD
3465.Nm openssl passwd 3465.Nm openssl passwd
3466.Op Fl crypt 3466.Op Fl 1 | apr1 | crypt
3467.Op Fl 1
3468.Op Fl apr1
3469.Op Fl salt Ar string
3470.Op Fl in Ar file
3471.Op Fl stdin
3472.Op Fl noverify 3467.Op Fl noverify
3473.Op Fl quiet 3468.Op Fl quiet
3474.Op Fl table
3475.Op Fl reverse 3469.Op Fl reverse
3470.Op Fl stdin
3471.Op Fl table
3472.Op Fl in Ar file
3473.Op Fl salt Ar string
3476.Op Ar password 3474.Op Ar password
3477.Pp 3475.Pp
3478The 3476The
@@ -3500,11 +3498,6 @@ are available.
3500.Pp 3498.Pp
3501The options are as follows: 3499The options are as follows:
3502.Bl -tag -width "XXXX" 3500.Bl -tag -width "XXXX"
3503.It Fl crypt
3504Use the
3505.Em crypt
3506algorithm
3507.Pq default .
3508.It Fl 1 3501.It Fl 1
3509Use the MD5 based 3502Use the MD5 based
3510.Bx 3503.Bx
@@ -3517,26 +3510,34 @@ algorithm
3517.Pq Apache variant of the 3510.Pq Apache variant of the
3518.Bx 3511.Bx
3519algorithm. 3512algorithm.
3513.It Fl crypt
3514Use the
3515.Em crypt
3516algorithm
3517.Pq default .
3518.It Fl in Ar file
3519Read passwords from
3520.Ar file .
3521.It Fl noverify
3522Don't verify when reading a password from the terminal.
3523.It Fl quiet
3524Don't output warnings when passwords given on the command line are truncated.
3525.It Fl reverse
3526Switch table columns.
3527This only makes sense in conjunction with the
3528.Fl table
3529option.
3520.It Fl salt Ar string 3530.It Fl salt Ar string
3521Use the specified 3531Use the specified
3522.Ar salt . 3532.Ar salt .
3523When reading a password from the terminal, this implies 3533When reading a password from the terminal, this implies
3524.Fl noverify . 3534.Fl noverify .
3525.It Fl in Ar file
3526Read passwords from
3527.Ar file .
3528.It Fl stdin 3535.It Fl stdin
3529Read passwords from 3536Read passwords from
3530.Em stdin . 3537.Em stdin .
3531.It Fl noverify
3532Don't verify when reading a password from the terminal.
3533.It Fl quiet
3534Don't output warnings when passwords given on the command line are truncated.
3535.It Fl table 3538.It Fl table
3536In the output list, prepend the cleartext password and a TAB character 3539In the output list, prepend the cleartext password and a TAB character
3537to each password hash. 3540to each password hash.
3538.It Fl reverse
3539Switch table columns.
3540.El 3541.El
3541.Sh PASSWD EXAMPLES 3542.Sh PASSWD EXAMPLES
3542.Dl $ openssl passwd -crypt -salt xx password 3543.Dl $ openssl passwd -crypt -salt xx password