You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.
I just discovered that one possible cause is when you have sha-256 CodeDirectory blobs. In the codesig.py, at ApplicationSlot.get_hash() you have a hardcoded 000 of lenght 20, which is incorrect for sha-256, which is 32. length should depend on the hashing algorithm
I just discovered that one possible cause is when you have sha-256 CodeDirectory blobs. In the codesig.py, at ApplicationSlot.get_hash() you have a hardcoded 000 of lenght 20, which is incorrect for sha-256, which is 32. length should depend on the hashing algorithm
return '\x00' * (20 if hash_algorithm == 'sha1' else 32)
But also, this can be because the new entitlements blob is not handled correctly, I went past that. Check if the version of CodeDirectory is 20500.
You can check my fork and see if you still got the error. Sadly, while the error is gone in my case, the resulted IPA does not install on the device, so it is still work in progress
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I always get the error "construct.core.FieldError: expected 32, found 20" What sholud i do ?
The text was updated successfully, but these errors were encountered: