1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Added agent time stamping when signing a Windows agent.

This commit is contained in:
Ylian Saint-Hilaire 2022-06-18 00:07:45 -07:00
parent de3d47e948
commit 18c11a344c
4 changed files with 330 additions and 279 deletions

View file

@ -486,7 +486,7 @@ function createAuthenticodeHandler(path) {
fs.closeSync(output);
// Indicate we are done
func(null);
func(null, written);
});
});
@ -1372,7 +1372,7 @@ function createAuthenticodeHandler(path) {
// Close the file
fs.closeSync(output);
func(null);
func(null, written);
}
// Save an executable without the signature
@ -1635,7 +1635,7 @@ function createAuthenticodeHandler(path) {
fs.closeSync(output);
// Indicate success
func(null);
func(null, written);
}
function writeExecutableEx(output, p7signature, written, func) {
@ -1669,7 +1669,7 @@ function createAuthenticodeHandler(path) {
fs.closeSync(output);
// Indicate success
func(null);
func(null, written);
}
// Return null if we could not open the file