Martijn Laan
|
b521a29344
Make TRUSTALL and older Delphi versions work again.
|
9 月之前 |
Martijn Laan
|
8510f80baa
Cleanup.
|
10 月之前 |
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 月之前 |