Read SUPublicEDKey from plist (like 68856e0 in 1.x)

This commit is contained in:
Jordan Rose authored and Kornel committed 2020-06-10 12:14:30 +01:00
1 parent cb12461be1
commit 2ace19e72b
1 file changed
+6 -1
+6 -1
View File
@@ -135,6 +135,11 @@
return [path rangeOfString:@"/AppTranslocation/"].location != NSNotFound;
}
- (NSString *_Nullable)publicEDKey
{
return [self objectForInfoDictionaryKey:SUPublicEDKeyKey];
}
- (NSString *_Nullable)publicDSAKey
{
// Maybe the key is just a string in the Info.plist.
@@ -163,7 +168,7 @@
- (SUPublicKeys *)publicKeys
{
return [[SUPublicKeys alloc] initWithDsa:[self publicDSAKey] ed:nil];
return [[SUPublicKeys alloc] initWithDsa:[self publicDSAKey] ed:[self publicEDKey]];
}
- (NSString * _Nullable)publicDSAKeyFileKey