Replies: 1 comment
-
In order to rule out the possibility that the problem lies with the sqlcipher package I am using, in this reply I will list the sqlcipher packages I have tried and post the problems.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As I mentioned in #1495 (reply in thread) . I had not tried it myself before. The author said it would not be supported, but that did not mean I could not try it myself~ so I did some work 😏.
Here is some of my attempts, briefly described: it references GRDB.swift and WCDB's sqlcipher binary package through SPM. Then the encryption-related code in GRDB.swift is added to the secondary development package in the form of source code.
This all worked fine, but I ran into trouble when I actually used:
The program is stuck on this line of code. It seems to have encountered a deadlock problem.
I have done as much searching as I can, reading the documentation, comparing the differences between WCDB-sqlcipher and the official sqlcipher source code, but nothing has been found. I looked through the GRDB code and I'm not sure if the part of the code I don't understand is preventing this from working, but my gut tells me it won't. So I'm even more confused as to why this doesn't work.
I have no choice but to turn to the community, hoping that someone who has had the same experience can provide help or some inspiration.
Beta Was this translation helpful? Give feedback.
All reactions