Allow ECDSA signing OTA files

ECDSA works in the recovery verifier, so we can allow OTA updates to be
signed with EC keys.

Change-Id: If8f2be028843fbfd6c8c9c41b492605d9b5cbeb0
This commit is contained in:
Kenny Root 2013-10-09 15:00:14 -07:00
parent 1303aa28d5
commit 01ed66d2ba
1 changed files with 0 additions and 4 deletions

View File

@ -858,10 +858,6 @@ class SignApk {
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,
publicKey[0], privateKey[0], outputFile);
} else {