61 references to FullPath
Microsoft.DotNet.SignTool (61)
src\BatchSignUtil.cs (32)
106_signTool.RemovePublicSign(fileSignInfo.FullPath); 119var toRepackSet = _batchData.FilesToSign.Where(x => x.ShouldRepack)?.Select(x => x.FullPath)?.ToHashSet(); 155Path.GetExtension(fileInfo.FullPath) == ".exe").ToArray(); 171_log.LogMessage(MessageImportance.Normal, $"Extracting engine from {file.FullPath}"); 172if (!RunWixTool("insignia.exe", $"-ib {file.FullPath} -o {engineFileName}", 175_log.LogError($"Failed to extract engine from {file.FullPath}"); 197_log.LogMessage(MessageImportance.Normal, $"Attaching engine {engine.Key.FileName} to {engine.Value.FullPath}"); 202$"-ab {engine.Key.FileName} {engine.Value.FullPath} -o {engine.Value.FullPath}", workingDirectory, 205_log.LogError($"Failed to attach engine to {engine.Value.FullPath}"); 222var repackList = files.Where(w => toRepackSet.Contains(w.FullPath)).ToList(); 244FileInfo fileInfo = new FileInfo(file.FullPath); 260toRepackSet.Remove(file.FullPath); 273toRepackSet.Remove(file.FullPath); 291_log.LogError($"Don't know how to repack file '{file.FullPath}'"); 303trackedSet.Contains(x.FileSignInfo.FileContentKey)) && !toRepackSet.Contains(x.FileSignInfo.FullPath) 473foreach (var fileName in _batchData.FilesToSign.OrderBy(x => x.FullPath)) 553using (var stream = File.OpenRead(file.FullPath)) 557_log.LogError($"Assembly {file.FullPath} is NOT signed properly"); 561_log.LogMessage(MessageImportance.Low, $"Assembly {file.FullPath} is signed properly"); 569_log.LogMessage(MessageImportance.Low, $"Skipping signature verification of {file.FullPath} on non-Linux platform."); 571else if (!_signTool.VerifySignedDeb(log, file.FullPath)) 573_log.LogError($"Deb package {file.FullPath} is not signed properly."); 578if (!_signTool.VerifySignedPowerShellFile(file.FullPath)) 580_log.LogError($"Powershell file {file.FullPath} does not have a signature mark."); 588foreach (var (relativeName, _, _) in ZipData.ReadEntries(file.FullPath, _signTool.TempDir, _signTool.TarToolPath, ignoreContent: true)) 615_log.LogError($"Container {file.FullPath} does not have signature marker."); 619_log.LogMessage(MessageImportance.Low, $"Container {file.FullPath} has a signature marker."); 631_log.LogMessage($"Skipping strong-name validation for {file.FullPath}."); 635if (file.IsManaged() && !file.IsCrossgened() && !_signTool.VerifyStrongNameSign(file.FullPath)) 637_log.LogError($"Assembly {file.FullPath} is not strong-name signed correctly."); 641_log.LogMessage(MessageImportance.Low, $"Assembly {file.FullPath} strong-name signature is valid.");
src\Configuration.cs (3)
215_filesToCopy.Add(new KeyValuePair<string, string>(existingSignInfo.FullPath, file.FullPath)); 230_log.LogMessage($"Trying to gather data for wix container {fileSignInfo.FullPath}"); 675string archivePath = zipFileSignInfo.FullPath;
src\FileSignInfo.cs (2)
69internal bool IsManaged() => ContentUtil.IsManaged(FullPath); 71internal bool IsCrossgened() => ContentUtil.IsCrossgened(FullPath);
src\SignTool.cs (7)
92File.Copy(item.FullPath, Path.Combine(osxFilesZippingDir, item.FileName), overwrite: true); 101File.Copy(Path.Combine(osxFilesZippingDir, item.FileName), item.FullPath, overwrite: true); 130AppendLine(builder, depth: 2, text: $@"<FilesToSign Include=""{Uri.EscapeDataString(fileToSign.FullPath)}"">"); 192_log.LogError($"Found file that needs to be strong-name sign ({file.FullPath}), but path to 'sn.exe' wasn't specified."); 196_log.LogMessage($"Strong-name signing {file.FullPath} locally."); 202Arguments = $@"-R ""{file.FullPath}"" ""{file.SignInfo.StrongName}""", 211_log.LogError($"Failed to strong-name sign file {file.FullPath}");
src\ZipData.cs (17)
165using (var zipStream = File.Open(FileSignInfo.FullPath, FileMode.Open)) 174log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativeName}"); 178using (var signedStream = File.OpenRead(signedPart.Value.FileSignInfo.FullPath)) 181log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {FileSignInfo.FullPath} -> {relativeName}."); 218log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativeName}"); 221log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {file}."); 222File.Copy(signedPart.Value.FileSignInfo.FullPath, file, true); 227log.LogError($"Packaging of wix file '{FileSignInfo.FullPath}' failed"); 237log.LogMessage($"Created wix file {outputFileName}, replacing '{FileSignInfo.FullPath}' with '{outputFileName}'"); 238File.Copy(outputFileName, FileSignInfo.FullPath, true); 335foreach (var entry in ReadTarGZipEntries(FileSignInfo.FullPath)) 343log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativeName}"); 347using var signedStream = File.OpenRead(signedPart.Value.FileSignInfo.FullPath); 348log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {FileSignInfo.FullPath} -> {relativeName}."); 361using var outputFile = File.Open(FileSignInfo.FullPath, FileMode.Truncate, FileAccess.Write);