Sebastian Noack <sebastian.no...@gmail.com> 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, but this is quite a hack, and it's not portable to 
macOS or Windows.

Alternatively, I could fork the sqlite3 stdlib module, have it built against 
SQLCipher, and redistribute it. But I'd rather not go there.

That's why I'd love to see built-in support for SQLCipher in upstream Python, 
and as it is a drop-in replacement for SQLite3 which the stdlib already comes 
with bindings for, it seems to be a fairly small change on your end.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39408>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to