Merge "Allow ECDSA signing OTA files"
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user