Comments (3)
According to the Navicat documentation the default encryption method used by Navicat is wxSQLite3 AES 128-Bit - the default scheme used by wxSQLite3 up to version 3.5.9. The default wxSQLite3 encryption scheme was changed in version 4.0.0 to ChaCha20; that is, if you use a recent version of the wxSQLite3 encryption extension (compiled with default settings) you have to explicitly specify the cipher scheme. I.e., use the cipher
URI parameter when specifying the database file name:
'file:your_navicat_database_file.db?cipher=aes128cbc'
Of course, you also have to specify the correct password (key=
URI parameter or PRAGMA key=
SQL command, or key parameter of the Open
method of the wxSQLite3Database
class) to successfully open your Navicat database file.
If you use the wxSQLite3 wxWidgets wrapper classes, you may pass a wxSQLite3CipherAes128
class instance to the Open
method instead of using the cipher
URI parameter.
However, Navicat also supports to exchange its SQLite DLL, thus to change the supported encryption method(s). If your Navicat database file was not created using the default encryption method (wxSQLite3 AES 128-Bit), then you will have to find out first, which encryption scheme was used and whether it is an encryption scheme supported by wxSQLite3.
from wxsqlite3.
Thanks much. It's resolved.
BTW:
Another way is to build with CODEC_TYPE=CODEC_TYPE_AES128 macro defined.
from wxsqlite3.
Sure, setting a different compile time default is also an option. It depends on the actual needs what's the most convenient solution.
from wxsqlite3.
Related Issues (20)
- Crash on just _some_ client PCs related to sqlite HOT 2
- -ldl in AM_LDFLAGS breaks building for systems that don't know/use that library HOT 4
- Visual Studio 2022 says wxprec.h is missing HOT 4
- Could this open database file crypted with official SEE? HOT 5
- Please consider updating autotool scripts HOT 6
- compile error on gcc 5.4 HOT 4
- wxSQLite3Database::SetJournalMode always returns DELETE HOT 1
- Build on MacOS and Linux? HOT 2
- cipherName is corrupted in wxSQLite3Cipher::SetCipher() HOT 2
- "file is not a database" issue HOT 6
- Linker error when building wxSqlite3-4.9.6 with MinGW-64 or TDM-64 under Windows 64-bit HOT 1
- wxSQLite3CipherSQLCipher : InitializeFromGlobalDefault crash HOT 3
- Supporting database encryption for SQLite version 3.32.0 and later HOT 4
- x64 MinGW build cannot find setup.h (4.5.1) HOT 3
- wxSQLite3Transaction HOT 2
- Rekey issue HOT 2
- wx/setup.h: No such file or directory HOT 11
- Memory leak in wxSQLite3Database::GetTable() HOT 2
- How to access wxsqlite3 encrypted database in Android。there is already a key HOT 2
- Android is strongly requested HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wxsqlite3.