Commits

Anonymous committed cc68ce7 Merge

Merge "Allow ECDSA signing OTA files"

Comments (0)

Files changed (1)

tools/signapk/SignApk.java

 
 
             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 {