Remove unlock
MODIFY
WalletWasabi.Packager/MacSignTools.cs
WalletWasabi.Packager/MacSignTools.cs
@@ -128,8 +128,6 @@ namespace WalletWasabi.Packager
Console.WriteLine("Signing the files in app.");
- UnlockKeychain();
-
IoHelpers.EnsureDirectoryExists(appResPath);
IoHelpers.EnsureDirectoryExists(appMacOsPath);
@@ -260,8 +258,6 @@ namespace WalletWasabi.Packager
Console.WriteLine("Phase: signing the dmg file.");
- UnlockKeychain();
-
SignFile($"{signArguments} --entitlements \"{entitlementsPath}\" \"{dmgFilePath}\"", dmgPath);
Console.WriteLine("Phase: verifying the signature.");
@@ -401,16 +397,6 @@ namespace WalletWasabi.Packager
IoHelpers.TryDeleteDirectoryAsync(path).GetAwaiter().GetResult();
}
- private static void UnlockKeychain()
- {
- using var process = Process.Start(new ProcessStartInfo
- {
- FileName = "security",
- Arguments = $"unlock-keychain -p \"mysecretpassword\" build.keychain",
- });
- process.WaitForExit();
- }
-
private static void SignFile(string arguments, string workingDir)
{
using var process = Process.Start(new ProcessStartInfo

Remove unlock