From b091a130fb574bcd51cfef66ded55694ad7d1ce9 Mon Sep 17 00:00:00 2001 From: develar Date: Thu, 9 Jun 2016 10:13:43 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20mas=20target=20=E2=80=94=20Identity=20na?= =?UTF-8?q?me=20is=20specified,=20but=20no=20valid=20identity=20with=20thi?= =?UTF-8?q?s=20name=20in=20the=20keychain?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #479 --- src/codeSign.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/codeSign.ts b/src/codeSign.ts index 0f18fbfe14e..a70a25e5458 100644 --- a/src/codeSign.ts +++ b/src/codeSign.ts @@ -161,7 +161,8 @@ export let findIdentityRawResult: Promise | null = null export async function findIdentity(namePrefix: CertType, qualifier?: string): Promise { if (findIdentityRawResult == null) { - findIdentityRawResult = exec("security", ["find-identity", "-v", "-p", "codesigning"]) + // -p codesigning must be not specified - installer identities is not listed if specified + findIdentityRawResult = exec("security", ["find-identity", "-v"]) } const lines = (await findIdentityRawResult).trim().split("\n")