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

Database encryption #230

Open
nikita-vedre opened this issue Dec 7, 2023 · 2 comments
Open

Database encryption #230

nikita-vedre opened this issue Dec 7, 2023 · 2 comments

Comments

@nikita-vedre
Copy link

nikita-vedre commented Dec 7, 2023

I am getting error
'sqlite3_key': identifier not found
'sqlite3_key_v2': identifier not found
'sqlite3_rekey': identifier not found
'sqlite3_rekey_v2': identifier not found
can anyone suggest solution?

@codethinki
Copy link

more context would be useful i think

@wkingnet
Copy link

wkingnet commented Nov 8, 2024

same to me. I think because sqlite3 has deleted these functions.

Simplify the code by removing the unsupported and undocumented SQLITE_HAS_CODEC compile-time option (check-in: 5a877221 user: drh tags: trunk)`
https://www.sqlite.org/src/timeline?c=5a877221ce90e752

I try to do:

  1. compile sqlcipher
  2. copy sqlcipher.dll and libcrypto-3.dll to project, and link sqlcipher.lib
  3. open "sqlite_modern_cpp.h", delete#include <sqlite3.h>, add #include "sqlcipher/sqlite3.h"

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