Browse Source

Renewed uwp certificate (#5669)

Added new certificate with expiration set for 100 years
pull/5671/head
Felipe Wannmacher 3 years ago committed by GitHub
parent
commit
34077e775c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      .github/workflows/xbox_one.yml
  2. 10
      Packaging/xbox-one/build.bat
  3. BIN
      uwp-project/devilutionX_Certificate.pvk
  4. BIN
      uwp-project/devilutionX_TemporaryKey.pfx
  5. 5
      uwp-project/devilutionx.vcxproj

16
.github/workflows/xbox_one.yml

@ -1,15 +1,13 @@
name: Xbox One / Series
# Temporarily disabled due to https://github.com/diasurgical/devilutionX/issues/5661
on:
workflow_dispatch:
# push:
# branches:
# - master
# pull_request:
# types: [opened, synchronize]
# release:
# types: [published]
push:
branches:
- master
pull_request:
types: [opened, synchronize]
release:
types: [published]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

10
Packaging/xbox-one/build.bat

@ -1,13 +1,7 @@
call VsDevCmd.bat
cd ..\..\uwp-project
makecert /n CN=devilutionX /r /h 0 /eku "1.3.6.1.5.5.7.3.3,1.3.6.1.4.1.311.10.3.13" /sv devilutionX_Certificate.pvk devilutionX_Certificate.cert
pvk2pfx /pvk devilutionX_Certificate.pvk /spc devilutionX_Certificate.cert /pfx devilutionX_TemporaryKey.pfx
mkdir ..\build
cd ..\build
mkdir ..\..\build
cd ..\..\build
git clone https://github.com/libsdl-org/SDL.git
git -C SDL checkout c7097418711b57e786eeb464bbe366c056b19801

BIN
uwp-project/devilutionX_Certificate.pvk

Binary file not shown.

BIN
uwp-project/devilutionX_TemporaryKey.pfx

Binary file not shown.

5
uwp-project/devilutionx.vcxproj

@ -51,7 +51,6 @@
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<PackageCertificateKeyFile>devilutionX_TemporaryKey.pfx</PackageCertificateKeyFile>
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
@ -61,6 +60,8 @@
<AppxBundlePlatforms>x64</AppxBundlePlatforms>
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
<AppxPackageDir>..\build\uwp-project\AppxPackages</AppxPackageDir>
<PackageCertificateThumbprint>0D43FF406F8BFD3F3325F61908D76FBDAB01425C</PackageCertificateThumbprint>
<PackageCertificateKeyFile>devilutionX_TemporaryKey.pfx</PackageCertificateKeyFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>..\build\uwp-project\$(Configuration)\</OutDir>
@ -141,4 +142,4 @@
<Import Project="$(VSINSTALLDIR)\Common7\IDE\Extensions\Microsoft\VsGraphics\MeshContentTask.targets" />
<Import Project="$(VSINSTALLDIR)\Common7\IDE\Extensions\Microsoft\VsGraphics\ShaderGraphContentTask.targets" />
</ImportGroup>
</Project>
</Project>
Loading…
Cancel
Save