[issue39408] Add support for SQLCipher

2020-01-22 Thread Manjusaka
Manjusaka added the comment: To be serious, I don't think using SQLCipher is a good idea for CPython Cause, SQLCipher is always released by the source code, not the binary. That means we should compile and manage the binary on different platforms, sush as ffi on windows, Openssl on Windows.

[issue39408] Add support for SQLCipher

2020-01-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: It might help if you show the change you actually propose. -- nosy: +benjamin.peterson ___ Python tracker ___

[issue39408] Add support for SQLCipher

2020-01-21 Thread Sebastian Noack
Sebastian Noack added the comment: Yes, I could use LD_LIBRARY_PATH (after copying /usr/lib/libsqlcipher.so.0 to /some/folder/libsqlite3.so), or alternatively LD_PRELOAD, and the sqlite3 stdlib module will just work as-is with SQLCipher. The latter is in fact what I'm doing at the moment, bu

[issue39408] Add support for SQLCipher

2020-01-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If SQLCipher is a drop-in replacement, perhaps the simplest way is to use LD_LIBRARY_PATH to replace libsqlite3. You can also insert a path to your build of the _sqlite module in sys.path before standard paths. --

[issue39408] Add support for SQLCipher

2020-01-21 Thread Sebastian Noack
Sebastian Noack added the comment: Well, the stdlib already depends on a third-party library here, i.e. SQLite3. SQLCipher is a drop-in replacement for SQLite3 that adds support for encrypted databases. In order to use SQLCipher, I'd have to build the sqlite3 module against SQLCipher (instea

[issue39408] Add support for SQLCipher

2020-01-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What exactly do you need to add and change in the sqlite module? The stdlib cannot depend on a third-party module. Ideally, you just create a subclass of some standard class and overrides a constructor and few methods. -- nosy: +serhiy.storchaka _

[issue39408] Add support for SQLCipher

2020-01-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +berker.peksag, ghaering ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue39408] Add support for SQLCipher

2020-01-21 Thread Sebastian Noack
New submission from Sebastian Noack : SQLCipher is industry-standard technology for managing an encrypting SQLite databases. It has been implemented as a fork of SQLite3. So the sqlite3 corelib module would build as-is against it. But rather than a fork (of this module), I'd rather see integr