summaryrefslogtreecommitdiff
path: root/tools/warn/java_warn_patterns.py
diff options
context:
space:
mode:
author Kelvin Zhang <zhangkelvin@google.com> 2021-02-08 20:11:49 -0500
committer Kelvin Zhang <zhangkelvin@google.com> 2021-02-11 19:06:09 -0500
commiteb586efe6f4ee5ccac2f8eba8ca5cd2d1b112bbc (patch)
treee2c6d96cbb783ef8c29a128b4d9d1878bec977e8 /tools/warn/java_warn_patterns.py
parent80ff46678055f82fa3000b8b5863c84f04be26f4 (diff)
Check for existence of private key before generating OTA
At the end of OTA generation, we will use some private key to sign the OTA payload. Since signing happens after the payload is being generated, if caller passes an incorrect key path, caller won't notice it until 1 hour later when delta_generator finishes. At which point caller has to staart from scratch, pass in another key path, and wait for an hour. Let's detect incorrect key path before calling delta_generator, so caller will get an error message right at beginning. Test: th Change-Id: Iefb1e0a9ed86f82664be1675afb84c020ec28fe7
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions