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/production/res/layout/new_provider_dialog.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app/src/production/res/layout/new_provider_dialog.xml (limited to 'app/src/production/res/layout/new_provider_dialog.xml') diff --git a/app/src/production/res/layout/new_provider_dialog.xml b/app/src/production/res/layout/new_provider_dialog.xml new file mode 100644 index 00000000..36eb0d6a --- /dev/null +++ b/app/src/production/res/layout/new_provider_dialog.xml @@ -0,0 +1,18 @@ + + + + + + -- cgit v1.2.3