Skip to content
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

Heimdall is not working on Xcode 8 #47

Open
jorystiefel opened this issue Aug 30, 2016 · 6 comments
Open

Heimdall is not working on Xcode 8 #47

jorystiefel opened this issue Aug 30, 2016 · 6 comments

Comments

@jorystiefel
Copy link
Collaborator

Heimdall is not functioning on Xcode 8. Unit tests crash. There seems to be a problem with the obtainKeyData(_ tag: String) function always returning nil.

More specifically, I think this is because SecItemCopyMatching(query as CFDictionary, &keyRef) always returns Item Not Found.

@zhao15
Copy link

zhao15 commented Sep 3, 2016

SecItemCopyMatching return = -25300, it should be caused by the query setting.

@jorystiefel
Copy link
Collaborator Author

This seems to be related to these issues:

https://forums.developer.apple.com/thread/51071
https://openradar.appspot.com/27422249

@jorystiefel
Copy link
Collaborator Author

More information: it seems the actual problem starts with SecKeyGeneratePair returning -34018 (missing entitlement). This looks like some sort of Xcode 8 or iOS 10 bug.

@henrinormak
Copy link
Owner

This seems like something that should be mentioned in the docs for Heimdall, any way to fix this? If there is, would you mind submitting a PR with a note in the README for the fix

This was referenced Sep 17, 2016
@rchatham
Copy link

Is this still consistent in the new updates? I am reproducing this as well.

@rchatham
Copy link

This looks like it could be due to malformed RSA keys.

https://forums.developer.apple.com/thread/15129

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants