From 4a68ed4253f38e11bb85fdb90711145a30839561 Mon Sep 17 00:00:00 2001 From: drebs Date: Sun, 13 Aug 2017 21:37:42 -0400 Subject: [bug] use remote secret for uploading blobs --- src/leap/soledad/client/api.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/leap/soledad') 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 -- cgit v1.2.3