saving changes settings for key derivation

This commit is contained in:
michael starke
2016-11-17 11:10:52 +01:00
parent e16c99d2ff
commit c35105ae00
2 changed files with 5 additions and 5 deletions

View File

@@ -1,3 +1,3 @@
github "mstarke/HNHUi" "1.1"
github "mstarke/KeePassKit" "32d3bdeb224b5718424b46a5b80c3a66114f6a9b"
github "mstarke/KeePassKit" "aedf5d2c119a710b9e1a1e4323fe43fc6cc542cd"
github "sparkle-project/Sparkle" "1.14.0"

View File

@@ -127,13 +127,13 @@
NSUUID *selectedKdfUUID = self.keyDerivationSettingsTabView.selectedTabViewItem.identifier;
if([selectedKdfUUID isEqual:aesKdf.uuid]) {
//aesKdf.rounds = self.aesEncryptionRoundsTextField.integerValue;
aesKdf.rounds = self.aesEncryptionRoundsTextField.integerValue;
metaData.keyDerivationParameters = aesKdf.parameters;
}
else if([selectedKdfUUID isEqual:argon2Kdf.uuid]) {
//argon2Kdf.iterations = self.argon2IterationsTextField.integerValue;
//argon2Kdf.memory = self.argon2MemoryTextField.integerValue;
//argon2Kdf.threads = self.argon2ThreadsTextField.integerValue;
argon2Kdf.iterations = self.argon2IterationsTextField.integerValue;
argon2Kdf.memory = self.argon2MemoryTextField.integerValue;
argon2Kdf.threads = self.argon2ThreadsTextField.intValue;
metaData.keyDerivationParameters = argon2Kdf.parameters;
}