<feed xmlns='http://www.w3.org/2005/Atom'>
<title>soledad.git/client/src/leap, branch release/0.9.x</title>
<subtitle>[soledad]
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/'/>
<entry>
<title>[feature] Change CTR to GCM on secrets.py</title>
<updated>2016-12-12T11:17:52+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor1984@riseup.net</email>
</author>
<published>2016-12-07T05:03:58+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=7877527fe64eaee1f7f107913a4a3dc78767a338'/>
<id>7877527fe64eaee1f7f107913a4a3dc78767a338</id>
<content type='text'>
Current implementation can allow tampering and the CTR-&gt;GCM exchange can
help to avoid it.
This commits also alters a behaviour where we moved ahead after failing
to decrypt a recovery document. IMHO we can't move ahead as this is a
fatal error.

Signed-off-by: Victor Shyba &lt;victor1984@riseup.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Current implementation can allow tampering and the CTR-&gt;GCM exchange can
help to avoid it.
This commits also alters a behaviour where we moved ahead after failing
to decrypt a recovery document. IMHO we can't move ahead as this is a
fatal error.

Signed-off-by: Victor Shyba &lt;victor1984@riseup.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] Add retro compat on secrets.py ciphers</title>
<updated>2016-12-12T11:17:52+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor1984@riseup.net</email>
</author>
<published>2016-12-07T04:24:53+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=b3fcc5c5bddc73475596c4fe74e3402f0d5c021a'/>
<id>b3fcc5c5bddc73475596c4fe74e3402f0d5c021a</id>
<content type='text'>
Integrated the secrets's JSON key that specifies ciphers into _crypto
and added optional GCM. Also added a test to check if both cipher types
can be imported.

Resolves: #8680
Signed-off-by: Victor Shyba &lt;victor1984@riseup.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Integrated the secrets's JSON key that specifies ciphers into _crypto
and added optional GCM. Also added a test to check if both cipher types
can be imported.

Resolves: #8680
Signed-off-by: Victor Shyba &lt;victor1984@riseup.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] use GCM instead of CTR+HMAC</title>
<updated>2016-12-12T11:17:52+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor1984@riseup.net</email>
</author>
<published>2016-12-07T02:16:28+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=349a49d2be011a428023a4ece14001fda57e65c4'/>
<id>349a49d2be011a428023a4ece14001fda57e65c4</id>
<content type='text'>
Resolves: #8668 - client: substitute usage of CTR mode + HMAC by GCM
cipher mode

Signed-off-by: Victor Shyba &lt;victor1984@riseup.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolves: #8668 - client: substitute usage of CTR mode + HMAC by GCM
cipher mode

Signed-off-by: Victor Shyba &lt;victor1984@riseup.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] improve blob signature magic usage</title>
<updated>2016-12-12T11:17:51+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor1984@riseup.net</email>
</author>
<published>2016-11-30T03:07:24+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=694e5670da53e923cf809948e400cd546154162b'/>
<id>694e5670da53e923cf809948e400cd546154162b</id>
<content type='text'>
Our magic value wasn't being used and were represented as a string.
Refactored it to a constant, increased it's size to 2 bytes and optimzed
is_symmetrically_encrypted to look for the magic and symmetrically
encrypted flag under base64 encoding. Most file types will use this
feature to help identifying themselves, so it got refactored to serve
the purpose it was created.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Our magic value wasn't being used and were represented as a string.
Refactored it to a constant, increased it's size to 2 bytes and optimzed
is_symmetrically_encrypted to look for the magic and symmetrically
encrypted flag under base64 encoding. Most file types will use this
feature to help identifying themselves, so it got refactored to serve
the purpose it was created.
</pre>
</div>
</content>
</entry>
<entry>
<title>[style] fixes from code-review</title>
<updated>2016-12-12T11:17:51+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor1984@riseup.net</email>
</author>
<published>2016-11-29T05:20:03+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=5a93aeaab78c95dd707f922a4f45bb5d2eeca951'/>
<id>5a93aeaab78c95dd707f922a4f45bb5d2eeca951</id>
<content type='text'>
Naming, interfaces and other details.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Naming, interfaces and other details.
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] introduces a GenericWriter</title>
<updated>2016-12-12T11:17:51+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor1984@riseup.net</email>
</author>
<published>2016-11-27T05:25:07+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=dc80d2b59edd14ab463dc74e5fa19d1a04c27ca1'/>
<id>dc80d2b59edd14ab463dc74e5fa19d1a04c27ca1</id>
<content type='text'>
AESWriter and HMACWriter are just applying hmac or aes into a flow of
data. Abstracted the application of those operations into a super class
and highlighted just the difference on each implementation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
AESWriter and HMACWriter are just applying hmac or aes into a flow of
data. Abstracted the application of those operations into a super class
and highlighted just the difference on each implementation.
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] adds PipeableWriter to pipe two streams</title>
<updated>2016-12-12T11:17:51+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor1984@riseup.net</email>
</author>
<published>2016-11-27T04:13:04+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=b7bf30ca644775b38473571e47cbe102a5216d19'/>
<id>b7bf30ca644775b38473571e47cbe102a5216d19</id>
<content type='text'>
VerifiedEncryptor and VerifiedDecryptor are just a pipe and a fan-out.
This class provides both behaviors to two distinct writeable things.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
VerifiedEncryptor and VerifiedDecryptor are just a pipe and a fan-out.
This class provides both behaviors to two distinct writeable things.
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] simplify _crypto</title>
<updated>2016-12-12T11:17:51+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor1984@riseup.net</email>
</author>
<published>2016-11-27T00:26:23+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=bae95c183e68481db0fe36f066cd14c97bff3013'/>
<id>bae95c183e68481db0fe36f066cd14c97bff3013</id>
<content type='text'>
After adding the streaming decrypt, some classes were doing almost the
same thing. Unified them.
Also fixed some module level variables to upper case and some class name
to camel case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After adding the streaming decrypt, some classes were doing almost the
same thing. Unified them.
Also fixed some module level variables to upper case and some class name
to camel case.
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] improve logging</title>
<updated>2016-12-12T11:17:51+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor1984@riseup.net</email>
</author>
<published>2016-11-26T21:12:36+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=fbca1644823acbe4165ad1087db5baed28a6809d'/>
<id>fbca1644823acbe4165ad1087db5baed28a6809d</id>
<content type='text'>
Some exceptions were missing a proper description and client_side_db.py
script wasn't capturing logs from Twisted.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some exceptions were missing a proper description and client_side_db.py
script wasn't capturing logs from Twisted.
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] make the semaphore cover all parsing</title>
<updated>2016-12-12T11:17:51+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor1984@riseup.net</email>
</author>
<published>2016-11-26T21:11:11+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=d72e3763538d1156bcf72b643626c2111a5a02cf'/>
<id>d72e3763538d1156bcf72b643626c2111a5a02cf</id>
<content type='text'>
Unfortunately, if a doc finishes decryption before the previous one we
will still have an issue while inserting. This commits solves it by
adding the parse and decrypt inside of the semaphore.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unfortunately, if a doc finishes decryption before the previous one we
will still have an issue while inserting. This commits solves it by
adding the parse and decrypt inside of the semaphore.
</pre>
</div>
</content>
</entry>
</feed>
