Skip to content

Fix client side signature verification on Linux - #15

Merged
majorsilence merged 1 commit into
TownSuite:mainfrom
majorsilence:main
Jul 15, 2026
Merged

Fix client side signature verification on Linux#15
majorsilence merged 1 commit into
TownSuite:mainfrom
majorsilence:main

Conversation

@majorsilence

Copy link
Copy Markdown
Member

Detect embedded Authenticode signatures by reading the PE certificate table and decoding it with SignedCms instead of relying on the Windows-only X509Certificate2 path, which always reported files as unsigned on Linux. Non-PE containers (msi/cab/msix/appx) still fall back to X509Certificate2 on Windows.

Add a Linux sign-and-verify stage to the Jenkins pipeline mirroring the Windows flow, re-packing the Service zips with the signed dlls.

Detect embedded Authenticode signatures by reading the PE certificate
table and decoding it with SignedCms instead of relying on the
Windows-only X509Certificate2 path, which always reported files as
unsigned on Linux. Non-PE containers (msi/cab/msix/appx) still fall
back to X509Certificate2 on Windows.

Add a Linux sign-and-verify stage to the Jenkins pipeline mirroring the
Windows flow, re-packing the Service zips with the signed dlls.
@majorsilence
majorsilence merged commit 0b6c98f into TownSuite:main Jul 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants