It seems that -signcheck option, while mentioned in help messages, doesn't work.
Steps to reproduce:
- download Windows 64-bit binary
- run
meshagent64-Other.exe -signcheck
Expected result:
some message about check failing or passing
Actual result
help message as if command was invalid.
Here's detailed output:
C:\Users\User\Downloads> .\meshagent64-Other.exe -info
Compiled on: 16:51:43, Feb 15 2026
Commit Hash: 62b206e0b485b296e8a73a6547cef02bbf5a2d62
Commit Date: 2026-Feb-15 16:43:44-0800
Using OpenSSL 1.1.1s 1 Nov 2022
Agent ARCHID: 4
Detected OS: Microsoft Windows 11 Business - 25H2/26200 - x64
C:\Users\User\Downloads> .\meshagent64-Other.exe -signcheck
Mesh Agent available switches:
run Start as a console agent.
connect Start as a temporary console agent.
start Start the service.
restart Restart the service.
stop Stop the service.
state Display the running state of the service.
-signcheck Perform self - check.
-install Install the service from this location.
-uninstall Remove the service from this location.
-nodeid Return the current agent identifier.
-info Return agent version information.
-resetnodeid Reset the NodeID next time the service is started.
-fulluninstall Stop agent and clean up the program files location.
-fullinstall Copy agent into program files, install and launch.
The following switches can be specified after -fullinstall:
--WebProxy="http://proxyhost:port" Specify an HTTPS proxy.
--agentName="alternate name" Specify an alternate name to be provided by the agent.
Notes:
I noticed that in
|
if (argc > 1 && strcmp(argv[1], "-export") == 0 && integragedJavaScriptLen == 0) |
all the options like
-nodeid are handled, but there is no
-signcheck. I found also that there is function
signcheck_verifysign in header file and its implementation, but it seems to be never called. But I'm no C developer, but it seems like it's only a matter of handling this option
It seems that
-signcheckoption, while mentioned in help messages, doesn't work.Steps to reproduce:
meshagent64-Other.exe -signcheckExpected result:
some message about check failing or passing
Actual result
help message as if command was invalid.
Here's detailed output:
Notes:
I noticed that in
MeshAgent/meshservice/ServiceMain.c
Line 593 in 542d57b
-nodeidare handled, but there is no-signcheck. I found also that there is functionsigncheck_verifysignin header file and its implementation, but it seems to be never called. But I'm no C developer, but it seems like it's only a matter of handling this option