Add set_key and reset_key methods to connection.
These use the sqlite3_key and sqlite3_rekey library functions.
This commit is contained in:
parent
df2eab9f27
commit
bb6becd3ef
2 changed files with 57 additions and 0 deletions
1
setup.py
1
setup.py
|
|
@ -44,6 +44,7 @@ class SystemLibSqliteBuilder(build_ext):
|
|||
def build_extension(self, ext):
|
||||
log.info(self.description)
|
||||
ext.libraries.append('sqlcipher')
|
||||
ext.define_macros.append(('SQLITE_HAS_CODEC', '1'))
|
||||
build_ext.build_extension(self, ext)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue