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

Commit 183fb0df authored by Kelvin Zhang's avatar Kelvin Zhang Committed by Automerger Merge Worker
Browse files

Fix VB 1.0 failure due to openssl output format change am: a7e7e0bb am: dbab5389 am: 96c6d382

parents e5bd30dd 96c6d382
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -948,7 +948,7 @@ def ReplaceVerityKeyId(input_zip, output_zip, key_path):
    keyid, stderr = p.communicate()
    assert p.returncode == 0, "Failed to dump certificate: {}".format(stderr)
    keyid = re.search(
        r'keyid:([0-9a-fA-F:]*)', keyid).group(1).replace(':', '').lower()
            r'Authority Key Identifier:\s*(?:keyid:)?([0-9a-fA-F:]*)', keyid).group(1).replace(':', '').lower()
    print("Replacing verity keyid with {}".format(keyid))
    out_buffer.append("veritykeyid=id:%s" % (keyid,))