summaryrefslogtreecommitdiff
path: root/src/leap/services/soledad
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-05-18 12:38:29 -0300
committerTomás Touceda <chiiph@leap.se>2013-05-18 12:38:29 -0300
commitc2a0900868eecda3958185bf355a15b046d4e4af (patch)
tree7b7126f2740850df8a8a42884a0d7525e3584727 /src/leap/services/soledad
parent0d8eb72fbe11dd9e5d59451fa4d49697213629cf (diff)
Integrate SMTP
Diffstat (limited to 'src/leap/services/soledad')
-rw-r--r--src/leap/services/soledad/soledadbootstrapper.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/leap/services/soledad/soledadbootstrapper.py b/src/leap/services/soledad/soledadbootstrapper.py
index 51c53a6e..bae933de 100644
--- a/src/leap/services/soledad/soledadbootstrapper.py
+++ b/src/leap/services/soledad/soledadbootstrapper.py
@@ -47,6 +47,8 @@ class SoledadBootstrapper(QtCore.QObject):
PASSED_KEY = "passed"
ERROR_KEY = "error"
+ SOLEDAD_KEY = "soledad"
+ KEYMANAGER_KEY = "keymanager"
PUBKEY_KEY = "user[public_key]"
@@ -199,7 +201,9 @@ class SoledadBootstrapper(QtCore.QObject):
genkey_data = {
self.PASSED_KEY: False,
- self.ERROR_KEY: ""
+ self.ERROR_KEY: "",
+ self.SOLEDAD_KEY: None,
+ self.KEYMANAGER_KEY: None
}
try:
@@ -245,6 +249,8 @@ class SoledadBootstrapper(QtCore.QObject):
cookies=cookies)
key_result.raise_for_status()
genkey_data[self.PASSED_KEY] = True
+ genkey_data[self.SOLEDAD_KEY] = self._soledad
+ genkey_data[self.KEYMANAGER_KEY] = self._keymanager
except Exception as e:
genkey_data[self.PASSED_KEY] = False
genkey_data[self.ERROR_KEY] = "%s" % (e,)