Commit 4ba8a7f0 authored by Matt Perry's avatar Matt Perry

Seed the RNG before signing the package.

parent 76c54f14
......@@ -182,6 +182,8 @@ class BuildCommand extends FlutterCommand {
archive.addFile(file);
}
await CipherParameters.get().seedRandom();
AsymmetricKeyPair keyPair = keyPairFromPrivateKeyFileSync(privateKeyPath);
Uint8List zipBytes = new Uint8List.fromList(new ZipEncoder().encode(archive));
Bundle bundle = new Bundle.fromContent(
......
name: sky_tools
version: 0.0.35
version: 0.0.36
description: Tools for building Flutter applications
homepage: http://flutter.io
author: Flutter Authors <flutter-dev@googlegroups.com>
......@@ -11,7 +11,7 @@ dependencies:
analyzer: ">=0.26.1+17" # see note below
archive: ^1.0.20
args: ^0.13.0
flx: ">=0.0.5 <0.1.0"
flx: ">=0.0.7 <0.1.0"
crypto: ^0.9.1
mustache4dart: ^1.0.0
path: ^1.3.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment