free code signing? #3646
Replies: 10 comments 15 replies
-
I have zero experience with code signing myself (as I'm not a developer) but would LOVE to see if this would work or could be implemented. Due to all of the antivirus issues as of late I would like try signing my agents and agent installer to see if it would at least help. If I can do it for free even better. At the very least I'd like to start with a free option to at least try and figure out how it all works. |
Beta Was this translation helpful? Give feedback.
-
Code signing with a self-hosted or free (aka low trust) cert authority won't make the smartscreen warnings go away and that's what most people care about. Even regular paid code signing certs don't fully guarantee smartscreen trust, only EV ones do. Nonetheless; the cheapest option I could find is https://shop.certum.eu/open-source-code-signing-on-simplysign.html which actually produces a natural person certificate (says "Open Source Developer" in the Organization field and "Your Name Open Source Developer" in the Common Name field). It might be something @Ylianst can provide for everyone since it's his project. I'd be more than happy to financialy contribute / donate for such a feature. |
Beta Was this translation helpful? Give feedback.
-
Is there some guide or more detailed information about this feature? |
Beta Was this translation helpful? Give feedback.
-
for people who are using jsign on linux, there is no "/du" switch but you can use "--url" like this: |
Beta Was this translation helpful? Give feedback.
-
we codesign all the exes from meshcentral with our own certifcate from comodo - https://comodosslstore.com/codesigning.aspx BUT it would be amazing to have a feature built into the meshcentral, that if we give it a cerificate and password, it codesigns it for us before download, because every time we update the server or the exes are updated, we have to download the new exes, unsign and then resign and reupload then restart the server for it to apply |
Beta Was this translation helpful? Give feedback.
-
@Ylianst i will add my repo here as an example for you on how you could change the exe data - https://github.com/si458/changeexe |
Beta Was this translation helpful? Give feedback.
-
Funny you mention adding this feature to MeshCentral. The main problem was that there is not authenticode code signing that is purely NodeJS that could be included in MeshCentral, but in the last few days, we got that built. This tool was included in MeshCentral v1.0.28 and now, I am working on having MeshCentral auto-code sign the agent, that will be in v1.0.29. By default, a server generated code signing cert will be used, but you will have the option to use your own. Also, you will be able to enabled agent signature server locking to have the signed agent only be allowed to connect to your server. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the work on this, Ylian! I just updated to 1.0.29 and have added the "AgentSignLock" option to Settings section of my config.json. Is that all there is to force the installer to lock the agent to the server? Next, if I were to purchase an authenticode certificate, say from Comodo, what are the steps I'd need to take to get that to work with this new release so it will automatically sign the agents with that certificate? This is probably going to be a pretty important subject for MeshCentral users so good documentation on all the steps would be great. Or is it already part of the online documentation? (I, honestly, haven't looked yet). Lastly, is there any way to check/verify the agent locking is functioning? Thanks again! |
Beta Was this translation helpful? Give feedback.
-
So there seems to be a pretty big issue with upgrading to 1.0.29. After I performed that upgrade I am no longer able to connect to my MeshCentral server. I can see the MeshCentral service is running, MongoDB is running, NodeJS starts up, etc. But all web connections are refused. I just get a 'error connection timed out' message even if trying to connect from a web browser physically located on the MeshCentral server itself. Restarting the MeshCentral service seems to make no difference. At first I thought it may have been a configuration issue in my config.json when I added the agentsignlock setting. However, even when I revert back to a config.json before the edit, I see the same issue. |
Beta Was this translation helpful? Give feedback.
-
I'm really not sure if this can be used.. as I have zero experience with code-signing.
but maybe this would be a solution:
sigstore.dev
Beta Was this translation helpful? Give feedback.
All reactions