Code Monkey home page Code Monkey logo

Comments (10)

PhilippC avatar PhilippC commented on July 20, 2024

thanks for your report. Does this produce a message only or is the file really corrupted? Can you please try if you can reproduce this is if you disable App settings -> file handling -> database pre-loading?

from keepass2android.

RuiNtD avatar RuiNtD commented on July 20, 2024

What happens is the database is loaded twice (which you can see as the loading message goes from parsing to loading, then back to parsing to loading). The database is duplicated in memory. Once it realizes it has duplicate UUIDs loaded, like it should, it gives the corrupted error.

from keepass2android.

PhilippC avatar PhilippC commented on July 20, 2024

Could you please collect a logcat of this? Or alternatively maybe create a file /mnt/sdcard/keepass2android.log and reproduce the issue?

from keepass2android.

RuiNtD avatar RuiNtD commented on July 20, 2024

I created the file but the app did not write to it and I can't provide a logcat. For testing, you should set encryption rounds high enough so that it's still parsing when you scan the second time. What happens is it tries loading the database twice at the same time. Best way to fix is by simply disabling the fingerprint scanner when it unlocks (including when the password is manually entered).

from keepass2android.

userforusing avatar userforusing commented on July 20, 2024

I can confirm this error but I think there is an easy way to avoid it: When unlocking the database with fingerprint, keypass automatically loads and opens the database, no need to tap unlock. However, when I tap unlock, the error appears.
This way, I was able to open the database three times without issues.

from keepass2android.

RuiNtD avatar RuiNtD commented on July 20, 2024

I never tap Unlock. I always get the error from just scanning my fingerprint multiple times before the database finishes unlocking.

from keepass2android.

userforusing avatar userforusing commented on July 20, 2024

That I find hard to reproduce. On my device, if I hold my finger on the sensor until the database is fully loaded, is closes again, telling me the composite key is invalid and disables fingerprint unlock. To avoid your issue, you could try touching the sensor only for a split second.

from keepass2android.

RuiNtD avatar RuiNtD commented on July 20, 2024

I don't hold it. I tap it twice.

from keepass2android.

PhilippC avatar PhilippC commented on July 20, 2024

if you cannot collect a logcat, please try to run the latest version from the beta channel and enable logging in the app settings.

from keepass2android.

whisdol avatar whisdol commented on July 20, 2024

I reproduced this a couple of times on my OnePlus 3T running Oreo by tapping the fingerprint scanner multiple times. Sorry for the huge file. logcat2.log

from keepass2android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.