Fix VB 1.0 failure due to openssl output format change am: a7e7e0bbf5
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/20931268 Change-Id: I3245bc7f6f23334f5efeeef2fcedd106919747b3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
dbab538973
1 changed files with 1 additions and 1 deletions
|
@ -924,7 +924,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,))
|
||||
|
||||
|
|
Loading…
Reference in a new issue