<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bitmask_android.git/app/src/debug/java/se, branch develop</title>
<subtitle>[bitmask_android] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask_android.git/'/>
<entry>
<title>s/buildtype/flavor, changed riseup's pin</title>
<updated>2015-06-08T18:04:03+00:00</updated>
<author>
<name>Parménides GV</name>
<email>parmegv@sdf.org</email>
</author>
<published>2015-06-08T17:56:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask_android.git/commit/?id=b0a0805ab81aaa4e204ecfc77d3a6a7f7ed66b2f'/>
<id>b0a0805ab81aaa4e204ecfc77d3a6a7f7ed66b2f</id>
<content type='text'>
Riseup's EE certificate expired (EE = End-Entity, the commercial
certificate signed by the issuer), and we weren't able to fetch
provider.json because the pin wasn't valid.

This problem needs to be avoided in the future, using
HKPK (https://tools.ietf.org/html/rfc7469), which Micah's implementing
on Riseup.

Switching from build types from flavors enables us to run tests against
production apk, not just debug. I didn't detect this pinning problem
because tests were run only against the debug apk, which trusted
preseeded providers by default (thus bypassing pinning issue).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Riseup's EE certificate expired (EE = End-Entity, the commercial
certificate signed by the issuer), and we weren't able to fetch
provider.json because the pin wasn't valid.

