mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Seed the RNG before signing the package.
This commit is contained in:
parent
76c54f148b
commit
4ba8a7f077
@ -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(
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user