Martijn Laan
|
cc19e84037
Fix ISCC warnings and update project/build.
|
4 месяцев назад |
Martijn Laan
|
693ce5db99
Update Compil32 + comments tweak.
|
7 месяцев назад |
Martijn Laan
|
00838c94ac
Improve ISCmplr's issigverify errors to be like Setup's, with small differences.
|
8 месяцев назад |
Martijn Laan
|
4b294bdf0e
Check trust of the check E32's + more TrustFunc cleanup + fix the .issig entries added by previous commit. Todo: islzma*.exe? Also todo: add directive to disable.
|
8 месяцев назад |
Martijn Laan
|
74b6ef8c9d
Check trust of the decompression DLLs + TrustFunc cleanup. Todo: check E32's and possible islzma*.exe. Also todo: add directive to disable.
|
8 месяцев назад |
Martijn Laan
|
ad8b238d0d
Add KeepOpen parameter to TrustFunc's CheckFileTrust, as of yet unused. Also add comments.
|
8 месяцев назад |
Martijn Laan
|
88dc65dddf
Fix TrustFunc not checking ISSigVerifySignature result but not also always raising an exception. Harden the other non checking ones for this.
|
8 месяцев назад |
Martijn Laan
|
faf859c14a
Cleanup duplicate ISSig verification code.
|
9 месяцев назад |
Martijn Laan
|
b521a29344
Make TRUSTALL and older Delphi versions work again.
|
9 месяцев назад |
Martijn Laan
|
8510f80baa
Cleanup.
|
9 месяцев назад |
Martijn Laan
|
8d86c33409
Remove catch all from LoadTrustedLibrary as well. This makes it show the failure reason in error messages instead of just saying 'not trusted'.
|
10 месяцев назад |
Martijn Laan
|
43aab0ecac
Remove catch all from TrustedFileExists. Didn't do anything anyway since LoadTrustedLibrary is the only caller and it also has a catch all (at the moment).
|
10 месяцев назад |
Martijn Laan
|
84ccece758
Add and use LoadTrustedLibrary function which protects the library from changes between the trust check and the load. Also fixes a typo and improves ISCmplr/isscint error messages on trust fail.
|
10 месяцев назад |
Martijn Laan
|
aebff69e89
Fix another typo.
|
10 месяцев назад |
Martijn Laan
|
203ffa67a5
Make TrustFunc more generic since it's in Components. Can't be moved to Projects\Src instead because Components\ScintInt needs it.
|
10 месяцев назад |
Martijn Laan
|
c2ccdf4987
Move key texts into a separate file. The idea is that you could use assume-unchanged or skip-worktree on the file. Keeping it out of Git is not an option since that would complicate building from the IDE using a fresh checkout which is undesirable.
|
10 месяцев назад |
Martijn Laan
|
006bb260bf
Replace default keys with recognizable ones. ("def01"/"def02")
|
10 месяцев назад |
Martijn Laan
|
e63a37cb86
Use two keys so the prebuilt binaries don't have to be resigned. Note that a full build doesn't work yet at the moment for ISCmplr.dll and ISPP.dll: it calls ISSigTool before signtool is called, making the .issig invalid. Need to figure out a clean way to fix this.
|
10 месяцев назад |
Martijn Laan
|
ec81524172
Use ISSigFunc to check trust. Works while debugging from Delphi as well. Defining TRUSTALL would only be needed while debugging isscint.dll from VS for example.
|
10 месяцев назад |
Martijn Laan
|
78243ee56f
Use TrustedFile before loading compression DLLs + some cleanup.
|
10 месяцев назад |
Martijn Laan
|
4fd6284b27
Add TrustedFile function. Debug: always returns True, Release: checks for a signature.
|
11 месяцев назад |