-
Notifications
You must be signed in to change notification settings - Fork 35
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
The encryption part is not working properly #94
Comments
What is "abnormal"? |
@kpgalligan I'm sorry to have troubled you. What I'm trying to say is not working properly. |
In what way? Doesn't compile? It's not encrypting the data? |
@kpgalligan |
That has nothing to do with sqliter. That's how you're linking to SQLCipher (or whatever you're using). |
I installed SQLCipher correctly. Call DatabaseConfiguration encryption is normal when Kotlin is set to 1.7.10.
DatabaseConfiguration encryption goes wrong when Kotlin is set to 1.8.0.
Android Studio prompts DatabaseConfiguration here: |
You mean SQLCipher does not support Kotlin 1.8.0, not related to DatabaseConfiguration, am I understanding correctly? |
I mean that if you link to sqlite on iOS, you can pass in an encryption key but it won't matter. You need to bundle and link to SQLCipher. It is very hard to figure anything out without seeing your whole config, but basically you need to confirm that you aren't linking to the included sqlite. How and when do you include SQLCipher on iOS? |
My project uses Kotlin Mulitplatform Mobile and SqlDelight. SQLCipher is used to enhance SQLite for encryption. I think touchlabSQLiter is the equivalent of middleware, am I getting that right?
Some of my configurations are as follows:
Test equipment:
|
|
The following code works fine when kotlin("multiplatform").version("1.7.10"), and the encryption part is abnormal when kotlin("multiplatform").version("1.8.0").
The main problem is the following code, and the rest of the code works fine.
The text was updated successfully, but these errors were encountered: