<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_pycommon.git/src/leap, branch 0.6.0</title>
<subtitle>[leap_pycommon] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/'/>
<entry>
<title>[docs] add note about refactor</title>
<updated>2017-07-14T13:05:47+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-07-14T13:05:47+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=3c233dee8913397364a37097741a9e99ffb0d03d'/>
<id>3c233dee8913397364a37097741a9e99ffb0d03d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] remove heuristic to check for usable platformRoot</title>
<updated>2017-07-14T12:36:54+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-07-14T12:34:29+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=aceff1bf17afe60378ff5ad7335573da7ba9ddde'/>
<id>aceff1bf17afe60378ff5ad7335573da7ba9ddde</id>
<content type='text'>
the rationale here is that, in debian, certifi will always return a
working platform trust, since the package points to the system
certificates. in osx and windows, certifi will load an usable trustRoot
that is kept up to date.

another detail we didn't like about the heuristic is that the bundled
certificate for testing will eventually expire, so that introduces the
duty of keeping it up-to-date.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the rationale here is that, in debian, certifi will always return a
working platform trust, since the package points to the system
certificates. in osx and windows, certifi will load an usable trustRoot
that is kept up to date.

another detail we didn't like about the heuristic is that the bundled
certificate for testing will eventually expire, so that introduces the
duty of keeping it up-to-date.
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] add fallback on trust sources for ssl verification</title>
<updated>2017-07-11T13:59:32+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-07-11T13:55:13+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=07df10c11fa092af4abfe09dbc7584fc22e614a6'/>
<id>07df10c11fa092af4abfe09dbc7584fc22e614a6</id>
<content type='text'>
With the merge of platformTrust in twisted, the situation for cert chain
verification in linux improved a lot.

This patch implements fallbacks to do the following:

- Try to use whatever trust sources are found in the system. This means
that if ca-certificates is installed, pyopenssl will have a valid set of
root certificates and verification will likely work (twisted uses
platformTrust for this).

- If that fails, try to use certifi. We could/should depend on that from
now on, *but* it's not packaged before stretch.

- So, I'm not deprecating its usage right now, but this one should be
the last cacert.pem bundle that we ship with leap.common.

- If the cacert.pem from leap.common fails to be found, well, there's
nothing you can do. Your TOFU attempt with a cert coming from the
CArtel will fail.

Most of this MR should be sent as a patch upstream, see https://twistedmatrix.com/trac/ticket/6934
Also related: https://twistedmatrix.com/trac/ticket/9209

I think proper testing will depend on merging https://github.com/pyca/pyopenssl/pull/473

- Resolves: #8958
- Release: 0.6.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the merge of platformTrust in twisted, the situation for cert chain
verification in linux improved a lot.

This patch implements fallbacks to do the following:

- Try to use whatever trust sources are found in the system. This means
that if ca-certificates is installed, pyopenssl will have a valid set of
root certificates and verification will likely work (twisted uses
platformTrust for this).

- If that fails, try to use certifi. We could/should depend on that from
now on, *but* it's not packaged before stretch.

- So, I'm not deprecating its usage right now, but this one should be
the last cacert.pem bundle that we ship with leap.common.

- If the cacert.pem from leap.common fails to be found, well, there's
nothing you can do. Your TOFU attempt with a cert coming from the
CArtel will fail.

Most of this MR should be sent as a patch upstream, see https://twistedmatrix.com/trac/ticket/6934
Also related: https://twistedmatrix.com/trac/ticket/9209

I think proper testing will depend on merging https://github.com/pyca/pyopenssl/pull/473

- Resolves: #8958
- Release: 0.6.0
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] update the certificate bundle</title>
<updated>2017-07-08T17:37:50+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-07-08T17:37:50+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=aac425fba2fc1f3674f9fac969fbfa086318c5ec'/>
<id>aac425fba2fc1f3674f9fac969fbfa086318c5ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] add bonafide auth event</title>
<updated>2017-04-20T13:02:50+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2017-04-20T13:02:02+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=42252afd009b31830ff3fc709f0d50b1ee7dd5bc'/>
<id>42252afd009b31830ff3fc709f0d50b1ee7dd5bc</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 VPN_STATUS_CHANGED event</title>
<updated>2017-03-16T23:32:20+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2017-03-16T23:32:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=e5a81fe9da5876e2cadb57f89092a7583801483c'/>
<id>e5a81fe9da5876e2cadb57f89092a7583801483c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] Improve python3 compatibility</title>
<updated>2017-03-15T22:31:12+00:00</updated>
<author>
<name>efkin</name>
<email>efkin@riseup.net</email>
</author>
<published>2017-03-13T20:21:10+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=de80e77fd6b626e5c92844eefbe0d1b8f60288a2'/>
<id>de80e77fd6b626e5c92844eefbe0d1b8f60288a2</id>
<content type='text'>
This commit is required for `soledad` tests re-collection.

Signed-off-by: Ruben Pollan &lt;meskio@sindominio.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit is required for `soledad` tests re-collection.

Signed-off-by: Ruben Pollan &lt;meskio@sindominio.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] add MAIL_STATUS_CHANGED event</title>
<updated>2017-03-13T19:36:42+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2017-03-13T19:36:42+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=d666a4b7ad016dd88e11320b45e887d468051d95'/>
<id>d666a4b7ad016dd88e11320b45e887d468051d95</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[pkg] remove dependency on dirspec</title>
<updated>2016-07-11T14:41:53+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-07-06T06:46:33+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=40e5d40c7c725709ac3fd770e6070fbe02e4b7e0'/>
<id>40e5d40c7c725709ac3fd770e6070fbe02e4b7e0</id>
<content type='text'>
This commit removes the dep introduced in 5e12233 by just importing some tiny
bit of dirspec code.

The previous change was introduced because:

  * pyxdg did not account for Mac OS specifics, i.e. using ~/Library/
    directory structure instead of .config (see:
    https://leap.se/code/issues/3574).

  * dirspec does the correct thing for xdg on Mac OS.

  * u1db depends on dirspec anyway.

The problem is that dirspec is not maintained and published on pypi, what
forces us to download it from an URL and add exceptions to be able to pip
install it.

As we are removing dependence on u1db on other modules, we can also remove it
here. To workaround the Mac OS problem, we just add some code from dirspec to
ensure we get the correct directory on Mac OS.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit removes the dep introduced in 5e12233 by just importing some tiny
bit of dirspec code.

The previous change was introduced because:

  * pyxdg did not account for Mac OS specifics, i.e. using ~/Library/
    directory structure instead of .config (see:
    https://leap.se/code/issues/3574).

  * dirspec does the correct thing for xdg on Mac OS.

  * u1db depends on dirspec anyway.

The problem is that dirspec is not maintained and published on pypi, what
forces us to download it from an URL and add exceptions to be able to pip
install it.

As we are removing dependence on u1db on other modules, we can also remove it
here. To workaround the Mac OS problem, we just add some code from dirspec to
ensure we get the correct directory on Mac OS.
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] toxify tests</title>
<updated>2016-07-11T14:41:50+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-07-06T06:43:49+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=7e90eed551bbe847201e5c62edcf0e6493ab2ec3'/>
<id>7e90eed551bbe847201e5c62edcf0e6493ab2ec3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
