Skip to content

Sqlite3 encryption codec to allow full database encryption using the algorithms supported by Botan.

License

Notifications You must be signed in to change notification settings

aneilmac/botansqlite3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build instructions for BotanSqlite3

Requirements

  1. Botan 1.11.0 or later
  2. SQLite3 amalgamation source, version 3.15.02.0 or later (previous versions may work, some will need minor changes)

Building Linux

  1. If desired, codec.h can be modified to tweak the encryption algothrithms and parameters. (Defaults to Twofish/XTS with 256 bit key)

  2. Within the top level folder: mkdir build && cd build

  3. cmake .. -DBOTAN_LIB_DIR:PATH=<BOTAN_LIBRARY_PATH> -DBOTAN_INCLUDE_DIR:PATH=<BOTAN_INCLUDE_DIRECTORY>

  4. make

Building Windows 64bit

  1. If desired, codec.h can be modified to tweak the encryption algothrithms and parameters. (Defaults to Twofish/XTS with 256 bit key)

  2. Within the top level folder: mkdir build && cd build

  3. cmake -G "Visual Studio 12 2013 Win64" .. -DBOTAN_LIB_DIR:PATH=<BOTAN_LIBRARY_PATH> -DBOTAN_INCLUDE_DIR:PATH=<BOTAN_INCLUDE_DIRECTORY>

  4. Navigate to the build directory. Open up botansqlite3.sln.

  5. Build through visual studio.

Testing

  1. Run the test $ ./test_sqlite
  2. Look for "All seems good"

About

Sqlite3 encryption codec to allow full database encryption using the algorithms supported by Botan.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 93.4%
  • Objective-C 6.4%
  • Other 0.2%