Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apk_operations: support full cert for v2+ APKs
The apksigner tool added support for printing PEM-encoded certificates in the Android T SDK. This updates apk_operations 'print-certs' command to use the new apksigner option. This allows us to support v2+ signed APKs, even if the APK was not v1-signed. This also fixes a TypeError in the App Bundle code path. Fixed: 1298280 Fixed: 1349482 Test: out/Default/bin/trichrome_webview_apk print-certs --full-cert Test: out/Default/bin/system_webview_apk print-certs --full-cert Test: out/Default/bin/monochrome_public_bundle print-certs --full-cert Test: Also tested on both "signed" & "unsigned" official builds Change-Id: I830f6c69d86106a00ab9cf240c26ed920f3c1a2a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3795225 Auto-Submit: Nate Fischer <ntfschr@chromium.org> Commit-Queue: Nate Fischer <ntfschr@chromium.org> Commit-Queue: Sam Maier <smaier@chromium.org> Reviewed-by: Sam Maier <smaier@chromium.org> Cr-Commit-Position: refs/heads/main@{#1030746}
- Loading branch information