summaryrefslogtreecommitdiff
path: root/scripts/db_access
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2014-08-04 16:42:56 -0300
committerdrebs <drebs@leap.se>2014-08-08 11:49:03 -0300
commit30aa5c040c093aa82be09e94dd403c18597320e5 (patch)
tree1291503d4af76169800369c8545936249a4ee829 /scripts/db_access
parentaa8fcba828bc917eaf8e6b0dacb76f0de904bf59 (diff)
Protect sync db with a password.
Diffstat (limited to 'scripts/db_access')
-rw-r--r--scripts/db_access/client_side_db.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/db_access/client_side_db.py b/scripts/db_access/client_side_db.py
index 1c4f3754..67c5dbe1 100644
--- a/scripts/db_access/client_side_db.py
+++ b/scripts/db_access/client_side_db.py
@@ -120,7 +120,7 @@ def get_soledad_instance(username, provider, passphrase, basedir):
server_url=server_url,
cert_file=cert_file,
auth_token=token,
- defer_encryption=True)
+ defer_encryption=False)
# main program
@@ -154,3 +154,4 @@ if __name__ == '__main__':
# get the soledad instance
s = get_soledad_instance(
args.username, args.provider, passphrase, basedir)
+ s.sync()