10 references to RunBashCommand
Microsoft.DotNet.SignCheckLibrary (10)
Utils.cs (1)
216(int exitCode, _, string error) = RunBashCommand($"gpg --import {keyPath}");
Verification\DebVerifier.cs (1)
31Utils.RunBashCommand($"cat {debianBinary} {controlTar} {dataTar} > {signableContent}");
Verification\LinuxPackageVerifier.cs (2)
51(int exitCode, string output, string error) = Utils.RunBashCommand($"gpg --verify --status-fd 1 {signatureDocument} {signableContent}"); 87(_, string keyInfo, _) = Utils.RunBashCommand($"gpg --list-keys --with-colons {keyId} | grep '^pub:'");
Verification\MachOVerifier.cs (6)
63(int signExitCode, string signOutput, string signError) = Utils.RunBashCommand($"codesign --verify --verbose {svr.FullPath}"); 74(int authExitCode, string authOutput, string authError) = Utils.RunBashCommand($"codesign -dvvv {svr.FullPath}"); 137(_, string output, string error) = Utils.RunBashCommand($"codesign -dvv --verbose=4 {svr.FullPath}"); 154Utils.RunBashCommand($"codesign -d --extract-certificates {svr.FullPath}", tempDir); 161Utils.RunBashCommand($"openssl x509 -inform DER -in \"{cert}\" -out \"{pemFileName}\"", tempDir); 164(_, string output, string error) = Utils.RunBashCommand($"openssl x509 -in \"{pemFileName}\" -noout -text", tempDir);