From 95666178e57c7dd47a9354763b33aef9bdf83d94 Mon Sep 17 00:00:00 2001 From: June Date: Fri, 16 Aug 2024 15:34:57 +0900 Subject: [PATCH] Fix certificate issues --- .gitignore | 2 +- AltStore/Operations/AuthenticationOperation.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9e0fcf89..300c0a62 100644 --- a/.gitignore +++ b/.gitignore @@ -19,7 +19,7 @@ archive.xcarchive *.perspectivev3 !default.perspectivev3 xcuserdata - +AltStore.xcodeproj/project.xcworkspace/xcshareddata/swiftpm ## Other *.xccheckout *.moved-aside diff --git a/AltStore/Operations/AuthenticationOperation.swift b/AltStore/Operations/AuthenticationOperation.swift index cf69483d..8cbfed4f 100644 --- a/AltStore/Operations/AuthenticationOperation.swift +++ b/AltStore/Operations/AuthenticationOperation.swift @@ -525,7 +525,7 @@ private extension AuthenticationOperation func replaceCertificate(from certificates: [ALTCertificate]) { let ourCertificates = certificates.filter { a in - a.machineName?.starts(with: "SideStore") == true + a.machineName?.starts(with: "SideStore") == true || a.machineName?.starts(with: "AltStore") == true } if ourCertificates.isEmpty {