From 477197ff5b2bcb631c94dab983e57b7c4378e77d Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Fri, 12 Feb 2016 23:28:45 +0200 Subject: [PATCH] MXS-581: Moved to MD5 based encryption of passwords The admin users are now encrypted with a more complex algorithm which reduces the chance of two passwords generating the same hash by a significant amount. Refer to the GNU libc manual for more details about the crypt function: http://www.gnu.org/software/libc/manual/html_node/crypt.html --- server/include/adminusers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/include/adminusers.h b/server/include/adminusers.h index c4e3ec40a..be5a9c631 100644 --- a/server/include/adminusers.h +++ b/server/include/adminusers.h @@ -31,7 +31,7 @@ */ #include -#define ADMIN_SALT "MS" +#define ADMIN_SALT "$1$MXS" extern int admin_verify(char *, char *); extern char *admin_add_user(char *, char *);