From b0a0805ab81aaa4e204ecfc77d3a6a7f7ed66b2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Mon, 8 Jun 2015 19:56:43 +0200 Subject: s/buildtype/flavor, changed riseup's pin 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). --- app/src/insecure/assets/urls/cdev.bitmask.net.url | 3 +++ app/src/insecure/assets/urls/dev.bitmask.net.url | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 app/src/insecure/assets/urls/cdev.bitmask.net.url create mode 100644 app/src/insecure/assets/urls/dev.bitmask.net.url (limited to 'app/src/insecure/assets') diff --git a/app/src/insecure/assets/urls/cdev.bitmask.net.url b/app/src/insecure/assets/urls/cdev.bitmask.net.url new file mode 100644 index 00000000..4ceca5ee --- /dev/null +++ b/app/src/insecure/assets/urls/cdev.bitmask.net.url @@ -0,0 +1,3 @@ +{ + "main_url" : "https://cdev.bitmask.net/" +} \ No newline at end of file diff --git a/app/src/insecure/assets/urls/dev.bitmask.net.url b/app/src/insecure/assets/urls/dev.bitmask.net.url new file mode 100644 index 00000000..5d4ae485 --- /dev/null +++ b/app/src/insecure/assets/urls/dev.bitmask.net.url @@ -0,0 +1,3 @@ +{ + "main_url" : "https://dev.bitmask.net/" +} \ No newline at end of file -- cgit v1.2.3