Allow loading of bcrypt hashes with signature $2b$ (February 2014)

This commit is contained in:
Jens Steube
2016-09-02 10:03:22 +02:00
parent 54249835f4
commit a289c37ecf
3 changed files with 10 additions and 3 deletions
+3 -2
View File
@@ -1027,8 +1027,9 @@ extern hc_thread_mutex_t mux_display;
#define SIGNATURE_PHPASS2 "$H$"
#define SIGNATURE_MD5CRYPT "$1$"
#define SIGNATURE_BCRYPT1 "$2a$"
#define SIGNATURE_BCRYPT2 "$2x$"
#define SIGNATURE_BCRYPT3 "$2y$"
#define SIGNATURE_BCRYPT2 "$2b$"
#define SIGNATURE_BCRYPT3 "$2x$"
#define SIGNATURE_BCRYPT4 "$2y$"
#define SIGNATURE_SHA512CRYPT "$6$"
#define SIGNATURE_MD5APR1 "$apr1$"
#define SIGNATURE_MSSQL "0x0100"