diff options
author | drebs <drebs@riseup.net> | 2017-08-13 21:37:42 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-08-23 01:52:38 -0400 |
commit | 4a68ed4253f38e11bb85fdb90711145a30839561 (patch) | |
tree | a875a145d4959e2a56f38dca334f2795a30fc358 | |
parent | 17b112684490a9bcfd09aef2a9b5b4c6d863e4c0 (diff) |
[bug] use remote secret for uploading blobs
-rw-r--r-- | src/leap/soledad/client/api.py | 5 |
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 |