PhilippC / keepass2android

Password manager app for Android
https://play.google.com/store/apps/details?id=keepass2android.keepass2android
GNU General Public License v3.0
4.58k stars 378 forks source link

[FEAT] MAKE SO IT'S NOT SO SLOW #2376

Open poorandunlucky opened 1 year ago

poorandunlucky commented 1 year ago

Would there be a way to make it so it's not so slow? Keep it open, just locked? Something like that... It's very slow every time I need a password to decrypt the database...

stendler commented 11 months ago

Have you tried out the QuickUnlock feature? (three dots in the top right → Settings → App Settings → QuickUnlock)

Otherwise, you can reconfigure your database security to be faster to decrypt (but also faster to crack for someone getting their hands on your database file): Settings → Database settings → Key derivation function → and, e.g., reduce the rounds.

hyproman commented 11 months ago

How slow are we talking about? My database doesn't take more than a second to open, unless there's a problem with my network connection (syncing).

Is this a local database, or a remotely synced one? If the latter, which remote type are you using?

poorandunlucky commented 11 months ago

About 3-5 seconds.... First time I opened it just now 3, them I checked something 4, then another time I was able to count to 5... After the biometric confirms, there's a significant delay, enough to be aggravating sometimes...

It's synched to a, I think OneDrive, or Google Drive, use the same database on the computer with Keepass... Probably a common setup...

Patrick Dorion 📱 +1 438 345-4575

On Mon, Jul 17, 2023, 12:11 Rick Brown @.***> wrote:

How slow are we talking about? My database doesn't take more than a second to open, unless there's a problem with my network connection (syncing).

Is this a local database, or a remotely synced one? If the latter, which remote type are you using?

— Reply to this email directly, view it on GitHub https://github.com/PhilippC/keepass2android/issues/2376#issuecomment-1638450417, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKMLVWOMTYOGJN7V7URHCATXQVP2JANCNFSM6AAAAAAZ5OPWHY . You are receiving this because you authored the thread.Message ID: @.***>

poorandunlucky commented 11 months ago

Sorry, I missed your e-mail there, I have biometric lock enabled, so yes. It's not me that's taking time, after the biometric lock is completed, the database decryption takes 3-5 seconds...

Patrick Dorion 📱 +1 438 345-4575

On Wed, Jul 12, 2023, 09:59 stendler @.***> wrote:

Have you tried out the QuickUnlock feature? (three dots in the top right → Settings → App Settings → QuickUnlock)

Otherwise, you can reconfigure your database security to be faster to decrypt (but also faster to crack for someone getting their hands on your database file): Settings → Database settings → Key derivation function → and, e.g., reduce the rounds.

— Reply to this email directly, view it on GitHub https://github.com/PhilippC/keepass2android/issues/2376#issuecomment-1632584724, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKMLVWLLQKREX7YFPESO42TXP2UVVANCNFSM6AAAAAAZ5OPWHY . You are receiving this because you authored the thread.Message ID: @.***>

cihanwoicke commented 11 months ago

Which key derivation function and how many encryption rounds do you use for your database? If you have set a high value for encryption rounds you increase the security because bruteforce or dictionary attacks take longer, but decrease user experience, because, well, opening the database takes longer. If you are fine with giving up a little bit of security, you can lower the encryption rounds. Keep in mind, that the individual speed of your processor affects this. So for example opening the database on a Notebook (with a fast cpu) can be significantly quicker than opening with an old (or new but slow) mobile phone.