am cc68ce70
: Merge "Allow ECDSA signing OTA files"
* commit 'cc68ce7012784a3d2ad12e041c8e82def74f20cd': Allow ECDSA signing OTA files
This commit is contained in:
commit
b0af7e5107
1 changed files with 0 additions and 4 deletions
|
@ -858,10 +858,6 @@ class SignApk {
|
||||||
|
|
||||||
|
|
||||||
if (signWholeFile) {
|
if (signWholeFile) {
|
||||||
if (!"RSA".equalsIgnoreCase(privateKey[0].getAlgorithm())) {
|
|
||||||
System.err.println("Cannot sign OTA packages with non-RSA keys");
|
|
||||||
System.exit(1);
|
|
||||||
}
|
|
||||||
SignApk.signWholeFile(inputJar, firstPublicKeyFile,
|
SignApk.signWholeFile(inputJar, firstPublicKeyFile,
|
||||||
publicKey[0], privateKey[0], outputFile);
|
publicKey[0], privateKey[0], outputFile);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue