|
|
|
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
SignTool Suite v1.0.0 RSA-2048 / SHA-256 File Signing & Verification for Windows Windows Vista or later · no Certificate Authority needed · by BLACKFIRE69 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━━━━━━━━━ ▌ OVERVIEW SignTool Suite is a lightweight signing toolkit for Windows that lets you sign your own files (DLLs, EXEs, data — anything) with an RSA-2048 / SHA-256 signature and verify them on the client side — without buying a commercial code-signing certificate. You keep a private key on the signer side and distribute an encrypted public key to clients. Tamper with a signed file by a single byte and verification fails. Verification runs from a ready-made tool, or from your own application via a DLL with an Inno Setup installer. ▌ TECHNICAL SPECIFICATIONS
Components (signer side / client side): Code:
╭───────────────┬──────────────┬───────────────────────────────────────────╮ │ Component │ Type │ Role │ ├───────────────┼──────────────┼───────────────────────────────────────────┤ │ SigCore.dll │ Signing DLL │ Key generation, signing, key export │ │ SigTool.exe │ Signer CLI │ Front-end for SigCore (drag-and-drop) │ │ SigVerify.dll │ Verify DLL │ Client-side signature verification │ │ SigCheck.exe │ Verifier CLI │ Front-end for SigVerify (drag-and-drop) │ ╰───────────────┴──────────────┴───────────────────────────────────────────╯ ✦ No Certificate Authority Required Generate your own RSA-2048 key pair and start signing immediately. No annual CA fees, no enrollment, no expiring certificates. ✦ Tamper Detection Any modification to a signed file — even one byte — causes verification to return VFY_TAMPERED. Signatures are SHA-256 over the file contents, signed with the private key. ✦ Encrypted Public Key Distribution (.ekey) The public key is never shipped in the clear. It is wrapped in an .ekey blob — AES + HMAC keys derived from a password via PBKDF2-HMAC-SHA256 at 100,000 iterations. ✦ Two Ways to Verify
✦ Drag-and-Drop on Both Sides Drop files onto SigTool.exe to sign them; drop files onto SigCheck.exe (or Verify.bat) to verify them. Keys auto-generate on first use. ✦ Zero Runtime Dependencies for Verification SigVerify.dll needs nothing on the client — no OpenSSL, no VC++ runtime, no extra redistributables. ✦ Portable OpenSSL on the Signer Side Signing uses a portable OpenSSL build (openssl.exe + libssl/libcrypto) kept in an OpenSSL\ subfolder beside SigTool.exe. Nothing is installed system-wide. ✦ CI / Automation Friendly SigCheck.exe reads the password from the SIGCHECK_PW environment variable and returns meaningful process exit codes, so verification slots straight into build pipelines. ▌ SIGNER WORKFLOW Code colors: program · command · flag · input path · produced file · env / dest 1 — Generate keys (one time) Code:
SigTool.exe --init 2 — Sign a file Code:
SigTool.exe --sign "C:\Release\plugin.dll" 3 — Export the encrypted public key Code:
SigTool.exe --export-key "C:\Release\public.ekey" 4 — Distribute to clients
▌ CLIENT VERIFICATION Ready-made tool Code:
SigCheck.exe --verify "plugin.dll" SigCheck.exe --verify "plugin.dll" --key "C:\keys\public.ekey" Embedded in your own Inno Setup installer Code:
ExtractTemporaryFile('SigVerify.dll');
ExtractTemporaryFile('public.ekey');
ExtractTemporaryFile('plugin1.dll'); ExtractTemporaryFile('plugin1.dll.sig');
ExtractTemporaryFile('plugin2.dll'); ExtractTemporaryFile('plugin2.dll.sig');
// Load the public key ONCE, then verify as many files as you like.
InitRet := VFYInitialize(EKeyPath, Password);
if (InitRet = 1)
and (VFYCheckFile(DLLPath1) = VFY_OK)
and (VFYCheckFile(DLLPath2) = VFY_OK) then
{ all files authentic - proceed }
else
{ abort };
Signer side (keep private)
Client side (distribute)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━━━━━━━━━ Feedback, bug reports, and edge cases are all welcome.
Last edited by BLACKFIRE69; Today at 01:46. |
| The Following 4 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
| Sponsored Links |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Game files integrity check - XHash Library | BLACKFIRE69 | Conversion Tutorials | 25 | 21-06-2026 05:32 |
| XCOM: Ultimate Collection | mausschieber | PC Games - CD/DVD Conversions | 7 | 03-04-2024 14:11 |
| Useful Dll for Inno Setup users | peterf1999 | Conversion Tutorials | 88 | 01-12-2017 16:00 |
| air force delta | snake | DC Games | 0 | 15-04-2001 04:34 |
| air force delta | snake | DC Games | 1 | 13-04-2001 20:04 |