Giter Club home page Giter Club logo

Comments (3)

utelle avatar utelle commented on June 19, 2024

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.

netsesame2 avatar netsesame2 commented on June 19, 2024

Thanks much. It's resolved.

BTW:
Another way is to build with CODEC_TYPE=CODEC_TYPE_AES128 macro defined.

from wxsqlite3.

utelle avatar utelle commented on June 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.