From 9c8f38f591261a5933fd41bcaf02f57ac541d8f6 Mon Sep 17 00:00:00 2001 From: Ragnar Rova Date: Fri, 23 Feb 2024 16:59:08 +0100 Subject: [PATCH 1/2] Allow kebne to update helper --- OpenConnectUI2/Info.plist | 2 +- ToolX/Info-Debug.plist | 2 +- ToolX/Info.plist | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenConnectUI2/Info.plist b/OpenConnectUI2/Info.plist index a16f8fc..bff7ccc 100644 --- a/OpenConnectUI2/Info.plist +++ b/OpenConnectUI2/Info.plist @@ -11,7 +11,7 @@ SMPrivilegedExecutables se.rrva.OpenConnectUI2.ToolX - anchor apple generic and identifier "se.rrva.OpenConnectUI2.ToolX" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2TLM57CUQ3") + anchor apple generic and identifier "se.rrva.OpenConnectUI2.ToolX" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and (certificate leaf[subject.OU] = "3563RJWBQP" or certificate leaf[subject.OU] = "2TLM57CUQ3")) license string Copyright © 2022 Ragnar Rova diff --git a/ToolX/Info-Debug.plist b/ToolX/Info-Debug.plist index dd25194..07493cf 100644 --- a/ToolX/Info-Debug.plist +++ b/ToolX/Info-Debug.plist @@ -12,7 +12,7 @@ 813 SMAuthorizedClients - identifier "se.rrva.OpenConnectUI2" and anchor apple generic and certificate leaf[subject.CN] = "Apple Development: Ragnar Rova (U34QC433V8)" and certificate 1[field.1.2.840.113635.100.6.2.1] /* exists */ + anchor apple generic and identifier "se.rrva.OpenConnectUI2" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and (certificate leaf[subject.OU] = "3563RJWBQP" or certificate leaf[subject.OU] = "2TLM57CUQ3")) diff --git a/ToolX/Info.plist b/ToolX/Info.plist index e1ce22e..07493cf 100644 --- a/ToolX/Info.plist +++ b/ToolX/Info.plist @@ -12,7 +12,7 @@ 813 SMAuthorizedClients - anchor apple generic and identifier "se.rrva.OpenConnectUI2" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2TLM57CUQ3") + anchor apple generic and identifier "se.rrva.OpenConnectUI2" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and (certificate leaf[subject.OU] = "3563RJWBQP" or certificate leaf[subject.OU] = "2TLM57CUQ3")) From 7dc0194e6c6f24673d428683f43adaa139da176e Mon Sep 17 00:00:00 2001 From: Ragnar Rova Date: Fri, 23 Feb 2024 17:16:04 +0100 Subject: [PATCH 2/2] Allow kebne to update helper --- OpenConnectUI2.xcodeproj/project.pbxproj | 20 +++++++++++--------- OpenConnectUI2/Info-Debug.plist | 4 ++-- OpenConnectUI2/Info.plist | 4 ++-- ToolX/Info-Debug.plist | 6 +++--- ToolX/Info.plist | 4 ++-- 5 files changed, 20 insertions(+), 18 deletions(-) diff --git a/OpenConnectUI2.xcodeproj/project.pbxproj b/OpenConnectUI2.xcodeproj/project.pbxproj index 7a5a3ad..41d8735 100644 --- a/OpenConnectUI2.xcodeproj/project.pbxproj +++ b/OpenConnectUI2.xcodeproj/project.pbxproj @@ -185,10 +185,10 @@ 171023C827C813D800EAC415 /* LicenseView.swift */, 176CF4E9279D79B400604C6C /* LineReader.swift */, 17AFD3CB279B005400A1315A /* ToolXClient.swift */, + 176CF4E6279D6BD300604C6C /* passwords.swift */, 17B30B3527C70EE100E8818E /* ToolXProtocol.swift */, 17B30B2F27C709A600E8818E /* WindowController.swift */, 176CF4E1279C5CA800604C6C /* installHelper.swift */, - 176CF4E6279D6BD300604C6C /* passwords.swift */, 17C337A127A5E344005A497D /* Updater.swift */, 17A827B2279F47BD0000F96B /* Info-Debug.plist */, 17B30B3127C70ABA00E8818E /* animateStatusbar.swift */, @@ -372,9 +372,9 @@ CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO; CODE_SIGN_STYLE = Automatic; CREATE_INFOPLIST_SECTION_IN_BINARY = YES; - CURRENT_PROJECT_VERSION = 813; + CURRENT_PROJECT_VERSION = 814; DEAD_CODE_STRIPPING = YES; - DEVELOPMENT_TEAM = 2TLM57CUQ3; + DEVELOPMENT_TEAM = 3563RJWBQP; ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = "ToolX/Info-Debug.plist"; MACOSX_DEPLOYMENT_TARGET = 11; @@ -406,9 +406,9 @@ CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO; CODE_SIGN_STYLE = Automatic; CREATE_INFOPLIST_SECTION_IN_BINARY = YES; - CURRENT_PROJECT_VERSION = 813; + CURRENT_PROJECT_VERSION = 814; DEAD_CODE_STRIPPING = YES; - DEVELOPMENT_TEAM = 2TLM57CUQ3; + DEVELOPMENT_TEAM = 3563RJWBQP; ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = ToolX/Info.plist; MACOSX_DEPLOYMENT_TARGET = 11; @@ -558,11 +558,12 @@ CODE_SIGN_ALLOW_ENTITLEMENTS_MODIFICATION = YES; CODE_SIGN_ENTITLEMENTS = OpenConnectUI2/OpenConnectUI2.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 813; + CURRENT_PROJECT_VERSION = 814; DEAD_CODE_STRIPPING = YES; - DEVELOPMENT_TEAM = 2TLM57CUQ3; + DEVELOPMENT_TEAM = 3563RJWBQP; ENABLE_HARDENED_RUNTIME = YES; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = "OpenConnectUI2/Info-Debug.plist"; @@ -592,11 +593,12 @@ CODE_SIGN_ALLOW_ENTITLEMENTS_MODIFICATION = YES; CODE_SIGN_ENTITLEMENTS = OpenConnectUI2/OpenConnectUI2.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 813; + CURRENT_PROJECT_VERSION = 814; DEAD_CODE_STRIPPING = YES; - DEVELOPMENT_TEAM = 2TLM57CUQ3; + DEVELOPMENT_TEAM = 3563RJWBQP; ENABLE_HARDENED_RUNTIME = YES; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = OpenConnectUI2/Info.plist; diff --git a/OpenConnectUI2/Info-Debug.plist b/OpenConnectUI2/Info-Debug.plist index 4e132bb..75b0355 100644 --- a/OpenConnectUI2/Info-Debug.plist +++ b/OpenConnectUI2/Info-Debug.plist @@ -3,9 +3,9 @@ CFBundleShortVersionString - "1.813" + "1.814" CFBundleVersion - 813 + 814 LSUIElement SMPrivilegedExecutables diff --git a/OpenConnectUI2/Info.plist b/OpenConnectUI2/Info.plist index bff7ccc..a541f1e 100644 --- a/OpenConnectUI2/Info.plist +++ b/OpenConnectUI2/Info.plist @@ -3,9 +3,9 @@ CFBundleShortVersionString - "1.813" + "1.814" CFBundleVersion - 813 + 814 LSUIElement SMPrivilegedExecutables diff --git a/ToolX/Info-Debug.plist b/ToolX/Info-Debug.plist index 07493cf..a81e4fa 100644 --- a/ToolX/Info-Debug.plist +++ b/ToolX/Info-Debug.plist @@ -7,12 +7,12 @@ CFBundleName ToolX CFBundleShortVersionString - "1.813" + "1.814" CFBundleVersion - 813 + 814 SMAuthorizedClients - anchor apple generic and identifier "se.rrva.OpenConnectUI2" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and (certificate leaf[subject.OU] = "3563RJWBQP" or certificate leaf[subject.OU] = "2TLM57CUQ3")) + identifier "se.rrva.OpenConnectUI2" and anchor apple generic and (certificate leaf[subject.CN] = "Apple Development: Ragnar Rova (U34QC433V8)" or certificate leaf[subject.CN] = "Apple Development: Kebne AB (2TLM57CUQ3)") and certificate 1[field.1.2.840.113635.100.6.2.1] /* exists */ diff --git a/ToolX/Info.plist b/ToolX/Info.plist index 07493cf..4425672 100644 --- a/ToolX/Info.plist +++ b/ToolX/Info.plist @@ -7,9 +7,9 @@ CFBundleName ToolX CFBundleShortVersionString - "1.813" + "1.814" CFBundleVersion - 813 + 814 SMAuthorizedClients anchor apple generic and identifier "se.rrva.OpenConnectUI2" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and (certificate leaf[subject.OU] = "3563RJWBQP" or certificate leaf[subject.OU] = "2TLM57CUQ3"))