mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 07:43:37 +00:00
use hardcoded kdfiterations for send passwords (#1315)
This commit is contained in:
@@ -102,9 +102,8 @@ namespace Bit.Core.Services
|
||||
|
||||
if (password != null)
|
||||
{
|
||||
var kdfIterations = await _userService.GetKdfIterationsAsync() ?? 100000;
|
||||
var passwordHash = await _cryptoFunctionService.Pbkdf2Async(password, model.Key,
|
||||
CryptoHashAlgorithm.Sha256, kdfIterations);
|
||||
CryptoHashAlgorithm.Sha256, 100000);
|
||||
send.Password = Convert.ToBase64String(passwordHash);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user