Disable write for Argon2Kdf for store release

This commit is contained in:
BONNEVILLE Geoffroy
2017-11-08 15:08:40 +01:00
parent 75e18c859c
commit a8a3cd5437
4 changed files with 3 additions and 3 deletions

View File

@@ -124,7 +124,7 @@ namespace ModernKeePass.Common
public void Save()
{
// TODO: Save is disabled for now for Argon2Kdf because it corrupts DB (read works)
if (_pwDatabase == null || !_pwDatabase.IsOpen/* || KdfPool.Get(KeyDerivation.KdfUuid) is Argon2Kdf*/) return;
if (_pwDatabase == null || !_pwDatabase.IsOpen || KdfPool.Get(KeyDerivation.KdfUuid) is Argon2Kdf) return;
_pwDatabase.Save(new NullStatusLogger());
}