diff options
author | GaƩtan Njinang <gaetan.njinang@gmail.com> | 2017-01-20 06:37:43 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-01-21 10:44:23 -0500 |
commit | 037f2c3f48fadfae58dcb1d496841a6b38c0e6a0 (patch) | |
tree | f64526139dc0166b9c33b259efcfc1c029775eec /doc/man1 | |
parent | 8a05c4d3b5a1bfb9193ea24e71735e11de7168d2 (diff) |
'openssl passwd' command can now compute AIX MD5-based passwords hashes.
The difference between the AIX MD5 password algorithm and the standard MD5
password algorithm is that in AIX there is no magic string while in the
standard MD5 password algorithm the magic string is "$1$"
Documentation of '-aixmd5' option of 'openssl passwd' command is added.
1 test is added in test/recipes/20-test-passwd.t
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2251)
Diffstat (limited to 'doc/man1')
-rw-r--r-- | doc/man1/passwd.pod | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/man1/passwd.pod b/doc/man1/passwd.pod index fa11f630cf..02f6339883 100644 --- a/doc/man1/passwd.pod +++ b/doc/man1/passwd.pod @@ -11,6 +11,7 @@ B<openssl passwd> [B<-crypt>] [B<-1>] [B<-apr1>] +[B<-aixmd5>] [B<-5>] [B<-6>] [B<-salt> I<string>] @@ -28,7 +29,7 @@ run-time or the hash of each password in a list. The password list is taken from the named file for option B<-in file>, from stdin for option B<-stdin>, or from the command line, or from the terminal otherwise. The Unix standard algorithm B<crypt> and the MD5-based BSD password -algorithm B<1> and its Apache variant B<apr1> are available. +algorithm B<1>, its Apache variant B<apr1>, and its AIX variant are available. =head1 OPTIONS @@ -50,6 +51,10 @@ Use the MD5 based BSD password algorithm B<1>. Use the B<apr1> algorithm (Apache variant of the BSD algorithm). +=item B<-aixmd5> + +Use the B<AIX MD5> algorithm (AIX variant of the BSD algorithm). + =item B<-5> =item B<-6> @@ -93,6 +98,8 @@ B<openssl passwd -1 -salt xxxxxxxx password> prints B<$1$xxxxxxxx$UYCIxa628.9qXj B<openssl passwd -apr1 -salt xxxxxxxx password> prints B<$apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0>. +B<openssl passwd -aixmd5 -salt xxxxxxxx password> prints B<xxxxxxxx$8Oaipk/GPKhC64w/YVeFD/>. + =head1 COPYRIGHT Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved. |