Skip to content

i have histroy data with room,when i use sqlcipher, crash: net.sqlcipher.database.SQLiteException: file is not a database: , while compiling: select count(*) from sqlite_master; #603

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

Open
kangshifu opened this issue Nov 8, 2022 · 2 comments

Comments

@kangshifu
Copy link

Expected Behavior

Actual Behavior

Steps to Reproduce

SQLCipher version (can be identified by executing PRAGMA cipher_version;):

SQLCipher for Android version:

Are you able to reproduce this issue within the SQLCipher for Android test suite?

Note: If you are not posting a specific issue for the SQLCipher library, please post your question to the SQLCipher discuss site. Thanks!

@developernotes
Copy link
Member

Hi @kangshifu,

Thanks for your interest in SQLCipher. We reserve GitHub Issues for tracking defects within the software library itself. This particular question should be posted to the SQLCipher Community Discuss site, please consider reposting there instead. Thanks!

@rainman-wf
Copy link

Hi @kangshifu!
Have you find solution? I have same problem. I need to connect to db which was created by XMTP library. But I need to set textplaint_header_size = 32. If I insert it to builder pipeline I get "file is not a database" exception, else if I insert it to hook callbacks, I get SQLiteDoneException. I can open database with DB Browser for SQLCipher with options so as on attached screenshot.

DB Browser Options

But I don't know, how to reproduce this options in room database builder

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

3 participants