<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bitmask-dev.git/src/leap/bitmask/bonafide, branch master</title>
<subtitle>[bitmask-dev] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/'/>
<entry>
<title>[bug] fixed function call</title>
<updated>2018-01-25T00:19:21+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2018-01-23T19:23:06+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=26d3badc31655e2258f54dbcaf0bdca5f8623e69'/>
<id>26d3badc31655e2258f54dbcaf0bdca5f8623e69</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] do not fail if the provider does not allow anonymous vpn</title>
<updated>2018-01-25T00:19:20+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2018-01-23T00:18:46+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=b3e9efc82a04cd0f896b38dbe155a4191db393e5'/>
<id>b3e9efc82a04cd0f896b38dbe155a4191db393e5</id>
<content type='text'>
Since bonafide was not catching the error 401, an attempt to bootstrap a
provider that does not support anonvpn with the new setup was resulting
in a json that was containing only an error message.

this was producing an error when trying to access the configuration for
that provider's EIP section.

we now avoid writing a json config file if an error 401 is found, and
also catch the exception for a ValueError when the EIP section is not
found in the provider's configuration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since bonafide was not catching the error 401, an attempt to bootstrap a
provider that does not support anonvpn with the new setup was resulting
in a json that was containing only an error message.

this was producing an error when trying to access the configuration for
that provider's EIP section.

we now avoid writing a json config file if an error 401 is found, and
also catch the exception for a ValueError when the EIP section is not
found in the provider's configuration.
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] support anonymous vpn</title>
<updated>2018-01-25T00:19:10+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2018-01-10T11:31:17+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=5ffa0c1710ce4038b94a026a58daf8f12aef2ec4'/>
<id>5ffa0c1710ce4038b94a026a58daf8f12aef2ec4</id>
<content type='text'>
honor the anonymous certificate for the providers that offer it.
this still needs a change in bonafide, in which if provider supports
anonymous access we still have to download eip-service.json

for testing, I assume this has been already manually downloaded.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
honor the anonymous certificate for the providers that offer it.
this still needs a change in bonafide, in which if provider supports
anonymous access we still have to download eip-service.json

for testing, I assume this has been already manually downloaded.
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] remove stuck_bootstrap deferred from Provider</title>
<updated>2017-12-09T10:44:35+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2017-12-09T10:44:35+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=463e11492e46d7f1205de7b9a9d3250cd4cf988e'/>
<id>463e11492e46d7f1205de7b9a9d3250cd4cf988e</id>
<content type='text'>
This deferred was not used anywhere, but it was called twice.
Provider is a singleton so multiple logins into the same provider where
producing it to be called mor than once.

- Resolves: #9171
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This deferred was not used anywhere, but it was called twice.
Provider is a singleton so multiple logins into the same provider where
producing it to be called mor than once.

- Resolves: #9171
</pre>
</div>
</content>
</entry>
<entry>
<title>[pkg] copy provider certificates on bundles</title>
<updated>2017-12-08T17:12:02+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-12-08T16:53:08+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=13af5d9f4abc6a0dd5aef91e076ed2bb90779d4f'/>
<id>13af5d9f4abc6a0dd5aef91e076ed2bb90779d4f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] add provider pinning</title>
<updated>2017-12-07T16:05:40+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2017-12-05T10:55:02+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=ce5cd2d49dac5f89deb0c10dee96160656fe2055'/>
<id>ce5cd2d49dac5f89deb0c10dee96160656fe2055</id>
<content type='text'>
Pin the provider.json and the ca cert for the public providers.

- Resolves: #9074
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pin the provider.json and the ca cert for the public providers.

- Resolves: #9074
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] use bonafide Provider object as a singleton</title>
<updated>2017-10-06T16:38:42+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2017-10-06T09:50:36+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=a5cb9c9940b34252da66d43498d705980532f60c'/>
<id>a5cb9c9940b34252da66d43498d705980532f60c</id>
<content type='text'>
There was common situations where two provider instances where running
in parallel. And was creating weird errors (like getting wrong api_uri)
because the bootstrap deferreds were global but the Provider objects
not.

I don't like much singletons, but I think now is simpler than before.

- Resolves: #9073
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was common situations where two provider instances where running
in parallel. And was creating weird errors (like getting wrong api_uri)
because the bootstrap deferreds were global but the Provider objects
not.

I don't like much singletons, but I think now is simpler than before.

- Resolves: #9073
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] fix initialization of default parameter to mutable data structure</title>
<updated>2017-09-21T16:16:27+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-09-21T15:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=a271852b1ba74ddbbf2b1c7cc509615ed8cd0664'/>
<id>a271852b1ba74ddbbf2b1c7cc509615ed8cd0664</id>
<content type='text'>
whoever wrote this in the first place needs to get introduced to
import-time initialization, even if it was me. one of the nastiest
python gotchas in my opinion :)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
whoever wrote this in the first place needs to get introduced to
import-time initialization, even if it was me. one of the nastiest
python gotchas in my opinion :)
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] do not send if-modified-header if file does not exist</title>
<updated>2017-09-21T16:15:38+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-09-21T14:47:58+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=e6b39d7037fb8385cd2052713f442416b4c4447a'/>
<id>e6b39d7037fb8385cd2052713f442416b4c4447a</id>
<content type='text'>
just to make the logic clear.
we should probably check that the file is not empty and it has valid
json (sanitized against the spec).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
just to make the logic clear.
we should probably check that the file is not empty and it has valid
json (sanitized against the spec).
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] check if there are newest configuration files</title>
<updated>2017-09-20T17:06:28+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-09-18T13:35:13+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=0d0459ac31f40d90270de0a9da8e1eac0b57784d'/>
<id>0d0459ac31f40d90270de0a9da8e1eac0b57784d</id>
<content type='text'>
here we port the if-modified-since conditional mechanism, so that we
only write the config if it is newer than whan we have.

we also add a line with the status code to the logs, so that it's easier
to debug.

note that the 'configs.json' file is never returning 304.

- Resolves: #8773
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
here we port the if-modified-since conditional mechanism, so that we
only write the config if it is newer than whan we have.

we also add a line with the status code to the logs, so that it's easier
to debug.

note that the 'configs.json' file is never returning 304.

- Resolves: #8773
</pre>
</div>
</content>
</entry>
</feed>
