summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/leap/keymanager/openpgp.py2
-rw-r--r--src/leap/services/soledad/soledadbootstrapper.py10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/leap/keymanager/openpgp.py b/src/leap/keymanager/openpgp.py
index 89323117..d19bb2b5 100644
--- a/src/leap/keymanager/openpgp.py
+++ b/src/leap/keymanager/openpgp.py
@@ -604,7 +604,7 @@ class OpenPGPScheme(EncryptionScheme):
:param private: Whether to look for a private key.
:type private: bool
:return: The document with the key or None if it does not exist.
- :rtype: leap.soledad.backends.leap_backend.LeapDocument
+ :rtype: leap.soledad.document.SoledadDocument
"""
doclist = self._soledad.get_from_index(
TAGS_ADDRESS_PRIVATE_INDEX,
diff --git a/src/leap/services/soledad/soledadbootstrapper.py b/src/leap/services/soledad/soledadbootstrapper.py
index 2635a7e6..46e985ad 100644
--- a/src/leap/services/soledad/soledadbootstrapper.py
+++ b/src/leap/services/soledad/soledadbootstrapper.py
@@ -95,11 +95,11 @@ class SoledadBootstrapper(AbstractBootstrapper):
self._soledad = Soledad(uuid,
self._password.encode("utf-8"),
- secrets_path,
- local_db_path,
- server_url,
- cert_file,
- srp_auth.get_token())
+ secrets_path=secrets_path,
+ local_db_path=local_db_path,
+ server_url=server_url,
+ cert_file=cert_file,
+ auth_token=srp_auth.get_token())
self._soledad.sync()
def _download_config(self):