Files
build/tools
Tianjie a9a50cf6e3 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
2020-07-14 17:23:07 -07:00
..
2017-10-03 13:53:13 -07:00
2018-10-16 11:50:18 -07:00
2017-10-03 13:53:13 -07:00
2020-06-30 18:44:01 +09:00
2019-09-16 16:30:35 -07:00
2019-12-17 15:12:31 -08:00