Skip to content

Commit

Permalink
fix certificate don't share between livecontainers
Browse files Browse the repository at this point in the history
  • Loading branch information
hugeBlack committed Sep 24, 2024
1 parent 0190b26 commit 769ad7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions LiveContainerUI/LCUtils.m
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ + (NSData *)keychainItem:(NSString *)key ofStore:(NSString *)store {
}

+ (void)setCertificateData:(NSData *)certData {
[[[NSUserDefaults alloc] initWithSuiteName:[self appGroupID]] setObject:certData forKey:@"LCCertificateData"];
[NSUserDefaults.standardUserDefaults setObject:certData forKey:@"LCCertificateData"];
}

Expand Down
2 changes: 1 addition & 1 deletion entitlements.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)com.kdt.livecontainer</string>
<string>*.com.kdt.livecontainer.shared</string>
</array>
</dict>
</plist>
3 changes: 1 addition & 2 deletions entitlements_setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
<true/>
<key>keychain-access-groups</key>
<array>
<string>group.*</string>
<string>$(AppIdentifierPrefix)com.kdt.livecontainer</string>
<string>*.com.kdt.livecontainer.shared</string>
<string>KeychainAccessGroupWillBeWrittenByLiveContainerAAAAAAAAAAAAAAAAAAAA</string>
</array>
</dict>
Expand Down

0 comments on commit 769ad7e

Please sign in to comment.