Closed alyxv-dev closed 7 months ago
No plans for adding this, but for those interested you can use the sqlcipher3 project -- this project provides the same driver code as pysqlite3 (this repo) but instead links against libsqlcipher3. The keys can easily be managed via pragma
statements and an additional API is not needed.
Eh, why not here they are: 513803c230a2821a2369910944a7aa0750fa3d8a
Hello, I am wondering if you are interested implementing this as a feature. I tried to add the
sqlite3_key_v2()
function to theconnection.c
file + editing thePyArg_ParseTupleAndKeywords
plus the variables for a password as a simple string but I am running into asegfault
. I also tried to changesqlite3_open_v2()
tosqlite3_open()
because I was unsure theschema
argument forsqlite3_key_v2()
but it ended with them samesegfault
. Since I am not that experienced with python module programming, maybe I missed something that is required.SQLite3MultipleCiphers
works on a simple test c file for me without this segfault.Maybe you have the time, the will and the same opinion that this would be a nice feature to implement.
Thanks in advance.
EDIT: By the way the build went well and the segfault is: