Changing transform rounds corrupts the database
When changing transform rounds to "3000000" the database cannot be opened anymore. It always says the password is wrong. Is there an upper limit? If so, it should be removed.
If upper limit cannot be removed, it should at least not be possible to corrupt a database by this setting.
Attached is such a corrupt database, password is "aaa".
Regenerate key in Database::setTransformRounds().
Merge Database::updateKey() into Database::setTransformRounds() and
regenerate the key if the database already has a key.
#2 Updated by Felix Geyer almost 7 years ago
- Assignee set to Felix Geyer
- Target version set to 2.0 Alpha 3
Thanks for the report.
Looks like it corrupts the database no matter to which value you change the transform rounds :/
It updates the transform rounds number but doesn't update the key so they are out of sync.