View Single Post
Posts: 456 | Thanked: 1,580 times | Joined on Dec 2009
#47
Originally Posted by Bharateeyudu View Post
Thank you for the reply Wonko! I have a little bit of trouble understanding why it's not recoverable... Isn't the password saved on the phone in some format?

Can I not over-write that if I uninstall the app complete, and re-install it? It looks like not all files are deleted during the uninstall process... is it not possible to delete those files manually and be able to select a new password?

I really would like to use the app again, and like I mentioned, I NEVER changed the password!
Sorry, I didn't express myself clear enough.

What I meant with "the error is unrecoverable" is that it is not possible to recover the stored data, unfortunately.
You can get MeePasswords working again by deleting the file in which the encrypted data is stored: /home/user/.local/share/data/.MeePasswords_defaultstorage/encrypted.raw
I am not 100% sure about the path right now as my cellphone just ran out of battery.

With the old version (< 2.0) you can manually create backups by copying this file, e.g., to something like encrypted.raw.backup01 or so.
The newer version (2.0 and onwards) automatically creates a backup after each successful decryption, from which, in case of an error, the last working version of the data can be restored.

Reason why it is not possible to restore the data is that your data is encrypted with a symmetric key that is derived from the password you enter. The password itself is not stored anywhere. It's just used to derive the key for encrypting/decrypting the data.

I don't know what is causing the corruption that leads to the error you encountered. In theory (tm), the encryption and decryption process should be stable.
I also experienced this error once. Which is the reason why I implemented a, hopefully, more robust solution.
Unfortunately, I wasn't able to purposely reproduce this issue yet which makes it very difficult to debug.

Please excuse the inconvenience.

I am, right now, trying to get the new version into the store. I hope that this fixes this issue. Apart from this, the new synchronization feature is also useful to keep backups, e.g., on your desktop.
__________________