[BACK]Return to openssl.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/openssl.1 between version 1.55 and 1.56

version 1.55, 2016/08/19 08:46:38 version 1.56, 2016/08/20 07:56:09
Line 2420 
Line 2420 
 with the  with the
 .Fl VAfile  .Fl VAfile
 option.  option.
 .\"  
 .\" PASSWD  
 .\"  
 .Sh PASSWD  .Sh PASSWD
 .nr nS 1  .nr nS 1
 .Nm "openssl passwd"  .Nm "openssl passwd"
Line 2439 
Line 2436 
 .Pp  .Pp
 The  The
 .Nm passwd  .Nm passwd
 command computes the hash of a password typed at run-time  command computes the hash of a password.
 or the hash of each password in a list.  
 The password list is taken from the named  
 .Ar file  
 for option  
 .Fl in ,  
 from stdin for option  
 .Fl stdin ,  
 or from the command line, or from the terminal otherwise.  
 The  
 .Ux  
 standard algorithm  
 .Em crypt  
 and the MD5-based  
 .Bx  
 password algorithm  
 .Em 1  
 and its Apache variant  
 .Em apr1  
 are available.  
 .Pp  .Pp
 The options are as follows:  The options are as follows:
 .Bl -tag -width Ds  .Bl -tag -width Ds
Line 2466 
Line 2444 
 Use the MD5 based  Use the MD5 based
 .Bx  .Bx
 password algorithm  password algorithm
 .Em 1 .  .Qq 1 .
 .It Fl apr1  .It Fl apr1
 Use the  Use the
 .Em apr1  .Qq apr1
 algorithm  algorithm
 .Pq Apache variant of the  .Po
   Apache variant of the
 .Bx  .Bx
 algorithm.  algorithm
   .Pc .
 .It Fl crypt  .It Fl crypt
 Use the  Use the
 .Em crypt  .Qq crypt
 algorithm  algorithm (the default).
 .Pq default .  
 .It Fl in Ar file  .It Fl in Ar file
 Read passwords from  Read passwords from
 .Ar file .  .Ar file .
Line 2492 
Line 2471 
 .Fl table  .Fl table
 option.  option.
 .It Fl salt Ar string  .It Fl salt Ar string
 Use the specified  Use the salt specified by
 .Ar salt .  .Ar string .
 When reading a password from the terminal, this implies  When reading a password from the terminal, this implies
 .Fl noverify .  .Fl noverify .
 .It Fl stdin  .It Fl stdin
 Read passwords from  Read passwords from standard input.
 .Em stdin .  
 .It Fl table  .It Fl table
 In the output list, prepend the cleartext password and a TAB character  In the output list, prepend the cleartext password and a TAB character
 to each password hash.  to each password hash.
 .El  .El
 .Sh PASSWD EXAMPLES  
 .Dl $ openssl passwd -crypt -salt xx password  
 prints  
 .Qq xxj31ZMTZzkVA .  
 .Pp  
 .Dl $ openssl passwd -1 -salt xxxxxxxx password  
 prints  
 .Qq $1$xxxxxxxx$UYCIxa628.9qXjpQCjM4a. .  
 .Pp  
 .Dl $ openssl passwd -apr1 -salt xxxxxxxx password  
 prints  
 .Qq $apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0 .  
 .\"  .\"
 .\" PKCS7  .\" PKCS7
 .\"  .\"

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56