Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Encrypting a Sqlite db file that will be bundled in a pyexe file

I have been working on developing this analytical tool to help interpret and analyze a database that is bundled within the package. It is very important for us to secure the database in a way that can only be accessed with our software. What is the best way of achieving it in Python?

I am aware that there may not be a definitive solution, but deterrence is what really matters here.

Thank you very much.

like image 360
relima Avatar asked Feb 26 '23 03:02

relima


1 Answers

Someone has gotten Python and SQLCipher working together by rebuilding SQLCipher as a DLL and replacing Python's sqlite3.dll here.

like image 113
Marcelo Cantos Avatar answered Apr 28 '23 19:04

Marcelo Cantos