TkSQLite with AES 128bit encryption support
Tcl
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
license
sqlitefunc
utils
.travis.yml
README.md
build.86.bat
build.86.tcl
build.bat
build.tcl
changelog.txt
rewrite_vs_version_info.tcl
starpack-example.zip
tksqlite.86.tpj
tksqlite.tcl
tksqlite.tpj

README.md

TkSQLite-AES128

TkSQLite with AES 128bit encryption support

Installation (single binary executable)

Download "/release/tksqlite.x.x.x.exe". Place the file in a folder whose full path does not contain neither spaces nor multibyte characters. This is a regislation of single executable binaries compiled by TclApp. Double click "tksqlite.exe".

Installation (Tcl script)

Install ActiveTcl (>=8.4). Download "/tksqlite.tcl" and "/sqlite3-aes128/sqlite-3.x.x.x-aes128". Place tksqlite.tcl in any folder and sqlite-3.x.x.x-aes128 in Tcl/lib folder. Double click "tksqlite.tcl".

Purpose of this project

  1. To provide encryption enabled TkSQLite and its binary executable for Windows.
  2. To provide encryption enabled TclSQLite package for Windows.

Background

TkSQLite was originally written by Yoshio Ohtsuka (http://reddog.s35.xrea.com/wiki/TkSQLite.html). I have been using it as the best frontend to sqlite3 database.

One day, one of my customers wanted to protect his database with a password. Google told me a lot of solutions that encrypt and decrypt sqlite database and those were very expensive or hard to compile on windows platform.

Then I found an open source project "wxSQLite3". It was relatively easy to integrate wxSQLite3 and TclSQLite package.

For some time, I was using SQLite2009 Pro Enterprise Manager as a frontend to the encrypted database but I was not content with the user interface. So I decided to customize original TkSQLite to support wxSQLite3's AES-128bit encryption. What I did for TkSQLite was to check if the database is encrypted and to show password dialog automatically.

Limitations

Encryption enabled sqlite3 binary package is provided only for windows platform.

Screenshot

TkSQLite screenshot