summaryrefslogtreecommitdiff
path: root/src/leap/soledad
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-08-13 21:37:42 -0400
committerKali Kaneko <kali@leap.se>2017-08-23 01:52:38 -0400
commit4a68ed4253f38e11bb85fdb90711145a30839561 (patch)
treea875a145d4959e2a56f38dca334f2795a30fc358 /src/leap/soledad
parent17b112684490a9bcfd09aef2a9b5b4c6d863e4c0 (diff)
[bug] use remote secret for uploading blobs
Diffstat (limited to 'src/leap/soledad')
-rw-r--r--src/leap/soledad/client/api.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/leap/soledad/client/api.py b/src/leap/soledad/client/api.py
index 2323909b..50f7e5aa 100644
--- a/src/leap/soledad/client/api.py
+++ b/src/leap/soledad/client/api.py
@@ -278,8 +278,9 @@ class Soledad(object):
path = os.path.join(os.path.dirname(self._local_db_path), 'blobs')
url = urlparse.urljoin(self.server_url, 'blobs/%s' % self.uuid)
key = self._secrets.local_key
- self.blobmanager = blobs.BlobManager(path, url, key, self.uuid,
- self.token, SOLEDAD_CERT)
+ self.blobmanager = blobs.BlobManager(
+ path, url, key, self._secrets.remote_secret,
+ self.uuid, self.token, SOLEDAD_CERT)
#
# Closing methods