From 037f2c3f48fadfae58dcb1d496841a6b38c0e6a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=A9tan=20Njinang?= Date: Fri, 20 Jan 2017 06:37:43 +0100 Subject: '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 Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/2251) --- doc/man1/passwd.pod | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'doc/man1') 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 [B<-crypt>] [B<-1>] [B<-apr1>] +[B<-aixmd5>] [B<-5>] [B<-6>] [B<-salt> I] @@ -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 and the MD5-based BSD password -algorithm B<1> and its Apache variant B are available. +algorithm B<1>, its Apache variant B, and its AIX variant are available. =head1 OPTIONS @@ -50,6 +51,10 @@ Use the MD5 based BSD password algorithm B<1>. Use the B algorithm (Apache variant of the BSD algorithm). +=item B<-aixmd5> + +Use the B algorithm (AIX variant of the BSD algorithm). + =item B<-5> =item B<-6> @@ -93,6 +98,8 @@ B prints B<$1$xxxxxxxx$UYCIxa628.9qXj B prints B<$apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0>. +B prints B. + =head1 COPYRIGHT Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved. -- cgit v1.2.3