-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeePassVault crashed when trying to open my database? #287
Comments
Hi @Adhjie, I see a Out of curiosity, why do you need so much memory for your passwords? KeePassXC has 64MB as default value |
I was basing it on this: But yeah I think I should take into account when my phone has many apps open, I was basing it based on my phone maximum available memory and still it crashes, so I turn it down until I reach 1536 MiB, and it doesn't crash in KeePassDX, KeePassXC, and now KeePass2Android. I will copy my database and emptied the pasted database then try to tone down the encryption settings, until KeePassVault could open it. BRB. |
I may not understand some core principles of KeePass correctly, but here is my understanding of it:
Please, feel free to destroy my illusions regarding these principles 😄 |
Alright after revisiting all the links from that Reddit post, the basic guideline should be: With that all said, KeePassVault works with this settings:
This attached database below is my main database but with all the real entries deleted, only leaving the test entry to remains: Master Password_test:[Redacted] Keyfile in the link: This solved this the cause of this bug. Feel free to close after testing my test database/vault. |
@Adhjie it is better to delete database from here, after deleting entries some garbage may still be inside file |
@aivanovski Okay, I have redacted the link and password from my GitHub comment. Yeah, I know. I saw the file history on my master password entry still records snapshots since I made it. I have deleted the file history but since this is done, I guess, test database is not needed anymore. Thanks for the heads up. |
Overview
Continuing from:
#286
The bug:
KeePassVault crashed after I entered my password and keyfile, and then clicked 'unlock'.
Expected result:
Database opened.
Additional context, maybe this bug has to do with my encryption settings?
Algorithm is AES 256-bit
Key derivation function is Argon2id
Transfrom rounds is 2
Memory usage is 1536 MiB
Paralellism is 6 threads
Is there a maximum limit for encryption settings that KeePassVault could handle?
I'm still not sure, so I hope this logcat files will of use to you to debug with.
Attached logcat files from Logfox app:
KeePassVault_Crash_02_12-06-17-54_199.zip
crash-com-ivanovsky-passnotes-02_12-06-18-29_716.zip
P.S.:
I started to check out other KeePass for Android project starting from this bug in KeePassDX:
Kunzisoft/KeePassDX#1948
I settled with KeePass2Android for now, until this and that bug are fixed.
Found out about this app from Awesome-KeePass-List/Projects (awesome-list category) in Github.
How to reproduce
Version
1.9.0
Android Version
Android 12
Device Model
Samsung Galaxy A12
The text was updated successfully, but these errors were encountered: