Slow to Decrypt Key

  • Richard

    Richard - 2010-09-18

    Nokia 6120c with Symbian S60 3rd ed., KeePassJ2ME 1.3.0, KDB from KeePass 1.18

    I open the .kdb file (about 20KB) on my phone using a master password (not file) of about 85 bits strength.

    After entering the Master Password, KPJ2ME takes about 4.5 minutes to "Decrypt key" before giving me access to my database. Is there any way to speed this up?

  • Stepan

    Stepan - 2010-09-20

    How many rounds of the encryption key in the KDB?

  • Richard

    Richard - 2010-09-21

    The key encryption rounds is currently at about 700,000. I will reduce that and report back. Thank you for a wonderful project.

  • Richard

    Richard - 2010-09-21

    II have changed my key encryption rounds (found under File>Database Settings…) in my 20kB .kdb file. On my Nokia 6120c, I obtained the following times to "Decrypt key" before giving me access to my database-

    700,000 rounds = 280 seconds
    300,000 rounds = 120 seconds
    100,000 rounds = 40 seconds
    50,000 rounds = 20 seconds

    It looks like the "Decrypt key" time is directly proportional to the key encryption rounds setting. The higher this setting, the more difficult it is for dictionary attacks to succeed. It becomes a balance between dictionary attack security and database opening time.

    I will be happy with about 100,000 rounds and waiting 40 seconds.

    Thank you Stepen_s for pointing me in the right direction and for a great little program.


Log in to post a comment.