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

Crash at getCertificateAtIndex #308

Closed
satenderDagar opened this issue Jul 25, 2023 · 4 comments
Closed

Crash at getCertificateAtIndex #308

satenderDagar opened this issue Jul 25, 2023 · 4 comments

Comments

@satenderDagar
Copy link

satenderDagar commented Jul 25, 2023

We are facing an crash coming from Trustkit when tried with iOS 17 Developer Beta, We have this stack trace which points to
getCertificateAtIndex method at line no 62 .
We are using 3.0.2 Trustkit version

thread #14, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x0000000000000000
frame #1: 0x00000001061ce15c TrustKitgetCertificateAtIndex(serverTrust=0x0000000106aed1c0, index=2) at pinning_utils.m:62:28 frame #2: 0x00000001061d1618 TrustKitverifyPublicKeyPin(serverTrust=0x0000000106aed1c0, serverHostname=@"******.com", knownPins=0x0000000110e98df0, hashCache=0x00000001110fb5e0) at ssl_pin_verifier.m:69:41
frame #3: 0x00000001061d8f04 TrustKit-[TSKPinningValidator evaluateTrust:forHostname:](self=0x00000001110f0830, _cmd="evaluateTrust:forHostname:", serverTrust=0x0000000106aed1c0, serverHostname=@"*******.com") at TSKPinningValidator.m:126:57 frame #4: 0x00000001061d9544 TrustKit-[TSKPinningValidator handleChallenge:completionHandler:](self=0x00000001110f0830, _cmd="handleChallenge:completionHandler:", challenge=0x0000000106ae0260, completionHandler=0x000000010567fe0c) at TSKPinningValidator.m:202:42

@zhenikk
Copy link

zhenikk commented Aug 9, 2023

@satenderDagar I have similar issue. Have you found solution for it?

@marvin6197
Copy link

I have the same problem when running my app on a physical iOS 17 device. The app runs fine in the simulator.

Is there already a solution or workaround for this?

My configuration:
Xcode 15.0 beta 6 (15A5219j)
iOS 17 developer beta 6 (21A5312c)
iPhone 12
TrustKit 3.0.2 (latest)

@gpambrozio
Copy link

Just got same issue on my project and it seems it was fixed on release 3.0.3

@EthanArbuckle
Copy link
Contributor

Fixed in v3.0.3

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

5 participants