Files
OpenCellular/scripts
Victor Hsieh 392211f035 Update Android signing to support signature scheme v2
Signature Scheme V2 was introduced in N.

TEST=(prepare)
     1. Produce A.img by running the original sign_android_image.sh on a
        test image.
     2. Produce B.img by running the new sign_android_image.sh on the
        same image.
TEST=Check Settings.apk with apksigner.  Saw only v1 signature exists
     with A.img, and only v2 exists with B.img, as expected.
     Certificates on both APKs have the same fingerprint.
TEST=Login with A to create a new /data state, then login with B.
     Platform apps still run.  No signature error in logcat.
BRANCH=none
BUG=b:67942659

Change-Id: Ibabc399563bfdc92836856a377997405cc660483
Reviewed-on: https://chromium-review.googlesource.com/993153
Commit-Ready: Victor Hsieh <victorhsieh@chromium.org>
Tested-by: Victor Hsieh <victorhsieh@chromium.org>
Reviewed-by: Bernie Thompson <bhthompson@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
2018-04-23 13:07:25 -07:00
..
2015-03-13 07:04:19 +00:00
2012-04-11 15:44:10 -07:00