This problem needs to be avoided in the future, using
HKPK (https://tools.ietf.org/html/rfc7469), which Micah's implementing
on Riseup.

Switching from build types from flavors enables us to run tests against
production apk, not just debug. I didn't detect this pinning problem
because tests were run only against the debug apk, which trusted
preseeded providers by default (thus bypassing pinning issue).
</pre>
</div>
</content>
</entry>
<entry>
<title>Works smoothly, correct texts.</title>
<updated>2015-04-30T11:52:04+00:00</updated>
<author>
<name>Parménides GV</name>
<email>parmegv@sdf.org</email>
</author>
<published>2015-04-30T11:51:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask_android.git/commit/?id=237e51e09ea7ae13c4cdf7fd9247447f6d75fb9a'/>
<id>237e51e09ea7ae13c4cdf7fd9247447f6d75fb9a</id>
<content type='text'>
Next step: beautify.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Next step: beautify.
</pre>
</div>
</content>
</entry>
<entry>
<title>Functional.</title>
<updated>2015-04-29T16:21:03+00:00</updated>
<author>
<name>Parménides GV</name>
<email>parmegv@sdf.org</email>
</author>
<published>2015-04-29T16:21:03+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask_android.git/commit/?id=9a54c425f6d96e1872899eabf78fb60082a8d234'/>
<id>9a54c425f6d96e1872899eabf78fb60082a8d234</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Creating a user session fragment.</title>
<updated>2015-04-29T10:26:23+00:00</updated>
<author>
<name>Parménides GV</name>
<email>parmegv@sdf.org</email>
</author>
<published>2015-04-29T10:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask_android.git/commit/?id=f008b5ec8e1c74968e4a605d2de5423edf91b854'/>
<id>f008b5ec8e1c74968e4a605d2de5423edf91b854</id>
<content type='text'>
I've separated the user session management to it, and encapsulated
ProviderAPICommand into its own class.

Putting the fragment statically in dashboard.xml isn't working, Android
complains about it being duplicated, so I'm going to add it dynamically.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I've separated the user session management to it, and encapsulated
ProviderAPICommand into its own class.

Putting the fragment statically in dashboard.xml isn't working, Android
complains about it being duplicated, so I'm going to add it dynamically.
</pre>
</div>
</content>
</entry>
<entry>
<title>testEveryProvider also works</title>
<updated>2015-04-27T15:10:20+00:00</updated>
<author>
<name>Parménides GV</name>
<email>parmegv@sdf.org</email>
</author>
<published>2015-04-27T15:10:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask_android.git/commit/?id=8707f9e9a07f8c53955df14ef9b26d13a0eb60da'/>
<id>8707f9e9a07f8c53955df14ef9b26d13a0eb60da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests for ConfigurationWizard pass</title>
<updated>2015-04-22T12:59:49+00:00</updated>
<author>
<name>Parménides GV</name>
<email>parmegv@sdf.org</email>
</author>
<published>2015-04-22T12:59:49+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask_android.git/commit/?id=acb5e7e33b554b236995926853eb9f1abcb7b6c3'/>
<id>acb5e7e33b554b236995926853eb9f1abcb7b6c3</id>
<content type='text'>
I've done this because of https://leap.se/code/issues/6863#note-2,
testing the previous commit's changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I've done this because of https://leap.se/code/issues/6863#note-2,
testing the previous commit's changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid the check for a null provider.</title>
<updated>2015-04-22T12:20:09+00:00</updated>
<author>
<name>Parménides GV</name>
<email>parmegv@sdf.org</email>
</author>
<published>2015-04-22T12:20:09+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask_android.git/commit/?id=449c3953ce79947554bbfd6ed0386d68aa9f04bd'/>
<id>449c3953ce79947554bbfd6ed0386d68aa9f04bd</id>
<content type='text'>
A provider can be asked if it's configured or not, so that we don't find
more provider = null issues.

I've created a DefaultedURL which links to https://example.net, so that
we can initialize an URL. I use composition instead of inheritance,
since URL class is final.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A provider can be asked if it's configured or not, so that we don't find
more provider = null issues.

I've created a DefaultedURL which links to https://example.net, so that
we can initialize an URL. I use composition instead of inheritance,
since URL class is final.
</pre>
</div>
</content>
</entry>
<entry>
<title>Initialize ca fingerprint, avoiding nullpointer</title>
<updated>2015-04-22T10:29:04+00:00</updated>
<author>
<name>Parménides GV</name>
<email>parmegv@sdf.org</email>
</author>
<published>2015-04-22T10:29:04+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask_android.git/commit/?id=7d6d55cb62fcdc1e3a36f2634f0399b2d77db263'/>
<id>7d6d55cb62fcdc1e3a36f2634f0399b2d77db263</id>
<content type='text'>
Danger on defaults to true in debug build
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Danger on defaults to true in debug build
</pre>
</div>
</content>
</entry>
<entry>
<title>Pinning connection to provider.json</title>
<updated>2015-04-22T10:03:09+00:00</updated>
<author>
<name>Parménides GV</name>
<email>parmegv@sdf.org</email>
</author>
<published>2015-04-21T18:37:19+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask_android.git/commit/?id=e2b289726f3c1813f9fafecc94bc61a70dbdb899'/>
<id>e2b289726f3c1813f9fafecc94bc61a70dbdb899</id>
<content type='text'>
Using AndroidPinning library from Moxie, I make sure the provider.json
file Bitmask downloads is fetched from a pinned https connection, so
that the api certificate fingerprint is the good one.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using AndroidPinning library from Moxie, I make sure the provider.json
file Bitmask downloads is fetched from a pinned https connection, so
that the api certificate fingerprint is the good one.
</pre>
</div>
</content>
</entry>
<entry>
<title>Set accept-language in ProviderAPI, language-country</title>
<updated>2015-04-15T08:42:34+00:00</updated>
<author>
<name>Parménides GV</name>
<email>parmegv@sdf.org</email>
</author>
<published>2015-04-15T08:41:59+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask_android.git/commit/?id=c8994b645b607723bdaba4c2aa1ff0d19a9c0c13'/>
<id>c8994b645b607723bdaba4c2aa1ff0d19a9c0c13</id>
<content type='text'>
String locale = Locale.getDefault().getLanguage() + Locale.getDefault().getCountry();
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
String locale = Locale.getDefault().getLanguage() + Locale.getDefault().getCountry();
</pre>
</div>
</content>
</entry>
</feed>
