Skip to content
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

Sqlcipher #3

Open
sagarkakad opened this issue Nov 16, 2015 · 1 comment
Open

Sqlcipher #3

sagarkakad opened this issue Nov 16, 2015 · 1 comment

Comments

@sagarkakad
Copy link

I m having Android App that uses SQL cipher 2.2.0 library to encrypt the db. After Android 6.0 upgrade we updated to SQL cipher 3.3.1 since previous library was giving problem on android 6.0. After the sql cipher upgrade the app started working on android 6.0 as well. But the problem is it is not able to read the already encrypted DB (encrypted using cipher 2.2.0).
It is giving following error
" sqlite returned: error code =26, msg=file is encrypted or is not a database:
CREATE TABLE android_metadata failed.
failed to setLocale() when constructing, closing the database.
create locale table failed.
old jar is

  compile file('build/intermediates/rs/debug/lib.sqlcipher.jar')

i am using following jar

compile 'com.android.support:support-v4:23.0.0'
compile 'net.zetetic:android-database-sqlcipher:3.3.1-1@aar'

Is it that encryption algorithm has changed or am i doing some mistake.

Please help.

@unusualbob
Copy link
Member

Unless I'm missing something, this has nothing to do with the code in this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants