1 write to _log
Microsoft.DotNet.SignTool (1)
src\BatchSignUtil.cs (1)
44
_log
= log;
39 references to _log
Microsoft.DotNet.SignTool (39)
src\BatchSignUtil.cs (39)
56
VerifyCertificates(
_log
);
58
if (
_log
.HasLoggedErrors)
71
_log
.LogError("Error during execution of signing process.");
90
VerifyAfterSign(
_log
, file);
93
if (
_log
.HasLoggedErrors)
98
_log
.LogMessage(MessageImportance.High, "Build artifacts signed and validated.");
107
_log
.LogMessage($"Removing strong name signing from: '{fileSignInfo.FileName}'");
132
_log
.LogMessage(MessageImportance.High, $"Round {round}: Signing {filesToSign.Length} files.");
146
_log
.LogMessage(MessageImportance.Low, $"{file} {collisionIdInfo}");
165
_log
.LogMessage(MessageImportance.High, $"Round {round}: Signing {enginesToSign.Length} engines.");
174
_log
.LogMessage(MessageImportance.Normal, $"Extracting engine from {file.FullPath}");
176
workingDirectory, _signTool.WixToolsPath,
_log
))
178
_log
.LogError($"Failed to extract engine from {file.FullPath}");
193
_log
.LogError($"Failed to sign engines");
200
_log
.LogMessage(MessageImportance.Normal, $"Attaching engine {engine.Key.FileName} to {engine.Value.FullPath}");
206
_signTool.WixToolsPath,
_log
))
208
_log
.LogError($"Failed to attach engine to {engine.Value.FullPath}");
233
_log
.LogMessage(MessageImportance.High, $"Repacking {repackCount} containers.");
258
_log
.LogMessage(MessageImportance.High, $"Repacking {smallRepackList.Count} containers in parallel.");
271
_log
.LogMessage(MessageImportance.High, $"Repacking {largeRepackList.Count} large containers in serial.");
284
_log
.LogMessage($"Repacking container: '{file.FileName}'");
285
_batchData.ZipDataMap[file.FileContentKey].Repack(
_log
, _signTool.TempDir, _signTool.WixToolsPath, _signTool.TarToolPath, _signTool.PkgToolPath);
289
_log
.LogMessage($"Packing wix container: '{file.FileName}'");
290
_batchData.ZipDataMap[file.FileContentKey].Repack(
_log
, _signTool.TempDir, _signTool.WixToolsPath, _signTool.TarToolPath, _signTool.PkgToolPath);
294
_log
.LogError($"Don't know how to repack file '{file.FullPath}'");
457
_log
.LogMessage($"Updating '{dst}' with signed content");
462
_log
.LogError($"Updating '{dst}' with signed content failed: '{e.Message}'");
584
_log
.LogError($"Assembly {file.FullPath} is NOT signed properly");
588
_log
.LogMessage(MessageImportance.Low, $"Assembly {file.FullPath} is signed properly");
596
_log
.LogMessage(MessageImportance.Low, $"Skipping signature verification of {file.FullPath} on non-Linux platform.");
600
_log
.LogError($"Deb package {file.FullPath} is not signed properly.");
607
_log
.LogError($"Powershell file {file.FullPath} does not have a signature mark.");
615
foreach (var (relativeName, _, _) in ZipData.ReadEntries(
_log
, file.FullPath, _signTool.TempDir, _signTool.TarToolPath, _signTool.PkgToolPath, ignoreContent: true))
639
VerifyAfterSign(
_log
, zipPart.Value.FileSignInfo);
646
_log
.LogError($"Container {file.FullPath} does not have signature marker.");
650
_log
.LogMessage(MessageImportance.Low, $"Container {file.FullPath} has a signature marker.");
662
_log
.LogMessage($"Skipping strong-name validation for {file.FullPath}.");
668
_log
.LogError($"Assembly {file.FullPath} is not strong-name signed correctly.");
672
_log
.LogMessage(MessageImportance.Low, $"Assembly {file.FullPath} strong-name signature is valid.");