feat(core): Added AES-128-CBC password scheme for SQL authentication.

This allows SOGo to use Plesk's database as an authentication source.
This commit is contained in:
Ludovic Marcotte
2020-01-06 15:47:47 -05:00
parent 4216f9e726
commit f0980a9cbd
12 changed files with 853 additions and 31 deletions
+2 -1
View File
@@ -617,7 +617,8 @@ groupObjectClasses: (NSArray *) newGroupObjectClasses
- (NSString *) _encryptPassword: (NSString *) thePassword
{
NSString *pass;
pass = [thePassword asCryptedPassUsingScheme: _userPasswordAlgorithm];
pass = [thePassword asCryptedPassUsingScheme: _userPasswordAlgorithm
keyPath: nil];
if (pass == nil)
{