superzanti / ServerSync

Sync files between client and server for Minecraft Forge
GNU General Public License v3.0
160 stars 26 forks source link

Windows requires a valid application signature in order to not block exe. #154

Open P3rf3ctXZer0 opened 4 years ago

P3rf3ctXZer0 commented 4 years ago

Serversync Version: 3.1.0

Minecraft Version: 1.15.2

Issue:

Windows goes out of its way to block exe requires a valid signature to run without fail.

s2fav7C

8kNl6Do

P3rf3ctXZer0 commented 4 years ago

Once a user unblocks the exe it works like normal and some systems to properly get files you have to do this! CAqF48W

P3rf3ctXZer0 commented 4 years ago

Otherwise the application works without fail.

P3rf3ctXZer0 commented 4 years ago

I will need a bit more time to mass test.

rheimus commented 4 years ago

To get windows to accept an application it needs to be signed with a certificate from a recognized certificate authority. All of which are paid and rather outside the budget of what I can afford to put into SS currently.

The general idea: https://www.digicert.com/code-signing/

There are cheaper options but they would most likely not get you past Microsofts filters.

rheimus commented 4 years ago

I'll have a look into the run as admin, should not be required unless the directory it is trying to write files to is admin protected.

P3rf3ctXZer0 commented 4 years ago

Windows now makes any file a user has a share to with an admin account admin protected. This is because theieves use to forge permissions. There is no way to circumvent it. I will look into finding a way to provide a valid signature and I will put some finances into fixing it as well.

P3rf3ctXZer0 commented 4 years ago

nevermind I cannot drop 400 dollars right now @.@

rheimus commented 4 years ago

Thanks again for the testing 👍, is super useful.

rheimus commented 4 years ago

Windows has a code signing tool, as does java. The signing itself is the easy part really, the certificate is the difficult part when you are not running a software company.