mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 14:53:25 +01:00
[AltServer] Fixes missing embedded certificate when using cached certificate
This commit is contained in:
@@ -287,6 +287,8 @@ private extension ALTDeviceManager
|
||||
let data = try? Data(contentsOf: certificateFileURL),
|
||||
let certificate = ALTCertificate(p12Data: data, password: previousCertificate.machineIdentifier)
|
||||
{
|
||||
// Manually set machineIdentifier so we can encrypt + embed certificate if needed.
|
||||
certificate.machineIdentifier = previousCertificate.machineIdentifier
|
||||
return completionHandler(.success(certificate))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user