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

Commit 79344c36 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Allow passing in payload signer for ota signing."

parents 3cb8cbd4 968b961f
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -969,8 +969,10 @@ def GenerateAbOtaPackage(target_file, output_file, source_file=None):
  )
  )


  # Sign the payload.
  # Sign the payload.
  pw = OPTIONS.key_passwords[OPTIONS.package_key]
  payload_signer = PayloadSigner(
  payload_signer = PayloadSigner(
      OPTIONS.package_key, OPTIONS.private_key_suffix)
      OPTIONS.package_key, OPTIONS.private_key_suffix,
      pw, OPTIONS.payload_signer)
  payload.Sign(payload_signer)
  payload.Sign(payload_signer)


  # Write the payload into output zip.
  # Write the payload into output zip.