Project

General

Profile

Bug #34

Changing transform rounds corrupts the database

Added by M D almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Operating System:
Mac OS
Affected version:
Affected revision:

Description

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".

test.kdbx - Database with password "aaa" and transform rounds "3000000" (cannot be opened) (1.04 KB) M D, 07/17/2012 01:02 AM


Related issues

Duplicated by Bug #41: Password fails after changing Transform Rounds setting Closed 07/31/2012

Associated revisions

Revision 66422437
Added by Felix Geyer almost 7 years ago

Regenerate key in Database::setTransformRounds().

Merge Database::updateKey() into Database::setTransformRounds() and
regenerate the key if the database already has a key.

Closes #34

Revision f767a098
Added by Felix Geyer almost 7 years ago

Add GUI test for changing the database transform rounds.

Refs #34

History

#1 Updated by M D almost 7 years ago

#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.

#3 Updated by Felix Geyer almost 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#4 Updated by Felix Geyer over 6 years ago

  • Subject changed from Database password wrong after changing transform rounds to "3000000" to Changing transform rounds corrupts the database
  • Priority changed from Normal to High

Also available in: Atom PDF