diff options
author | jmc <> | 2016-08-20 07:56:09 +0000 |
---|---|---|
committer | jmc <> | 2016-08-20 07:56:09 +0000 |
commit | d41b9c2964a637485383a315babf5be705900a50 (patch) | |
tree | 205f8068349ac79d3dc245f10100cbbefc783633 /src | |
parent | 30130a14f634515f0b4570796ab55bf107fd2ad9 (diff) | |
download | openbsd-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.1 | 62 |
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 | |||
2420 | with the | 2420 | with the |
2421 | .Fl VAfile | 2421 | .Fl VAfile |
2422 | option. | 2422 | option. |
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 |
2440 | The | 2437 | The |
2441 | .Nm passwd | 2438 | .Nm passwd |
2442 | command computes the hash of a password typed at run-time | 2439 | command computes the hash of a password. |
2443 | or the hash of each password in a list. | ||
2444 | The password list is taken from the named | ||
2445 | .Ar file | ||
2446 | for option | ||
2447 | .Fl in , | ||
2448 | from stdin for option | ||
2449 | .Fl stdin , | ||
2450 | or from the command line, or from the terminal otherwise. | ||
2451 | The | ||
2452 | .Ux | ||
2453 | standard algorithm | ||
2454 | .Em crypt | ||
2455 | and the MD5-based | ||
2456 | .Bx | ||
2457 | password algorithm | ||
2458 | .Em 1 | ||
2459 | and its Apache variant | ||
2460 | .Em apr1 | ||
2461 | are available. | ||
2462 | .Pp | 2440 | .Pp |
2463 | The options are as follows: | 2441 | The options are as follows: |
2464 | .Bl -tag -width Ds | 2442 | .Bl -tag -width Ds |
@@ -2466,19 +2444,20 @@ The options are as follows: | |||
2466 | Use the MD5 based | 2444 | Use the MD5 based |
2467 | .Bx | 2445 | .Bx |
2468 | password algorithm | 2446 | password algorithm |
2469 | .Em 1 . | 2447 | .Qq 1 . |
2470 | .It Fl apr1 | 2448 | .It Fl apr1 |
2471 | Use the | 2449 | Use the |
2472 | .Em apr1 | 2450 | .Qq apr1 |
2473 | algorithm | 2451 | algorithm |
2474 | .Pq Apache variant of the | 2452 | .Po |
2453 | Apache variant of the | ||
2475 | .Bx | 2454 | .Bx |
2476 | algorithm. | 2455 | algorithm |
2456 | .Pc . | ||
2477 | .It Fl crypt | 2457 | .It Fl crypt |
2478 | Use the | 2458 | Use the |
2479 | .Em crypt | 2459 | .Qq crypt |
2480 | algorithm | 2460 | algorithm (the default). |
2481 | .Pq default . | ||
2482 | .It Fl in Ar file | 2461 | .It Fl in Ar file |
2483 | Read passwords from | 2462 | Read 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 |
2493 | option. | 2472 | option. |
2494 | .It Fl salt Ar string | 2473 | .It Fl salt Ar string |
2495 | Use the specified | 2474 | Use the salt specified by |
2496 | .Ar salt . | 2475 | .Ar string . |
2497 | When reading a password from the terminal, this implies | 2476 | When reading a password from the terminal, this implies |
2498 | .Fl noverify . | 2477 | .Fl noverify . |
2499 | .It Fl stdin | 2478 | .It Fl stdin |
2500 | Read passwords from | 2479 | Read passwords from standard input. |
2501 | .Em stdin . | ||
2502 | .It Fl table | 2480 | .It Fl table |
2503 | In the output list, prepend the cleartext password and a TAB character | 2481 | In the output list, prepend the cleartext password and a TAB character |
2504 | to each password hash. | 2482 | to each password hash. |
2505 | .El | 2483 | .El |
2506 | .Sh PASSWD EXAMPLES | ||
2507 | .Dl $ openssl passwd -crypt -salt xx password | ||
2508 | prints | ||
2509 | .Qq xxj31ZMTZzkVA . | ||
2510 | .Pp | ||
2511 | .Dl $ openssl passwd -1 -salt xxxxxxxx password | ||
2512 | prints | ||
2513 | .Qq $1$xxxxxxxx$UYCIxa628.9qXjpQCjM4a. . | ||
2514 | .Pp | ||
2515 | .Dl $ openssl passwd -apr1 -salt xxxxxxxx password | ||
2516 | prints | ||
2517 | .Qq $apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0 . | ||
2518 | .\" | 2484 | .\" |
2519 | .\" PKCS7 | 2485 | .\" PKCS7 |
2520 | .\" | 2486 | .\" |