Commit 0de4595
committed
Update cert handling and add LOCAL_DEPLOY support
- Update ModdingToolBase submodule to latest commit
- Add LOCAL_DEPLOY constant for local deployment builds
- Embed modverify-trust.cer as a resource if present
- Register trusted certs at runtime, supporting dev certs in DEBUG/LOCAL_DEPLOY
- Refactor Program.cs to use embedded cert resource name constant1 parent f09bc6c commit 0de4595
3 files changed
Lines changed: 23 additions & 1 deletion
Submodule ModdingToolBase updated 44 files
- src/AnakinApps/ApplicationBase/ApplicationBaseServiceExtensions.cs+10-7
- src/AnakinApps/ApplicationBase/Update/ApplicationBranchManager.cs+4-4
- src/AnakinApps/ApplicationBase/Update/CertificateManager.cs+109
- src/AnakinApps/ApplicationManifestCreator/AppManifestCreatorBranchManager.cs+3-10
- src/AnakinApps/ApplicationManifestCreator/Program.cs-3
- src/AnakinApps/FtpUploader/Uploader.cs+2-1
- src/Updater/AppUpdaterFramework.Manifest/Json/JsonManifestLoader.cs+37-29
- src/Updater/AppUpdaterFramework.Manifest/Json/JsonManifestServiceExtensions.cs+6-6
- src/Updater/AppUpdaterFramework.Manifest/Json/JsonManifestVerifier.cs-53
- src/Updater/AppUpdaterFramework.Manifest/Json/ManifestSignature.cs+1-1
- src/Updater/AppUpdaterFramework.Signing.Testing/ManifestVerifierTestSuiteBase.cs-149
- src/Updater/AppUpdaterFramework/LibraryInitialization.cs+7-7
- src/Updater/AppUpdaterFramework/Manifest/IManifestFetcher.cs+11
- src/Updater/AppUpdaterFramework/Manifest/IManifestLoader.cs-17
- src/Updater/AppUpdaterFramework/Manifest/IManifestLoaderProvider.cs+14
- src/Updater/AppUpdaterFramework/Manifest/ManifestFetcher.cs+136
- src/Updater/AppUpdaterFramework/Manifest/ManifestFileDownloader.cs-91
- src/Updater/AppUpdaterFramework/Manifest/ManifestLoaderBase.cs+70-30
- src/Updater/AppUpdaterFramework/Manifest/ManifestLoaderProvider.cs+13
- src/Updater/AppUpdaterFramework/Manifest/SignatureVerifyingManifestValidator.cs-27
- src/Updater/AppUpdaterFramework/Metadata/Manifest/ManifestDownloadException.cs+2-2
- src/Updater/AppUpdaterFramework/Metadata/Manifest/ManifestException.cs+2-2
- src/Updater/AppUpdaterFramework/Product/BranchManagerBase.cs+2-61
- src/Updater/AppUpdaterFramework/Product/IBranchManager.cs+2-6
- src/Updater/AppUpdaterFramework/Security/ISignatureVerifier.cs+1-4
- src/Updater/AppUpdaterFramework/Security/ManifestVerifierBase.cs-62
- src/Updater/AppUpdaterFramework/Security/NullManifestVerifier.cs-20
- src/Updater/AppUpdaterFramework/Security/ParsedSignature.cs+3-7
- src/Updater/AppUpdaterFramework/Security/SignatureVerificationFailedException.cs+2-14
- src/Updater/AppUpdaterFramework/Security/SignatureVerifier.cs+2-1
- src/Updater/AppUpdaterFramework/Security/SigningConfiguration.cs+1-2
- src/Updater/AppUpdaterFramework/Security/VerificationResult.cs+1-1
- src/Updater/AppUpdaterFramework/Updater/Internal/UpdateService.cs+3-2
- test/AnakinApps/ApplicationManifestSigner.Test/JsonManifestLoaderRoundTripTests.cs+185
- test/AnakinApps/ApplicationManifestSigner.Test/JsonManifestVerifierSuite.cs-80
- test/Updater/AppUpdaterFramework.Manifest.Test/JsonManifestLoaderTests.cs+149
- test/Updater/AppUpdaterFramework.Manifest.Test/ManifestVerifierTests.cs-81
- test/Updater/AppUpdaterFramework.Test/Configuration/ManifestDownloadConfigurationTests.cs+1-7
- test/Updater/AppUpdaterFramework.Test/Manifest/ManifestFetcherTests.cs+166
- test/Updater/AppUpdaterFramework.Test/Manifest/ManifestFileDownloaderTests.cs-63
- test/Updater/AppUpdaterFramework.Test/Manifest/ManifestLoaderBaseTests.cs+142
- test/Updater/AppUpdaterFramework.Test/Manifest/SignatureVerifyingManifestValidatorTests.cs-101
- test/Updater/AppUpdaterFramework.Test/Security/ManifestVerifierBasePolicyTests.cs-88
- test/Updater/AppUpdaterFramework.Test/Security/SignatureVerifierTests.cs-1
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
30 | 39 | | |
31 | 40 | | |
32 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
188 | 190 | | |
189 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
190 | 203 | | |
191 | 204 | | |
192 | 205 | | |
| |||
0 commit comments