<feed xmlns='http://www.w3.org/2005/Atom'>
<title>soledad.git/client/src, branch 0.8.1</title>
<subtitle>[soledad]
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/'/>
<entry>
<title>[style] pep8</title>
<updated>2016-07-13T17:36:14+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2016-07-13T17:36:14+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=7d264548d6df756f2a157fe59cf58b3240825418'/>
<id>7d264548d6df756f2a157fe59cf58b3240825418</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] make u1db connection pool args explicit</title>
<updated>2016-07-12T01:09:33+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-07-10T08:38:04+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=f406ccbaf2b79db1d65827463f830f4ffbe5856c'/>
<id>f406ccbaf2b79db1d65827463f830f4ffbe5856c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] properly trap db errors and close resources</title>
<updated>2016-07-12T01:09:32+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-07-08T11:09:26+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=d99198046e07abb0d19fde1695d22267bc5e1433'/>
<id>d99198046e07abb0d19fde1695d22267bc5e1433</id>
<content type='text'>
SQLCipher database access errors can raise Soledad exceptions. Database access
and multithreading resources are allocated in different places, so we have to
be careful to close all multithreading mechanismis in case of database access
errors. If we don't, zombie threads may haunt the reactor.

This commit adds SQLCipher exception trapping and Soledad exception raising
for database access errors, while properly shutting down multithreading
resources.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SQLCipher database access errors can raise Soledad exceptions. Database access
and multithreading resources are allocated in different places, so we have to
be careful to close all multithreading mechanismis in case of database access
errors. If we don't, zombie threads may haunt the reactor.

This commit adds SQLCipher exception trapping and Soledad exception raising
for database access errors, while properly shutting down multithreading
resources.
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] use default sqlcipher timeout</title>
<updated>2016-07-12T01:09:26+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-07-05T05:45:06+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=b3fb215860a8e50e4a6c551fef78628acdbf25c7'/>
<id>b3fb215860a8e50e4a6c551fef78628acdbf25c7</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 u1db dep from support code</title>
<updated>2016-07-12T01:09:25+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-07-05T06:37:45+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=8a3bbc6c81f10d8e00fcdd779784f327425f1942'/>
<id>8a3bbc6c81f10d8e00fcdd779784f327425f1942</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] make tests use l2db submodule</title>
<updated>2016-07-12T01:09:24+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2016-04-29T01:40:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=b5aa97e9f88934dd73af84f212c95775f97769a9'/>
<id>b5aa97e9f88934dd73af84f212c95775f97769a9</id>
<content type='text'>
From this moment on, we embed a fork of u1db called l2db.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From this moment on, we embed a fork of u1db called l2db.
</pre>
</div>
</content>
</entry>
<entry>
<title>[style] pep8</title>
<updated>2016-06-22T14:42:52+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2016-06-22T14:42:52+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=bcf4c28e0ad5fe1c3a3c285e50ef2a097f31cca5'/>
<id>bcf4c28e0ad5fe1c3a3c285e50ef2a097f31cca5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[style] pep8 compatibility: indent and white space</title>
<updated>2016-06-22T14:27:13+00:00</updated>
<author>
<name>NavaL</name>
<email>ayoyo@thoughtworks.com</email>
</author>
<published>2016-06-20T13:03:59+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=ab37460772c3cf07c6915baf42a61a44156cfde2'/>
<id>ab37460772c3cf07c6915baf42a61a44156cfde2</id>
<content type='text'>
It was breaking E126 and E202 before
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was breaking E126 and E202 before
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] move the decryption to a threadpool too</title>
<updated>2016-06-15T21:29:30+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2016-06-15T21:29:30+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=a841230aa7d199151ffe1cb21d33b9b0a7bd5eb5'/>
<id>a841230aa7d199151ffe1cb21d33b9b0a7bd5eb5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] initialize OpenSSL context just once</title>
<updated>2016-06-15T21:01:38+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2016-06-15T21:01:38+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=48ff88a7781165b98285d6c25ec5d49d49cc3503'/>
<id>48ff88a7781165b98285d6c25ec5d49d49cc3503</id>
<content type='text'>
Do not initialize the openssl context on each call to decrypt.

I'm not 100% sure of the causal chain, but it seems that the
initialization of the osrandom engine that openssl backend does might be
breaking havoc when sqlcipher is calling rand_bytes concurrently.

further testing is needed to confirm this is the ultimate cause, but in
my tests this change avoids the occurrence of the dreaded Floating Point
Exception in soledad/sqlcipher.

- Resolves: #8180
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not initialize the openssl context on each call to decrypt.

I'm not 100% sure of the causal chain, but it seems that the
initialization of the osrandom engine that openssl backend does might be
breaking havoc when sqlcipher is calling rand_bytes concurrently.

further testing is needed to confirm this is the ultimate cause, but in
my tests this change avoids the occurrence of the dreaded Floating Point
Exception in soledad/sqlcipher.

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