Add new encryption scheme in server part.

This commit is contained in:
2017-04-17 20:37:26 +02:00
parent 89465f4c68
commit cef1194ad0
10 changed files with 144 additions and 686 deletions

View File

@@ -80,4 +80,11 @@ $REQUESTS_MIN_DELAY=1000;
Clear master keys and reset passwords after 15 minutes of inactivity
*/
$CLEAR_TIME=15*60*1000;
/*
The first crypto schema use an AES-ECB process to encrypt logins.
It's used until version 0.7.
Since version 0.8, we use AES-CBC + SHA256.
*/
$CRYPTO_V1_COMPATIBLE=1;
?>