Giter Club home page Giter Club logo

Comments (2)

utelle avatar utelle commented on September 20, 2024

Well, the new feature for selecting the encryption cipher at runtime is work in progress.

I added this parameter, legacy_page_size, to all ciphers, because especially for the legacy versions of the ciphers sqleet and SQLCipher it is usually required to explicitly set the database page size, since SQLite can't detect it from the database header and will use the default page size, which might not be the correct one.

Version 3.12.0 of SQLite changed the default page size from 1024 to 4096 bytes. However, for example SQLCipher still uses a page size of 1024 bytes, even for newer versions of SQLite. If the page size is not set explicitly, opening a database encrypted with legacy SQLCipher will fail.

For a user/developer it is cumbersome to remember to issue a PRAGMA page_size at the right time. Therefore the wxSQLite3 encryption extension has now the parameter legacy_page_size which allows to automatically set the page size in legacy mode of a cipher.

Not explicitly documenting this new parameter was simply an oversight.

from wxsqlite3.

utelle avatar utelle commented on September 20, 2024

Commit 94ec6ef merged the updated documentation. Thanks to @emkey08.

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.