Support verifying .flx signatures when updating.

Adds a step to the updater to verify that the new .flx package is signed and
untampered.

Each .flx contains a signed manifest file. The manifest contains a SHA-256 hash
of the .flx contents. See bundle.dart for a description of the new .flx format.
This commit is contained in:
Matt Perry
2015-10-19 16:39:02 -04:00
parent 88bcfa2d79
commit dff3fa7e46
8 changed files with 209 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
name: fitness
version: 0.0.1
update_url: http://localhost:9888/examples/fitness/
update-url: http://localhost:9888/examples/fitness/
material-design-icons:
- name: action/assessment
- name: action/help

View File

@@ -1,3 +1,6 @@
name: stocks
version: 0.0.2
update-url: http://localhost:9888/examples/stocks/
material-design-icons:
- name: action/account_balance
- name: action/assessment