mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-14 12:26:55 +01:00
* [FIX] Minor bugfixes
* [ADD] Added temp master password counter (mas 100 attempts)
This commit is contained in:
11
CHANGELOG
11
CHANGELOG
@@ -1,3 +1,14 @@
|
||||
=== ** v1.2.0.12 ===
|
||||
|
||||
* [ADD] Added temp master password counter (max 100 attempts)
|
||||
* [FIX] Fixed issue when paging accounts when sort key was set.
|
||||
* [FIX] Closes #204. Fixed LDAP group search when ADS is set. Thanks to @vplanas
|
||||
* [ADD] Add styles.css minimized version file
|
||||
* [FIX] Closes #196. Fixed textarea element name. Thanks to @joeg1484 and @st3reo
|
||||
* [FIX] Improved installer when database is located in another host.
|
||||
* [FIX] Enforce 32 bytes IV length.
|
||||
* [FIX] Minor bugfixes
|
||||
|
||||
=== ** v1.2.0.11 ===
|
||||
|
||||
* [MOD] Modified logout behavior to prevent login for two times. Related #189
|
||||
|
||||
@@ -75,10 +75,12 @@ class Crypt
|
||||
$source = MCRYPT_RAND;
|
||||
}
|
||||
|
||||
$ivSize = mcrypt_enc_get_iv_size($mcryptRes);
|
||||
|
||||
// Crear el IV y asegurar que tiene una longitud de 32 bytes
|
||||
do {
|
||||
$cryptIV = mcrypt_create_iv(mcrypt_enc_get_iv_size($mcryptRes), $source);
|
||||
} while (strlen($cryptIV) < 32);
|
||||
$cryptIV = mcrypt_create_iv($ivSize, $source);
|
||||
} while (strlen(substr($cryptIV, 0, $ivSize)) < $ivSize);
|
||||
|
||||
mcrypt_module_close($mcryptRes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user