diff options
Diffstat (limited to 'python/servo')
-rw-r--r-- | python/servo/package_commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py index 886b52b20f6..9564e793b8c 100644 --- a/python/servo/package_commands.py +++ b/python/servo/package_commands.py @@ -794,12 +794,12 @@ def setup_uwp_signing(ms_app_store, publisher): pfx = None if is_tc: print("Packaging on TC. Using secret certificate") - pfx = get_taskcluster_secret("windows-codesign-cert/latest")["pfx"] + pfx = get_taskcluster_secret("windows-codesign-cert/latest")["pfx"]["base64"] elif 'CODESIGN_CERT' in os.environ: pfx = os.environ['CODESIGN_CERT'] if pfx: - open("servo.pfx", "wb").write(base64.b64decode(pfx["base64"])) + open("servo.pfx", "wb").write(base64.b64decode(pfx)) run_powershell_cmd('Import-PfxCertificate -FilePath .\\servo.pfx -CertStoreLocation Cert:\\CurrentUser\\My') os.remove("servo.pfx") |