forked from openkylin/platform_build
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:
parent
1303aa28d5
commit
01ed66d2ba
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue