Skip to content

Newly registered user, first client run: cannot init indexes with null soledad

While running bitmask for the first time with a new provider:

2013-09-17 15:48:02,063 - leap.bitmask.config.providerconfig - DEBUG - Going to verify SSL against /home/kali/.config/leap/providers/genopoly.org/keys/ca/cacert.pem
2013-09-17 15:48:02,066 - leap.soledad.client - INFO - Creating directory: /home/kali/.config/leap/soledad.
2013-09-17 15:48:02,067 - leap.soledad.client - INFO - Creating directory: /home/kali/.config/leap/soledad.
2013-09-17 15:48:02,073 - leap.soledad.client - ERROR - IOError: File does not exist: /home/kali/.config/leap/soledad/fb0d53ca63ba7f87395d7fb79d629416.secret
2013-09-17 15:48:02,074 - leap.soledad.client - INFO - Trying to fetch cryptographic secrets from shared recovery database...
2013-09-17 15:48:08,280 - leap.soledad.client - INFO - No cryptographic secrets found, creating new secrets...
2013-09-17 15:48:22,046 - leap.bitmask.services.soledad.soledadbootstrapper - ERROR - Socket error while initializing soledad
2013-09-17 15:48:22,048 - leap.bitmask.services.soledad.soledadbootstrapper - DEBUG - Retrieving key for kali@genopoly.org
2013-09-17 15:48:22,049 - leap.bitmask.config.providerconfig - DEBUG - Going to verify SSL against /home/kali/.config/leap/providers/genopoly.org/keys/ca/cacert.pem
2013-09-17 15:48:22,051 - leap.common.check - ERROR - Bug: Cannot init indexes with null soledad
2013-09-17 15:48:22,062 - leap.common.check - ERROR -   File "/usr/lib/python2.7/threading.py", line 781, in __bootstrap
2013-09-17 15:48:22,063 - leap.common.check - ERROR -     self.__bootstrap_inner()
2013-09-17 15:48:22,071 - leap.common.check - ERROR -   File "/usr/lib/python2.7/threading.py", line 808, in __bootstrap_inner
2013-09-17 15:48:22,076 - leap.common.check - ERROR -     self.run()
2013-09-17 15:48:22,082 - leap.common.check - ERROR -   File "/usr/lib/python2.7/threading.py", line 761, in run
2013-09-17 15:48:22,083 - leap.common.check - ERROR -     self.__target(*self.__args, **self.__kwargs)
2013-09-17 15:48:22,084 - leap.common.check - ERROR -   File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/twisted/python/threadpool.py", line 191, in _worker
2013-09-17 15:48:22,084 - leap.common.check - ERROR -     result = context.call(ctx, function, *args, **kwargs)
2013-09-17 15:48:22,085 - leap.common.check - ERROR -   File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext
2013-09-17 15:48:22,086 - leap.common.check - ERROR -     return self.currentContext().callWithContext(ctx, func, *args, **kw)
2013-09-17 15:48:22,087 - leap.common.check - ERROR -   File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext
2013-09-17 15:48:22,091 - leap.common.check - ERROR -     return func(*args,**kw)
2013-09-17 15:48:22,094 - leap.common.check - ERROR -   File "/home/kali/leap/leap_client/src/leap/bitmask/services/soledad/soledadbootstrapper.py", line 273, in _gen_key
2013-09-17 15:48:22,097 - leap.common.check - ERROR -     gpgbinary=gpgbin)
2013-09-17 15:48:22,097 - leap.common.check - ERROR -   File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/leap.keymanager-0.3.2-py2.7.egg/leap/keymanager/__init__.py", line 95, in __init__
2013-09-17 15:48:22,098 - leap.common.check - ERROR -     OpenPGPKey: OpenPGPScheme(soledad, gpgbinary=gpgbinary),
2013-09-17 15:48:22,098 - leap.common.check - ERROR -   File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/leap.keymanager-0.3.2-py2.7.egg/leap/keymanager/openpgp.py", line 215, in __init__
2013-09-17 15:48:22,103 - leap.common.check - ERROR -     EncryptionScheme.__init__(self, soledad)
2013-09-17 15:48:22,104 - leap.common.check - ERROR -   File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/leap.keymanager-0.3.2-py2.7.egg/leap/keymanager/keys.py", line 216, in __init__
2013-09-17 15:48:22,104 - leap.common.check - ERROR -     self._init_indexes()
2013-09-17 15:48:22,108 - leap.common.check - ERROR -   File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/leap.keymanager-0.3.2-py2.7.egg/leap/keymanager/keys.py", line 223, in _init_indexes
2013-09-17 15:48:22,110 - leap.common.check - ERROR -     "Cannot init indexes with null soledad")
2013-09-17 15:48:22,111 - leap.bitmask.gui.mainwindow - DEBUG - ERROR on soledad bootstrapping:
2013-09-17 15:48:22,111 - leap.bitmask.gui.mainwindow - ERROR - Cannot init indexes with null soledad

(from redmine: created on 2013-09-17, closed on 2013-10-03, relates #3847 (closed), relates #3713 (closed), relates #3619 (closed), relates #3965 (closed))