-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MeshCentral Agent not signed when downloaded from Web UI #6595
Comments
Where on the server are the files located that are presented in the web ui? Because, as you can see I have some custom attributes to the agent in my domain and this is for sure not the same executable (nor modified version) which can be found in the signedagents folder. So in my mind this file has to be signed at the same time as the executables in the signedagents folder or otherwise the hash would be faulty (ie if it would've been a modified copy of a signed file). |
right so the idea is to do the following.
|
Awesome, thank you! Out of office today, but I will try this out first thing tomorrow morning! |
Sorry, this didn't work. On step 4 you're mentioning that files in signedagents folder are now customised, but it doesn't appear so to me. They have the default naming convention and default text and colour scheme, which all I have made changes to in my config.json. Another weird discovery I have made is that if I sign a (unsigned, but customised) file downloaded from the web ui, it no longer is customised after having it signed. I've tried both the authenticode-js app and Microsoft's SignTool.exe with the same outcome. Could this issue perhaps be specific to to the Docker image? |
@PZan no i don't think it's Docker related |
Sorry, I'm not entirely sure you can actually call it Docker. It's an Azure Container App, so to my knowledge it's built on Kubernetes and so supports Docker-based containers. Nonetheless all the necessary mappings are there and appears to be working as expected otherwise. |
Also there's not an actual compose file, rather a set of pages where you configure the various parts of your app, if that makes sense. But basically we have configured the volumes mappings, and some Web App specific service settings to make it reverse proxy, as well as connecting to our Azure Storage Account, where the actual data reside. But I can confirm that the data persists on reboot. If I were to enable debugging, would the ARGS environment variable be "--debug" or simply "debug"? |
So I've spun up a docker compose in my local dev environment (WSL2) and it appears to have the same baviour. Here I have control of the backend and have managed do some more testing. I noticed in the root of the default docker exec working dir how there's a |
@PZan ive just setup a docker instance here and tried it here and its working without any problems? |
so after spending 2 hours battling with the stupid azure ui and getting nowhere with trying to create a VOLUME to persist the data across reboots, |
Thank your for putting the effort in. I really was not expecting you to do all this. But I must be doing something wrong then. I'm certain I followed your steps to every detail, so not sure what it could be. Unfortunately I will be out of office until Monday, but I will reach out to you on discord then. Could you please share your compose file (if that's utilized with terraform?) with me? In my local environment (with docker-compose) I followed the steps and used the example without mongodb from the docker folder in this repo. |
i didnt use any form of docker-compose file! P.S: sure reach out! my email on my github profile OR si458 on all social medias and chat platforms normally haha
|
Describe the bug
I am attempting to sign my executables with my own code signing certificate and it seems to be working partially, but the downloads presented in the MeshCentral web ui are not actually signed, except for meshcmd.exe. I'm specifically after a signed version the meshcentral agent (background agent).
I can confirm that the files within the signedagents folder are actually signed with my certificate, but these files are not customized according to agentCustomization tag for my domain (only have one).
To Reproduce
Steps to reproduce the behavior:
First
Then
Expected behavior
The downloaded executable is signed with my code signing certificate
Server Software (please complete the following information):
Client Device (please complete the following information):
Remote Device (please complete the following information):
Additional context
Add any other context about the problem here.
Your config.json file
Trying to share a dedacted copy of my config. Let me know if some essential is missing.
The text was updated successfully, but these errors were encountered: