bitmask-dev issueshttps://0xacab.org/leap/bitmask-dev/-/issues2018-06-14T16:30:44Zhttps://0xacab.org/leap/bitmask-dev/-/issues/9331RiseupVPN fails to compile for arm642018-06-14T16:30:44ZKali KanekoRiseupVPN fails to compile for arm64```
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*' found under directory 'vectors'
writing manifest file 'src/cryptograph...```
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*' found under directory 'vectors'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
running build_ext
generating cffi module 'build/temp.linux-aarch64-2.7/_padding.c'
creating build/temp.linux-aarch64-2.7
generating cffi module 'build/temp.linux-aarch64-2.7/_constant_time.c'
generating cffi module 'build/temp.linux-aarch64-2.7/_openssl.c'
building '_openssl' extension
creating build/temp.linux-aarch64-2.7/build
creating build/temp.linux-aarch64-2.7/build/temp.linux-aarch64-2.7
aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -I/build/riseup-vpn/parts/bitmask/install/usr/include -I/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu -I/usr/include/python2.7 -I/build/riseup-vpn/parts/bitmask/install/usr/include -I/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu -fPIC -I/usr/include/python2.7 -c build/temp.linux-aarch64-2.7/_openssl.c -o build/temp.linux-aarch64-2.7/build/temp.linux-aarch64-2.7/_openssl.o -Wconversion -Wno-error=sign-conversion
In file included from /build/riseup-vpn/parts/bitmask/install/usr/include/stdio.h:41:0,
from /usr/include/python2.7/Python.h:33,
from build/temp.linux-aarch64-2.7/_openssl.c:28:
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/stdio.h: In function ‘fputc_unlocked’:
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/libio.h:414:50: warning: conversion to ‘char’ from ‘int’ may alter its value [-Wconversion]
: (unsigned char) (*(_fp)->_IO_write_ptr++ = (_ch)))
^
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/stdio.h:90:10: note: in expansion of macro ‘_IO_putc_unlocked’
return _IO_putc_unlocked (__c, __stream);
^~~~~~~~~~~~~~~~~
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/stdio.h: In function ‘putc_unlocked’:
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/libio.h:414:50: warning: conversion to ‘char’ from ‘int’ may alter its value [-Wconversion]
: (unsigned char) (*(_fp)->_IO_write_ptr++ = (_ch)))
^
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/stdio.h:100:10: note: in expansion of macro ‘_IO_putc_unlocked’
return _IO_putc_unlocked (__c, __stream);
^~~~~~~~~~~~~~~~~
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/stdio.h: In function ‘putchar_unlocked’:
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/libio.h:414:50: warning: conversion to ‘char’ from ‘int’ may alter its value [-Wconversion]
: (unsigned char) (*(_fp)->_IO_write_ptr++ = (_ch)))
^
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/stdio.h:107:10: note: in expansion of macro ‘_IO_putc_unlocked’
return _IO_putc_unlocked (__c, stdout);
^~~~~~~~~~~~~~~~~
In file included from /build/riseup-vpn/parts/bitmask/install/usr/include/stdio.h:862:0,
from /usr/include/python2.7/Python.h:33,
from build/temp.linux-aarch64-2.7/_openssl.c:28:
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/stdio2.h: In function ‘fread_unlocked’:
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/stdio2.h:374:16: warning: conversion to ‘char’ from ‘int’ may alter its value [-Wconversion]
*__cptr++ = __c;
^~~
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/stdio2.h:376:40: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return (__cptr - (char *) __ptr) / __size;
^
In file included from /build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/sys/sysmacros.h:41:0,
from /build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/sys/types.h:205,
from /build/riseup-vpn/parts/bitmask/install/usr/include/stdlib.h:394,
from /usr/include/python2.7/Python.h:42,
from build/temp.linux-aarch64-2.7/_openssl.c:28:
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/sys/sysmacros.h: In function ‘gnu_dev_major’:
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/sysmacros.h:44:16: warning: conversion to ‘unsigned int’ from ‘long unsigned int’ may alter its value [-Wconversion]
__major |= ((__dev & (__dev_t) 0xfffff00000000000u) >> 32); \
^
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/sys/sysmacros.h:79:1: note: in expansion of macro ‘__SYSMACROS_DEFINE_MAJOR’
__SYSMACROS_DEFINE_ Failed building wheel for cryptography
MAJOR (__SYSMACROS_IMPL_TEMPL)
^~~~~~~~~~~~~~~~~~~~~~~~
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/sys/sysmacros.h: In function ‘gnu_dev_minor’:
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/sysmacros.h:56:16: warning: conversion to ‘unsigned int’ from ‘long unsigned int’ may alter its value [-Wconversion]
__minor |= ((__dev & (__dev_t) 0x00000ffffff00000u) >> 12); \
^
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/sys/sysmacros.h:80:1: note: in expansion of macro ‘__SYSMACROS_DEFINE_MINOR’
__SYSMACROS_DEFINE_MINOR (__SYSMACROS_IMPL_TEMPL)
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/riseup-vpn/parts/bitmask/install/usr/include/unistd.h:1172:0,
from /usr/include/python2.7/Python.h:44,
from build/temp.linux-aarch64-2.7/_openssl.c:28:
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/unistd.h: In function ‘getgroups’:
/build/riseup-vpn/parts/bitmask/install/usr/include/aarch64-linux-gnu/bits/unistd.h:272:18: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
if (__size * sizeof (__gid_t) > __bos (__list))
^
build/temp.linux-aarch64-2.7/_openssl.c: At top level:
build/temp.linux-aarch64-2.7/_openssl.c:493:10: fatal error: openssl/opensslv.h: No such file or directory
#include <openssl/opensslv.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Running setup.py clean for cryptography
Running setup.py bdist_wheel for pyzmq: started
Running setup.py bdist_wheel for pyzmq: finished with status 'done'
Stored in directory: /tmp/tmpb7w4ti57
Running setup.py bdist_wheel for txzmq: started
Running setup.py bdist_wheel for txzmq: finished with status 'done'
Stored in directory: /tmp/tmpb7w4ti57
Running setup.py bdist_wheel for cffi: started
Running setup.py bdist_wheel for cffi: finished with status 'done'
Stored in directory: /tmp/tmpb7w4ti57
Running setup.py bdist_wheel for functools32: started
Running setup.py bdist_wheel for functools32: finished with status 'done'
Stored in directory: /tmp/tmpb7w4ti57
Running setup.py bdist_wheel for pycparser: started
Running setup.py bdist_wheel for pycparser: finished with status 'done'
Stored in directory: /tmp/tmpb7w4ti57
Successfully built srp twisted zope.interface psutil leap.bitmask pyzmq txzmq cffi functools32 pycparser
Failed to build cryptography
ERROR: Failed to build one or more wheels
```Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/9318set up windows CI2018-09-28T19:20:39Zmeskioset up windows CILet's get a windows VM somewhere and set up the environment to be able to run the tests.
Can we host our own VM? Should we use Appveyor (#9093) or something else?Let's get a windows VM somewhere and set up the environment to be able to run the tests.
Can we host our own VM? Should we use Appveyor (#9093) or something else?Nextmeskiomeskiohttps://0xacab.org/leap/bitmask-dev/-/issues/9204[macOS 10.8.5] Fails to launch2018-01-16T22:11:05Znamari[macOS 10.8.5] Fails to launchWhen trying to start in terminal with either `./bitmask-app` or `./bitmask`, the following happens:
Error loading Python lib '/Applications/Bitmask.app/Contents/MacOS/.Python': dlopen(/Applications/Bitmask.app/Contents/MacOS/.Python...When trying to start in terminal with either `./bitmask-app` or `./bitmask`, the following happens:
Error loading Python lib '/Applications/Bitmask.app/Contents/MacOS/.Python': dlopen(/Applications/Bitmask.app/Contents/MacOS/.Python, 10): Symbol not found: ___sincos_stret
Referenced from: /Applications/Bitmask.app/Contents/MacOS/.Python
Expected in: /usr/lib/libSystem.B.dylib
in /Applications/Bitmask.app/Contents/MacOS/.PythonNextKali KanekoKali Kanekohttps://0xacab.org/leap/bitmask-dev/-/issues/9148Allow IPv6 traffic on the VPN2018-06-09T12:13:11ZmeskioAllow IPv6 traffic on the VPNRight now the firewall blocks all IPv6 traffic to prevent IPv6 leaks. How do this IPv6 leaks work? Can we allow some IPv6 traffic?Right now the firewall blocks all IPv6 traffic to prevent IPv6 leaks. How do this IPv6 leaks work? Can we allow some IPv6 traffic?Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/9139fix the tests on windows2018-06-05T16:30:54Zmeskiofix the tests on windowsRelated to #9093.Related to #9093.Nextmeskiomeskiohttps://0xacab.org/leap/bitmask-dev/-/issues/9116Undefined symbol "i2d_DHparams_bio" for version 0.10.12017-12-21T22:19:24ZmeskioUndefined symbol "i2d_DHparams_bio" for version 0.10.1From zhou0 in github:
```
bitmask
Traceback (most recent call last):
File "/usr/local/bin/bitmask", line 11, in
load_entry_point('leap.bitmask', 'console_scripts', 'bitmask')()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/i...From zhou0 in github:
```
bitmask
Traceback (most recent call last):
File "/usr/local/bin/bitmask", line 11, in
load_entry_point('leap.bitmask', 'console_scripts', 'bitmask')()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/init.py", line 570, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/site-packages/pkg_resources/init.py", line 2755, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/init.py", line 2409, in load
return self.resolve()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/init.py", line 2415, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/home/lzhou/github.com/leapcode/bitmask-dev/archive/bitmask-dev-0.10.1/src/leap/bitmask/init.py", line 4, in
from .util import here
File "/usr/home/lzhou/github.com/leapcode/bitmask-dev/archive/bitmask-dev-0.10.1/src/leap/bitmask/util.py", line 26, in
from leap.common.files import which
File "/usr/local/lib/python2.7/site-packages/leap/common/init.py", line 3, in
from leap.common import certs
File "/usr/local/lib/python2.7/site-packages/leap/common/certs.py", line 26, in
from OpenSSL import crypto
File "/usr/local/lib/python2.7/site-packages/OpenSSL/init.py", line 8, in
from OpenSSL import crypto, SSL
File "/usr/local/lib/python2.7/site-packages/OpenSSL/crypto.py", line 16, in
from OpenSSL._util import (
File "/usr/local/lib/python2.7/site-packages/OpenSSL/_util.py", line 6, in
from cryptography.hazmat.bindings.openssl.binding import Binding
File "/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 13, in
from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: /usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so: Undefined symbol "i2d_DHparams_bio"
```
https://github.com/leapcode/bitmask-dev/issues/12Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/9081Deprecate use of leap.common.http2017-10-09T12:03:11ZKali KanekoDeprecate use of leap.common.httpleap.common.http uses several hacks to use authentication based on cookies for sessions.
it also uses private apis of twisted.web, which is highly discouraged.
we should migrate to use treq and deprecate this module.leap.common.http uses several hacks to use authentication based on cookies for sessions.
it also uses private apis of twisted.web, which is highly discouraged.
we should migrate to use treq and deprecate this module.Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/9071Create flakpak package2017-09-28T16:47:25ZVaracCreate flakpak packageWe want to offer flatpak packages so they work on every compatible Linux OS, not just on Debian/Ubuntu.
`jurf` from the #leap irc channel gives it a try.We want to offer flatpak packages so they work on every compatible Linux OS, not just on Debian/Ubuntu.
`jurf` from the #leap irc channel gives it a try.Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/9069Thousands of temp directories containing gpg material in /tmp2017-11-08T18:02:49ZVaracThousands of temp directories containing gpg material in /tmpShouldn't they only be transient an get removed asap ?
Will this gets fixed when migrating to pgpy ?
```
--- /tmp » ls -al /tmp/ | grep tmp | wc -l
7971
/tmp/tmpP2HBRH:
total 284
drwx------ 2 varac varac 4096 Sep 21 00:39 .
drwxrw...Shouldn't they only be transient an get removed asap ?
Will this gets fixed when migrating to pgpy ?
```
--- /tmp » ls -al /tmp/ | grep tmp | wc -l
7971
/tmp/tmpP2HBRH:
total 284
drwx------ 2 varac varac 4096 Sep 21 00:39 .
drwxrwxrwt 7983 root root 270336 Sep 21 21:25 ..
-rw------- 1 varac varac 1140 Sep 21 00:39 pubring.gpg
-rw------- 1 varac varac 0 Sep 21 00:39 pubring.gpg~
-rw------- 1 varac varac 2431 Sep 21 00:39 secring.gpg
-rw------- 1 varac varac 1200 Sep 21 00:39 trustdb.gpg
/tmp/tmpp2ikzy:
total 284
drwx------ 2 varac varac 4096 Sep 21 00:58 .
drwxrwxrwt 7983 root root 270336 Sep 21 21:25 ..
-rw------- 1 varac varac 1140 Sep 21 00:58 pubring.gpg
-rw------- 1 varac varac 0 Sep 21 00:58 pubring.gpg~
-rw------- 1 varac varac 2431 Sep 21 00:58 secring.gpg
-rw------- 1 varac varac 1200 Sep 21 00:58 trustdb.gpg
/tmp/tmpp2Nlzu:
total 284
drwx------ 2 varac varac 4096 Sep 21 00:50 .
drwxrwxrwt 7983 root root 270336 Sep 21 21:25 ..
-rw------- 1 varac varac 1140 Sep 21 00:50 pubring.gpg
-rw------- 1 varac varac 0 Sep 21 00:50 pubring.gpg~
-rw------- 1 varac varac 2431 Sep 21 00:50 secring.gpg
-rw------- 1 varac varac 1200 Sep 21 00:50 trustdb.gpg
…
```Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/8955Register a bonafide callable with Soledad Incoming Loop2017-07-06T23:06:51ZKali KanekoRegister a bonafide callable with Soledad Incoming Loopafter the IncomingMail refactor is finished to accomodate the new incoming loop in Soledad,
we can finally register a callback with soledad, so that the incoming loop is able to get a new authentication token.
```
2017-06-29T10:02:55+02...after the IncomingMail refactor is finished to accomodate the new incoming loop in Soledad,
we can finally register a callback with soledad, so that the incoming loop is able to get a new authentication token.
```
2017-06-29T10:02:55+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Starting sync...
2017-06-29T10:03:05+0200 [twisted.web.client._HTTP11ClientFactory#info] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f71ed325560>
2017-06-29T10:03:06+0200 [leap.soledad.client.api#error] got exception when syncing!
*--- Failure #910 ---
site-packages/twisted/internet/defer.py:500: errback(...)
site-packages/twisted/internet/defer.py:567: _startRunCallbacks(...)
site-packages/twisted/internet/defer.py:653: _runCallbacks(...)
site-packages/twisted/internet/defer.py:1442: gotResult(...)
[Capture of Locals and Globals disabled (use captureVars=True)]
--- <exception caught here> ---
site-packages/twisted/internet/defer.py:1384: _inlineCallbacks(...)
site-packages/twisted/python/failure.py:393: throwExceptionIntoGenerator(...)
site-packages/leap/soledad/client/_db/sqlcipher.py:471: sync(...)
site-packages/twisted/internet/defer.py:1384: _inlineCallbacks(...)
site-packages/twisted/python/failure.py:393: throwExceptionIntoGenerator(...)
site-packages/leap/soledad/client/sync.py:83: sync(...)
site-packages/twisted/internet/defer.py:1384: _inlineCallbacks(...)
site-packages/twisted/python/failure.py:393: throwExceptionIntoGenerator(...)
site-packages/leap/soledad/client/http_target/api.py:102: get_sync_info(...)
site-packages/twisted/internet/defer.py:653: _runCallbacks(...)
site-packages/leap/soledad/client/http_target/api.py:247: _unauth_to_invalid_token_error(...)
[Capture of Locals and Globals disabled (use captureVars=True)]
leap.soledad.common.errors.InvalidAuthTokenError:
*--- End of Failure #910 ---
2017-06-29T10:03:06+0200 [leap.bitmask.mail.incoming.service.IncomingMail#warn] Sync failed because token is invalid: <twisted.python.failure.Failure leap.soledad.common.errors.InvalidAuthTokenError: >
2017-06-29T10:03:06+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Processing incoming mail
2017-06-29T10:03:06+0200 [leap.bitmask.mail.incoming.service.IncomingMail#debug] no incoming messages found
```Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/8954Error 503 in Keymanager blocks Bitmask Mail from being enabled2017-07-06T20:29:41ZKali KanekoError 503 in Keymanager blocks Bitmask Mail from being enabledWhen trying latest build against mail.bitmask.net, I get an error 503 when keymanager tries to upload the key.
This results in pixelated not being available from the UI.
```
2017-06-28T18:45:23+0200 [twisted.python.log#info] "127.0.0.1...When trying latest build against mail.bitmask.net, I get an error 503 when keymanager tries to upload the key.
This results in pixelated not being available from the UI.
```
2017-06-28T18:45:23+0200 [twisted.python.log#info] "127.0.0.1" - - [28/Jun/2017:16:45:22 +0000] "POST /API/mail/status/testpixie1@mail.bitmask.net HTTP/1.1" 200 334 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.5.1 Safari/538.1"
2017-06-28T18:45:23+0200 [leap.bitmask.keymanager.nicknym.Nicknym#warn] 503: Service unavailable (maybe in maintenance).Request: https://nicknym.mail.bitmask.net:6425?address=testpixie1@mail.bitmask.net
```Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/8950create dockerfile to build static openvpn2017-06-22T13:51:48ZKali Kanekocreate dockerfile to build static openvpnthis should be part of a script that builds the binary, whenever there are changes to the build script. we should check that the output of that build script (hash) is the same as the latest binary built and uploaded.
the same script sho...this should be part of a script that builds the binary, whenever there are changes to the build script. we should check that the output of that build script (hash) is the same as the latest binary built and uploaded.
the same script should be used locally to sign and upload the static binary to the downloads page.Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/8947osx: bundle an statically compiled gpg2017-06-21T23:46:01ZKali Kanekoosx: bundle an statically compiled gpgright now we're depending on homebrew-installed gpg.right now we're depending on homebrew-installed gpg.Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/8939rename export --fetch to something more meaningfull in the API2017-06-15T11:09:21Zmeskiorename export --fetch to something more meaningfull in the APIIt's weird to call export to fetch keys remotely. Can we have a more meaningful naming in the API?It's weird to call export to fetch keys remotely. Can we have a more meaningful naming in the API?Nextmeskiomeskiohttps://0xacab.org/leap/bitmask-dev/-/issues/8920No json object could be decoded when logging out too fast after signing up2017-07-06T20:33:22ZkwadronautNo json object could be decoded when logging out too fast after signing upCreate a user through bitmask, logout before it finished the 'preparing your mail account', log back in and get a:
**No json object could be decoded** Account seems to be pretty broken. With latest 0.10 bundle build: bitmask_core: 0.10...Create a user through bitmask, logout before it finished the 'preparing your mail account', log back in and get a:
**No json object could be decoded** Account seems to be pretty broken. With latest 0.10 bundle build: bitmask_core: 0.10a1+37.g6f961fc
```
2017-06-08T13:51:44+0200 [leap.bitmask.bonafide.config.Provider#debug] Provider already initialized
2017-06-08T13:51:44+0200 [leap.bitmask.core.mail_services.SoledadService#debug] On_passphrase_entry: New Soledad Instance: kwadronaut@provider
2017-06-08T13:51:44+0200 [leap.bitmask.bonafide.config.Provider#debug] Provider already initialized
2017-06-08T13:51:44+0200 [leap.bitmask.bonafide._protocol.BonafideProtocol#debug] AUTH for kwadronaut@provider
2017-06-08T13:51:44+0200 [leap.bitmask.bonafide.session.Session#debug] POST to https://api.user.leap.se:4430/1/sessions
2017-06-08T13:51:44+0200 [twisted.web.client._HTTP11ClientFactory#info] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f0bd5294f38>
2017-06-08T13:51:45+0200 [leap.bitmask.bonafide.session.Session#debug] PUT to https://api.user.leap.se:4430/1/sessions/kwadronaut
2017-06-08T13:51:45+0200 [twisted.web.client._HTTP11ClientFactory#info] Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f0bd5294f38>
2017-06-08T13:51:45+0200 [twisted.web.client._HTTP11ClientFactory#info] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f0bd52a2878>
2017-06-08T13:51:45+0200 [leap.bitmask.core.dispatcher#error] [DISPATCHER] Unexpected error!
2017-06-08T13:51:45+0200 [leap.bitmask.core.dispatcher#error] ValueError('No JSON object could be decoded',)
2017-06-08T13:51:45+0200 [leap.bitmask.core.dispatcher#error] Traceback (most recent call last):
File "site-packages/leap/bitmask/bonafide/_protocol.py", line 115, in maybe_finish_provider_bootstrap
File "site-packages/leap/bitmask/bonafide/config.py", line 458, in download_services_config_with_auth
File "site-packages/twisted/internet/defer.py", line 321, in addCallback
File "site-packages/twisted/internet/defer.py", line 310, in addCallbacks
--- <exception caught here> ---
File "site-packages/twisted/internet/defer.py", line 653, in _runCallbacks
File "site-packages/leap/bitmask/bonafide/config.py", line 444, in complete_bootstrapping
File "site-packages/leap/bitmask/bonafide/config.py", line 542, in _get_config_for_all_services
File "site-packages/leap/bitmask/bonafide/config.py", line 564, in _load_provider_configs
File "json/__init__.py", line 291, in load
File "json/__init__.py", line 339, in loads
File "json/decoder.py", line 364, in decode
File "json/decoder.py", line 382, in raw_decode
exceptions.ValueError: No JSON object could be decoded
2017-06-08T13:51:45+0200 [twisted.python.log#info] "127.0.0.1" - - [08/Jun/2017:11:51:45 +0000] "POST /API/bonafide/user/authenticate HTTP/1.1" 200 60 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.5.1 Safari/538.1"
2017-06-08T13:51:45+0200 [twisted.web.client._HTTP11ClientFactory#info] Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f0bd52a2878>
```Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/8915add ability to import/export email2017-06-22T17:45:21ZKali Kanekoadd ability to import/export emailI think bitmaskctl could handle this (it has access already to the session).
I would point to a maildir/imap-folder for importing and exporting.
This is prioritary because it's a blocker for dogfooding.I think bitmaskctl could handle this (it has access already to the session).
I would point to a maildir/imap-folder for importing and exporting.
This is prioritary because it's a blocker for dogfooding.Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/8912tests: review soledad container in bitmask-dev tests2017-05-31T11:52:31ZKali Kanekotests: review soledad container in bitmask-dev teststhe linux tests are run from soledad container.
I think this might be a mistake, since tox should be able to install everything from the master branch of soledad.
```
linux_test:
image: 0xacab.org:4567/leap/soledad:latest
```the linux tests are run from soledad container.
I think this might be a mistake, since tox should be able to install everything from the master branch of soledad.
```
linux_test:
image: 0xacab.org:4567/leap/soledad:latest
```Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/8908cannot run ui tests (Cannot find module 'commander')2017-06-14T23:48:18Zrustadcannot run ui tests (Cannot find module 'commander') debian stretch
nodejs from https://deb.nodesource.com/setup_7.x
<pre>
npm install commander
bitmask_js@0.0.1 /home/user/src/bitmask-dev/ui
└─┬ commander@2.9.0
└── graceful-readlink@1.0.1
(venv) user@WOPR:~/src/... debian stretch
nodejs from https://deb.nodesource.com/setup_7.x
<pre>
npm install commander
bitmask_js@0.0.1 /home/user/src/bitmask-dev/ui
└─┬ commander@2.9.0
└── graceful-readlink@1.0.1
(venv) user@WOPR:~/src/bitmask-dev/ui$ make test
npm run test
> bitmask_js@0.0.1 test /home/user/src/bitmask-dev/ui
> mocha --compilers js:babel-core/register ./test/**/*.js
module.js:472
throw err;
^
Error: Cannot find module 'commander'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/lib/nodejs/mocha/bin/_mocha:7:15)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
</pre>Nextsimonftsimonfthttps://0xacab.org/leap/bitmask-dev/-/issues/8902refuse to run bitmask/bitmaskd if running as root2018-01-25T13:00:28ZKali Kanekorefuse to run bitmask/bitmaskd if running as rootin previous releases of bitmask, we were aborting execution of the client if run by root.
the reason is that we want to avoid users running bitmask with sudo, since it will mess with the settings by changing permissions of all the files ...in previous releases of bitmask, we were aborting execution of the client if run by root.
the reason is that we want to avoid users running bitmask with sudo, since it will mess with the settings by changing permissions of all the files that bitmaskd writes.
however, as a workaround for !113 I'm precisely relying on bitmask to be run as root for e2e tests.
I think we need to capture this particular usage with some kind of flag (BITMASK_AS_ROOT or something like that).Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/8900add ui tests to pipeline2017-07-06T20:29:41ZKali Kanekoadd ui tests to pipelinethe step it should be as simple as::
```
cd ui && make test
```
Also, ``mocha`` has to be added to the tests/docker dockerfile.the step it should be as simple as::
```
cd ui && make test
```
Also, ``mocha`` has to be added to the tests/docker dockerfile.Next