summaryrefslogtreecommitdiff
path: root/scripts/db_access/util.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2015-05-04 13:04:56 -0300
committerdrebs <drebs@leap.se>2015-05-20 10:16:46 -0300
commit3a7ddacd06fd57afb10cc3d7083c2aa196c9328f (patch)
tree7c5dbb40a7f01e087101df08d7824afbd8abc27b /scripts/db_access/util.py
parentb75bedb065cfbbb2993659d867ef554ff70596ae (diff)
[feature] use async adbapi for async decryption
Since we started implementing twisted api in soledad, some pieces are missing. Accessing the sqlcipher database directly with the twisted adbapi facilities is one of them. The async encryption/decryption was touching the database directly, and this was causing some difficulties like having different threads accessing the same database. This commit implements the twisted adbapi stuff for the asynchronous encryption/decryption facilities. Next steps would be use async adbapi for async encryption and use async adbapi for all sqlcipher access.
Diffstat (limited to 'scripts/db_access/util.py')
0 files changed, 0 insertions, 0 deletions