bitmask-dev issueshttps://0xacab.org/leap/bitmask-dev/-/issues2018-03-20T19:48:34Zhttps://0xacab.org/leap/bitmask-dev/-/issues/9265Does not install Bitmask on ubuntu 16.042018-03-20T19:48:34ZSver4Does not install Bitmask on ubuntu 16.04Good afternoon. Help please, what's the matter?
> Ошк:2 http://deb.bitmask.net/client xenial Release 404 Not Found
> E: The "http://deb.bitmask.net/client xenial Release" repository does not contain a Release ...Good afternoon. Help please, what's the matter?
> Ошк:2 http://deb.bitmask.net/client xenial Release 404 Not Found
> E: The "http://deb.bitmask.net/client xenial Release" repository does not contain a Release file.
> N: Updating from this repository can not be performed in a secure way, and therefore by default it is disabled.
> N: See the apt-secure (8) man page for creating a repository and configuring the user.
> E: The "http://deb.leap.se/client stretch Release" repository does not contain a Release file.
> N: Updating from this repository can not be performed in a secure way, and therefore by default it is disabled.
> N: See the apt-secure (8) man page for creating a repository and configuring the user.https://0xacab.org/leap/bitmask-dev/-/issues/9269Error Unauthorized2018-03-20T19:46:52ZG TError UnauthorizedHi.
Upgrade from Debian 8 to Debian 9 and also tried to upgrade my Bitmask but after upgrading everytime I launch the app I get "Error Unauthorized".Hi.
Upgrade from Debian 8 to Debian 9 and also tried to upgrade my Bitmask but after upgrading everytime I launch the app I get "Error Unauthorized".https://0xacab.org/leap/bitmask-dev/-/issues/9274Setting up a development environment.2018-03-06T18:04:58ZShubham GuptaSetting up a development environment.Completed all the steps given in this link:
https://leap.se/en/docs/client/dev-environment
When I try to write bitmask command to run it , got this error!
![image](/uploads/78f60fe0ad192a208956324539589550/image.png)
Please help me out.Completed all the steps given in this link:
https://leap.se/en/docs/client/dev-environment
When I try to write bitmask command to run it , got this error!
![image](/uploads/78f60fe0ad192a208956324539589550/image.png)
Please help me out.https://0xacab.org/leap/bitmask-dev/-/issues/9277Coding style2018-03-06T11:48:47ZJustin !Coding styleDo you think it could be a good idea to write a little coding style or at least take one that already exists? I have seen some stuff while browsing the code and I was wondering if you think it could be a good idea? I like constancy. :P
...Do you think it could be a good idea to write a little coding style or at least take one that already exists? I have seen some stuff while browsing the code and I was wondering if you think it could be a good idea? I like constancy. :P
Some things I have in mind :
* print vs print()
* string concatenation : + operator vs join. (join is faster when you have more than one + operator)
* import and use of module : there is place where people import what they want inside a module and other place where they import the module and use namespaced class, functions and constants.https://0xacab.org/leap/bitmask-dev/-/issues/9268Standalone bundle requires to be run as superuser (ubuntu 16.04/17.10)2018-03-02T14:27:13ZTeslas MoustacheStandalone bundle requires to be run as superuser (ubuntu 16.04/17.10)running './bitmask' inside ~/bitmask-0.10.2 results in 'permission denied'. I was thinking of chmod-ing the whole directory, but I don't know if that's a bad idea or not.
```
[+] launching bitmaskd...
Unhandled Error
Traceback (most rec...running './bitmask' inside ~/bitmask-0.10.2 results in 'permission denied'. I was thinking of chmod-ing the whole directory, but I don't know if that's a bad idea or not.
```
[+] launching bitmaskd...
Unhandled Error
Traceback (most recent call last):
File "site-packages/twisted/application/app.py", line 662, in run
File "site-packages/twisted/scripts/twistd.py", line 25, in runApp
File "site-packages/twisted/application/app.py", line 380, in run
File "site-packages/twisted/application/app.py", line 445, in createOrGetApplication
--- <exception caught here> ---
File "site-packages/twisted/application/app.py", line 456, in getApplication
File "site-packages/twisted/application/service.py", line 412, in loadApplication
File "site-packages/twisted/persisted/sob.py", line 177, in loadValueFromFile
File "/home/chris/bitmask-0.10.2/lib/bitmaskd.tac", line 23, in <module>
log_file = logFileFactory()
File "leap/bitmask/core/logs.py", line 20, in logFileFactory
File "site-packages/twisted/python/logfile.py", line 54, in fromFullPath
File "site-packages/twisted/python/logfile.py", line 170, in __init__
File "site-packages/twisted/python/logfile.py", line 45, in __init__
File "site-packages/twisted/python/logfile.py", line 175, in _openFile
File "site-packages/twisted/python/logfile.py", line 74, in _openFile
exceptions.IOError: [Errno 13] Permission denied: '/home/chris/.config/leap/bitmaskd.log'
Failed to load application: [Errno 13] Permission denied: '/home/chris/.config/leap/bitmaskd.log'
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 801, in __bootstrap_inner
File "site-packages/leap/common/events/client.py", line 469, in run
File "site-packages/leap/common/events/client.py", line 309, in _init_zmq
File "site-packages/leap/common/events/client.py", line 356, in _zmq_connect_sub
File "site-packages/leap/common/events/client.py", line 329, in _zmq_connect
File "site-packages/leap/common/zmq_utils.py", line 108, in maybe_create_and_get_certificates
File "site-packages/zmq/auth/certs.py", line 93, in load_certificate
IOError: [Errno 13] Permission denied: '/home/chris/.config/leap/events/zmq_certificates/private_keys/client.key_secret'
```https://0xacab.org/leap/bitmask-dev/-/issues/9258snapcraft: decide about the right confinement2018-03-02T03:57:39ZKali Kanekosnapcraft: decide about the right confinementWe have the option to decide between classic and strict confinement: https://docs.snapcraft.io/reference/confinement
However, since we rely on polkit, it seems we have to choose classic confinement for the time being, until a polkit bac...We have the option to decide between classic and strict confinement: https://docs.snapcraft.io/reference/confinement
However, since we rely on polkit, it seems we have to choose classic confinement for the time being, until a polkit backend is implemented: https://forum.snapcraft.io/t/polkit-policy-support/3865
With classic confinement I'm having troubles loading some shared libraries. The snap ships them (since they're included in the stage-packages list), but the can't be found at runtime.RiseupVPN betaKali KanekoKali Kanekohttps://0xacab.org/leap/bitmask-dev/-/issues/9260snap: install polkit policy files for the snapped applications2018-03-02T03:04:31ZKali Kanekosnap: install polkit policy files for the snapped applicationsI think we can just install the same polkit file for the bundles, that references the path for bitmask-root that is copied into /usr/local/sbin.
I'm assuming that snaps with classic confinement are able to install files into arbitrary p...I think we can just install the same polkit file for the bundles, that references the path for bitmask-root that is copied into /usr/local/sbin.
I'm assuming that snaps with classic confinement are able to install files into arbitrary paths in the system.RiseupVPN betaKali KanekoKali Kanekohttps://0xacab.org/leap/bitmask-dev/-/issues/9213Decide on systray/backend integration2018-02-21T17:32:10ZKali KanekoDecide on systray/backend integrationI see two basic options:
1. make the systray binary call bitmaskd (ideally, on the path).
2. make bitmaskd launch the systray binary if configured to do so (ideally, on the path. I think this can be configured on the config file).
Othe...I see two basic options:
1. make the systray binary call bitmaskd (ideally, on the path).
2. make bitmaskd launch the systray binary if configured to do so (ideally, on the path. I think this can be configured on the config file).
Other than this, there are some corner cases, mostly related with error handling. Shutdown from the systray can just check if we got a clean exit. I was wondering if we might need to implement a heartbeat, this should be fairly easy in zmq.RiseupVPN betahttps://0xacab.org/leap/bitmask-dev/-/issues/9259snap: define a basic skeleton for shipping RiseupVPN2018-02-21T17:30:33ZKali Kanekosnap: define a basic skeleton for shipping RiseupVPNI need a starting point to start packaging riseupvn.I need a starting point to start packaging riseupvn.RiseupVPN betaKali KanekoKali Kanekohttps://0xacab.org/leap/bitmask-dev/-/issues/8794Bitmask should accept --help, --verbose and --debug2018-02-15T15:41:00ZVaracBitmask should accept --help, --verbose and --debugbitmask should react to these flags. At the moment, none of these flags seem to make a difference:
```
(venv-gui) --- git/bitmask-dev ‹master* ⁇› » bitmask --debug
WARNING:vext:Could not add extra path: /usr/share/sip
CANNOT LOAD PIXEL...bitmask should react to these flags. At the moment, none of these flags seem to make a difference:
```
(venv-gui) --- git/bitmask-dev ‹master* ⁇› » bitmask --debug
WARNING:vext:Could not add extra path: /usr/share/sip
CANNOT LOAD PIXELATED!...............
No module named pixelated.adapter.mailstore
[+] launching bitmaskd...
[bitmask] terminating bitmaskd...
[bitmask] shutting down gui...
(venv-gui) --- git/bitmask-dev ‹master* ⁇› » bitmask --verbose
WARNING:vext:Could not add extra path: /usr/share/sip
CANNOT LOAD PIXELATED!...............
No module named pixelated.adapter.mailstore
[+] launching bitmaskd...
[bitmask] terminating bitmaskd...
[bitmask] shutting down gui...
(venv-gui) --- git/bitmask-dev ‹master* ⁇› » bitmask --help
WARNING:vext:Could not add extra path: /usr/share/sip
CANNOT LOAD PIXELATED!...............
No module named pixelated.adapter.mailstore
[+] launching bitmaskd...
[bitmask] terminating bitmaskd...
[bitmask] shutting down gui...
```0.10.3Kali KanekoKali Kanekohttps://0xacab.org/leap/bitmask-dev/-/issues/9247package bundle for riseupVPN2018-02-15T15:28:50ZKali Kanekopackage bundle for riseupVPNto begin with, we can use the same strategy than for bitmask bundles.
this still poses a question, and is how to ask for permissions to install bundles. we probably should call those checks from the anonvpn entrypoint automatically.
@mes...to begin with, we can use the same strategy than for bitmask bundles.
this still poses a question, and is how to ask for permissions to install bundles. we probably should call those checks from the anonvpn entrypoint automatically.
@meskio: how does that sound? I can work on this.
the other option is going for the one-click deb install.RiseupVPN betaKali KanekoKali Kanekohttps://0xacab.org/leap/bitmask-dev/-/issues/9163running from command line does not work if cwd is elsewhere (bundle)2018-02-15T15:28:29Zelijahrunning from command line does not work if cwd is elsewhere (bundle)Works:
```
$ cd Downloads/bitmask-0.10.0/
$ ./bitmask
```
Does not work:
```
$ Downloads/bitmask-0.10.0/bitmask
```Works:
```
$ cd Downloads/bitmask-0.10.0/
$ ./bitmask
```
Does not work:
```
$ Downloads/bitmask-0.10.0/bitmask
```RiseupVPN betaKali KanekoKali Kanekohttps://0xacab.org/leap/bitmask-dev/-/issues/9229Stale PID: Unable to start bitmask: Another twistd server is running2018-02-15T15:27:48ZVaracStale PID: Unable to start bitmask: Another twistd server is runningA friend (ubuntu 17.10, staging debs 0.10.3-rc1) cannot start bitmask because it complains about another twistd server should be running, which is not:
```
$ ps aux |grep bitm
... 6696 0.0 0.0 15920 1072 pts/0 R+ 22:15 0:0...A friend (ubuntu 17.10, staging debs 0.10.3-rc1) cannot start bitmask because it complains about another twistd server should be running, which is not:
```
$ ps aux |grep bitm
... 6696 0.0 0.0 15920 1072 pts/0 R+ 22:15 0:00 grep bitm
$ bitmask
[+] launching bitmaskd...
Another twistd server is running, PID 1965
This could either be a previously started instance of your application or a
different application entirely. To start a new one, either run it in some other
directory, or use the --pidfile and --logfile parameters to avoid clashes.
ERROR: No authentication token found!
```
Besides a proper fix, what would be the easy workaround for users experiencing this ?RiseupVPN betaKali KanekoKali Kanekohttps://0xacab.org/leap/bitmask-dev/-/issues/9251libzmq version mismatch: 4.2.1 vs 4.1.62018-02-15T15:27:25ZKali Kanekolibzmq version mismatch: 4.2.1 vs 4.1.6after building the bundles I get this:
```
[user] bitmask-builds/anonvpn-0.10.3/lib % ./bitmask-systray --help
2018/02/14 03:35:58 zmq4 was installed with ZeroMQ version 4.2.1, but the application links with version 4.1.6
```
which is...after building the bundles I get this:
```
[user] bitmask-builds/anonvpn-0.10.3/lib % ./bitmask-systray --help
2018/02/14 03:35:58 zmq4 was installed with ZeroMQ version 4.2.1, but the application links with version 4.1.6
```
which is puzzling for me because the golang binary was compiled with the same stretch version I'm trying to run this on.RiseupVPN betaKali KanekoKali Kanekohttps://0xacab.org/leap/bitmask-dev/-/issues/9232bitmask cannot be launched from gnome2018-02-15T15:27:03Zelijahbitmask cannot be launched from gnomeIf you download the bundle and try to double click on "bitmask" it tells you this:
> There is no application installed for "shared library" files. Do you want to search for an application to open this file.
It used to work that you cou...If you download the bundle and try to double click on "bitmask" it tells you this:
> There is no application installed for "shared library" files. Do you want to search for an application to open this file.
It used to work that you could double click the executableRiseupVPN betaKali KanekoKali Kanekohttps://0xacab.org/leap/bitmask-dev/-/issues/9244bitmaskctl status should not start bitmaskd2018-02-15T15:26:52Zelijahbitmaskctl status should not start bitmaskdthere is no point to a command called 'status' if it always starts bitmaskdthere is no point to a command called 'status' if it always starts bitmaskdRiseupVPN betaKali KanekoKali Kanekohttps://0xacab.org/leap/bitmask-dev/-/issues/9186support anonymous VPN2018-02-13T19:33:52Zmeskiosupport anonymous VPNRiseupVPN betaKali KanekoKali Kanekohttps://0xacab.org/leap/bitmask-dev/-/issues/9107AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'2018-01-29T20:18:47ZkardanAttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'Installing bitmask with pip, ibitmask fails with:
`AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'`. Downgrading Twisted-17.9.0 to 13.1.0 solves the issue.
```
Traceback (most recent call last): ...Installing bitmask with pip, ibitmask fails with:
`AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'`. Downgrading Twisted-17.9.0 to 13.1.0 solves the issue.
```
Traceback (most recent call last):
File "/home/user/bin/bitmask", line 7, in <module>
from leap.bitmask.gui.app import start_app
File "/home/user/.local/lib/python2.7/site-packages/leap/bitmask/__init__.py", line 4, in <module>
from .util import here
File "/home/user/.local/lib/python2.7/site-packages/leap/bitmask/util.py", line 26, in <module>
from leap.common.files import which
File "/home/user/.local/lib/python2.7/site-packages/leap/common/__init__.py", line 6, in <module>
from leap.common import events
File "/home/user/.local/lib/python2.7/site-packages/leap/common/events/__init__.py", line 41, in <module>
from leap.common.events import client
File "/home/user/.local/lib/python2.7/site-packages/leap/common/events/client.py", line 56, in <module>
from leap.common.events.server import EMIT_ADDR
File "/home/user/.local/lib/python2.7/site-packages/leap/common/events/server.py", line 23, in <module>
import txzmq
File "/home/user/.local/lib/python2.7/site-packages/txzmq/__init__.py", line 4, in <module>
from txzmq.connection import ZmqConnection, ZmqEndpoint, ZmqEndpointType
File "/home/user/.local/lib/python2.7/site-packages/txzmq/connection.py", line 11, in <module>
from twisted.internet import reactor
File "/home/user/.local/lib/python2.7/site-packages/twisted/internet/reactor.py", line 38, in <module>
from twisted.internet import default
File "/home/user/.local/lib/python2.7/site-packages/twisted/internet/default.py", line 56, in <module>
install = _getInstallFunction(platform)
File "/home/user/.local/lib/python2.7/site-packages/twisted/internet/default.py", line 44, in _getInstallFunction
from twisted.internet.epollreactor import install
File "/home/user/.local/lib/python2.7/site-packages/twisted/internet/epollreactor.py", line 24, in <module>
from twisted.internet import posixbase
File "/home/user/.local/lib/python2.7/site-packages/twisted/internet/posixbase.py", line 18, in <module>
from twisted.internet import error, udp, tcp
File "/home/user/.local/lib/python2.7/site-packages/twisted/internet/tcp.py", line 28, in <module>
from twisted.internet._newtls import (
File "/home/user/.local/lib/python2.7/site-packages/twisted/internet/_newtls.py", line 21, in <module>
from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
File "/home/user/.local/lib/python2.7/site-packages/twisted/protocols/tls.py", line 63, in <module>
from twisted.internet._sslverify import _setAcceptableProtocols
File "/home/user/.local/lib/python2.7/site-packages/twisted/internet/_sslverify.py", line 38, in <module>
TLSVersion.TLSv1_1: SSL.OP_NO_TLSv1_1,
AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'
```0.19.5https://0xacab.org/leap/bitmask-dev/-/issues/9125use qtwebengine intead of qtwebkit2018-01-25T14:18:17Zelijahuse qtwebengine intead of qtwebkitthe qtwebkit package is being phased out
catsndogs wrote:
> Hi.
> I guess you guys may be aware of it already, but there seems to be a problem regarding the qtwebkit package. I think the package is being phased out -I am in no way abl...the qtwebkit package is being phased out
catsndogs wrote:
> Hi.
> I guess you guys may be aware of it already, but there seems to be a problem regarding the qtwebkit package. I think the package is being phased out -I am in no way able to explain the problem because of lack of technical knowledge so i point you to some links I found. The bitmask application take many hours to build on my Arch-Linux based system.
> Thank you all for your effort in providing people with these services. Keep up your great work, we owe you a big one!
>
> https://www.archlinux.org/todo/phasing-out-qtwebkit
> https://aur.archlinux.org/packages/bitmask_client
> https://forum.manjaro.org/t/unable-to-update-qtwebkit-2-3-4-4-to-2-3-4-5-in-octopi/181090.10.3Kali KanekoKali Kanekohttps://0xacab.org/leap/bitmask-dev/-/issues/9141Running authenticate returns an error after the first login attempt, even whe...2018-01-25T14:09:23ZsimonftRunning authenticate returns an error after the first login attempt, even when it succeedsWhen running an API request against AUTHENTICATE, it returns an error in the json after the first request, even when the request succeeds. See the following:
```
simonft@goldman ~> curl 'http://localhost:7070/API/bonafide/user/authentic...When running an API request against AUTHENTICATE, it returns an error in the json after the first request, even when the request succeeds. See the following:
```
simonft@goldman ~> curl 'http://localhost:7070/API/bonafide/user/authenticate' -H 'X-Bitmask-Auth: 927d74e7e6d54ec097013eefa2f67210' --data-binary '["simonft-nylas-test@mail.bitmask.net","${PASSWORD}",true]' --compressed
{"result": {"srp_token": "<removed>", "uuid": "<removed>"}, "error": null}⏎
simonft@goldman ~> curl 'http://localhost:7070/API/bonafide/user/authenticate' -H 'X-Bitmask-Auth: 927d74e7e6d54ec097013eefa2f67210' --data-binary '["simonft-nylas-test@mail.bitmask.net","${PASSWORD}",true]' --compressed
{"result": null, "error": ""}⏎
```
The first request succeeds. at which point the account is logged in. The second request fails. This might be reasonable, since the account is already logged in, though in that case the error message should be more clear and it should not return 200. However, if I then log out and run the request again, I still get the same error.
```
simonft@goldman ~> curl 'http://localhost:7070/API/bonafide/user/authenticate' -H 'X-Bitmask-Auth: 927d74e7e6d54ec097013eefa2f67210' --data-binary '["simonft-nylas-test@mail.bitmask.net","${PASSWORD}",true]' --compressed
{"result": null, "error": ""}⏎
```
However, the account is in fact logged in after this.0.10.3Kali KanekoKali Kaneko