Index: sources/view/settings/VSettings.cpp =================================================================== diff -u -r5c4fe87834faa59fcb7982e783c8ae3390ec2205 -r6ccee3fdf50b4717096745fb5b3f5ecc91b9cd1b --- sources/view/settings/VSettings.cpp (.../VSettings.cpp) (revision 5c4fe87834faa59fcb7982e783c8ae3390ec2205) +++ sources/view/settings/VSettings.cpp (.../VSettings.cpp) (revision 6ccee3fdf50b4717096745fb5b3f5ecc91b9cd1b) @@ -254,16 +254,16 @@ * \returns true if string pass conforms, false otherwise */ bool View::VSettings::isPasswordValid(const QString &vPassword) { - int minLen = 8 ; + int minLen = 10 ; // in the SRS the max is required to be 12 which seems incorrect and I didn't set it her. QString pla = "(?=.*[%1])" ; // positive look ahead QString regSntnc = "^%1$" ; // regular expression sentence with has a start/end QString regUpper = "A-Z" ; QString regLower = "a-z" ; QString regDigit = "0-9" ; - QString regSymbl = "@$!%*?&.,_-" ; + QString regSymbl = "!@#$%^&*,.-_"; QString rln = "[%1]{%2,}" ; - // "^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[@$!%*?&])[A-Za-z0-9@$!%*?&]{8,}$" + // "^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[@$!%*?&])[A-Za-z0-9@$!%*?&]{10,}$" QString regStr = regSntnc.arg( pla.arg(regUpper) + pla.arg(regLower) +