From b84ff0afa408e13a4097e6e9576b57ac1cb66af8 Mon Sep 17 00:00:00 2001 From: prompt.ac/@jeffrey Date: Sat, 18 Jul 2026 23:14:29 +0000 Subject: [PATCH] fix: issue code-signing certificate for Xbox package --- .github/workflows/xbox-native-latency.yml | 2 +- appveyor.yml | 4 +++- 2 file(s) changed, 4 insertion(s)(+), 2 deletion(s)(-) diff --git a/.github/workflows/xbox-native-latency.yml b/.github/workflows/xbox-native-latency.yml --- a/.github/workflows/xbox-native-latency.yml +++ b/.github/workflows/xbox-native-latency.yml @@ -30,7 +30,7 @@ Write-Asset 'Square44x44Logo.png' 44 44 Write-Asset 'Wide310x150Logo.png' 310 150 Write-Asset 'SplashScreen.png' 620 300 Write-Asset 'StoreLogo.png' 50 50 - $cert = New-SelfSignedCertificate -Type Custom -Subject 'CN=AestheticComputerDev' -KeyUsage DigitalSignature -FriendlyName 'AC Xbox CI' -CertStoreLocation 'Cert:\CurrentUser\My' + $cert = New-SelfSignedCertificate -Type Custom -Subject 'CN=AestheticComputerDev' -KeyUsage DigitalSignature -KeyExportPolicy Exportable -HashAlgorithm SHA256 -TextExtension @('2.5.29.37={text}1.3.6.1.5.5.7.3.3') -FriendlyName 'AC Xbox CI' -CertStoreLocation 'Cert:\CurrentUser\My' $password = ConvertTo-SecureString 'aesthetic-xbox-ci' -AsPlainText -Force Export-PfxCertificate -Cert $cert -FilePath (Join-Path $root 'XboxLatency_TemporaryKey.pfx') -Password $password | Out-Null - name: Build signed x64 UWP package diff --git a/appveyor.yml b/appveyor.yml --- a/appveyor.yml +++ b/appveyor.yml @@ -36,7 +36,9 @@ Write-Asset 'Wide310x150Logo.png' 310 150 Write-Asset 'SplashScreen.png' 620 300 Write-Asset 'StoreLogo.png' 50 50 $cert = New-SelfSignedCertificate -Type Custom -Subject 'CN=AestheticComputerDev' ` - -KeyUsage DigitalSignature -FriendlyName 'AC Xbox CI' -CertStoreLocation 'Cert:\CurrentUser\My' + -KeyUsage DigitalSignature -KeyExportPolicy Exportable -HashAlgorithm SHA256 ` + -TextExtension @('2.5.29.37={text}1.3.6.1.5.5.7.3.3') ` + -FriendlyName 'AC Xbox CI' -CertStoreLocation 'Cert:\CurrentUser\My' $password = ConvertTo-SecureString $env:cert_password -AsPlainText -Force Export-PfxCertificate -Cert $cert ` -FilePath (Join-Path $env:APPVEYOR_BUILD_FOLDER "$env:project_root\XboxLatency_TemporaryKey.pfx") ` -- tangled.sh