1. seandroid
  2. Untitled project
  3. build

Commits

Kenny Root  committed 01ed66d

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

  • Participants
  • Parent commits 1303aa2
  • Branches master

Comments (0)

Files changed (1)

File tools/signapk/SignApk.java

View file
 
 
             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 {