Using the latest version of SQLCipher, recently uploaded by Erel: 1.7.
SQLite version is 3.41.2
Before changing to the latest SQLCipher version I used to be able to change this pragma setting while running the app by
just running:
pragma cipher_memory_security = OFF
or
pragma cipher_memory_security = ON
Now I can turn it on OK but I am unable to then turn if off again.
I did some Googling and found on this:
* Changes the enhanced memory security feature to be DISABLED by default; once enabled by PRAGMA cipher_memory_security = ON, it can't be turned off for the lifetime of the process
Not sure if this explains the mentioned behaviour.
When I run pragma cipher_memory_security = OFF and then recompile then the setting is off OK, not sure why this is.
I would like to be able to turn it both on and off while running the app.
Any suggestions how to do this?
RBS
SQLite version is 3.41.2
Before changing to the latest SQLCipher version I used to be able to change this pragma setting while running the app by
just running:
pragma cipher_memory_security = OFF
or
pragma cipher_memory_security = ON
Now I can turn it on OK but I am unable to then turn if off again.
I did some Googling and found on this:
SUSE Package Hub -
packagehub.suse.com
* Changes the enhanced memory security feature to be DISABLED by default; once enabled by PRAGMA cipher_memory_security = ON, it can't be turned off for the lifetime of the process
Not sure if this explains the mentioned behaviour.
When I run pragma cipher_memory_security = OFF and then recompile then the setting is off OK, not sure why this is.
I would like to be able to turn it both on and off while running the app.
Any suggestions how to do this?
RBS