summaryrefslogtreecommitdiff
path: root/service/pixelated/bitmask_libraries
diff options
context:
space:
mode:
authorDuda Dornelles <dudassdornelles@gmail.com>2015-01-27 16:08:03 -0200
committerPixpoa pairing <pixpoapairing@pixelated-project.org>2015-01-27 16:08:03 -0200
commit26b85d8e523f2b6aafbe18132efcd617ae892228 (patch)
tree0dbdf0cef276aef577d028391543e3f3c5354160 /service/pixelated/bitmask_libraries
parent4713741e6cbd9ad7fe20925120f6e25bc6b538e7 (diff)
#237 #232 #196 syncing user data once before starting the UA. Displaying a loading screen in the meantime. The initial sync will make sure the user has a single key pair
Diffstat (limited to 'service/pixelated/bitmask_libraries')
-rw-r--r--service/pixelated/bitmask_libraries/config.py2
-rw-r--r--service/pixelated/bitmask_libraries/register.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/bitmask_libraries/config.py b/service/pixelated/bitmask_libraries/config.py
index 1cc10523..db0df762 100644
--- a/service/pixelated/bitmask_libraries/config.py
+++ b/service/pixelated/bitmask_libraries/config.py
@@ -44,7 +44,7 @@ class LeapConfig(object):
def __init__(self, leap_home=DEFAULT_LEAP_HOME, ca_cert_bundle=AUTO_DETECT_CA_BUNDLE, verify_ssl=True,
fetch_interval_in_s=30,
- timeout_in_s=15, start_background_jobs=True, gpg_binary=discover_gpg_binary(), certs_home=None):
+ timeout_in_s=15, start_background_jobs=False, gpg_binary=discover_gpg_binary(), certs_home=None):
"""
Constructor.
diff --git a/service/pixelated/bitmask_libraries/register.py b/service/pixelated/bitmask_libraries/register.py
index 0ebe9c11..258394da 100644
--- a/service/pixelated/bitmask_libraries/register.py
+++ b/service/pixelated/bitmask_libraries/register.py
@@ -30,6 +30,6 @@ def register_new_user(username, server_name):
provider = LeapProvider(server_name, config)
password = getpass.getpass('Please enter password for %s: ' % username)
LeapAuthenticator(provider).register(LeapCredentials(username, password))
- session = LeapSession.open(username, password, server_name)
+ session = LeapSession.open(username, password, server_name)
session.nicknym.generate_openpgp_key()