-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PlayKeychain crashes during Minecraft startup #149
Comments
There is a nil-unwrapping problem in PlayTools, as mentioned. Additionally, there is no implementation of |
I can confirm that this issue persists in PlayTools 3.0.0. |
There is need to find default keychain flags on primary keys. |
Hey Ryu-ga, this is amazing, could you please explain how you got it working? |
We believe that the SecItem methods should work with the necessary primary keys, but Minecraft uses deficient keys and it works well in the real iOS platform and MacOS. The SecItem method in PlayChain was not working with that, so I added a default key as a replacement. |
The problem with this specific invocation is the lack of key class specification. Whether this is wrong or not is unclear in Apple's documentation, as it doesn't mention whether you have to specify it or not. If it's not wrong, then |
Did you open a PR for this commit? thx |
PlayCover 3.0.0 nightly 768
Minecraft 1.19.40. Similar behaviour with 1.17.x, 1.18.x. 1.14.x doesn't crash
dies here
PlayTools/PlayTools/MysticRunes/PlayedApple.swift
Line 114 in 4f3713b
kSecAttrKeyClass
in the dictionaryThe text was updated successfully, but these errors were encountered: