summaryrefslogtreecommitdiff
path: root/tools/extract_kernel.py
diff options
context:
space:
mode:
authorTianjie <xunchang@google.com>2020-07-14 16:36:53 -0700
committerTianjie <xunchang@google.com>2020-07-14 17:23:07 -0700
commita9a50cf6e37dbcd73bfed3759e2848cc064af454 (patch)
tree163ebcd83e073b76d355c05048c817e62f2f82a0 /tools/extract_kernel.py
parentce637304a008a63266ee1a07a672137e452275d1 (diff)
Use apksigner in check_target_files_signatures
Some apk files, e.g. Chrome.apk has switched to use v2+ scheme. And the apk file no longer has a META-INF/CERT.RSA. So, the signature parsing script should use apksigner to dump the cert info. Leave the parsing of META-INF/CERT.RSA as a fallback, as some apks fail the `apksigner verify`. The script also switches to store the digest of the cert instead of the raw bytes. Bug: 157735036 Test: run check_target_files_signatures on aosp|signed target-files Change-Id: I910cd1aa91d1e446bef7097871af4171c285685d
Diffstat (limited to 'tools/extract_kernel.py')
0 files changed, 0 insertions, 0 deletions