Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0294cf4b authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Merge branch '2636-u-update_to_129' into 'v1-u'

make: Use aosp test key for trichrome

See merge request !56
parents 9087c480 89ceab3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ def ExtractFingerprint(cert):
    return proc.stdout.decode('utf-8').split('=')[1].replace(':', '')

def patch_trichrome(infilename, sign_key):
    orig_certdigest = "32a2fc74d731105859e5a85df16d95f102d85b22099b8064c5d8915c61dad1e0"
    orig_certdigest = "c8a2e9bccf597c2fb6dc66bee293fc13f2fc47ec77bc6b2b0d52c11f51192ab8"
    new_certdigest = ExtractFingerprint(sign_key).lower().rstrip()

    with zipfile.ZipFile(infilename, 'r') as zin, zipfile.ZipFile(infilename + ".patched", 'w') as zout: