datatheorem / TrustKit

Easy SSL pinning validation and reporting for iOS, macOS, tvOS and watchOS.
MIT License
2.01k stars 362 forks source link

TrustKit.sharedInstance().pinningValidator.handle(challenge, completionHandler: completionHandler) #255

Open Ramprasathselvam opened 3 years ago

Ramprasathselvam commented 3 years ago

TrustKit.sharedInstance().pinningValidator.handle(challenge, completionHandler: completionHandler)

Always return false configured & unconfigured all domains are successful. Already enabled kTSKEnforcePinning = true

anishtr4 commented 3 years ago

also facing the same issue with React native . @Ramprasathselvam did you got any work around ?

Ramprasathselvam commented 3 years ago

Hi @anishtr4 As of now I didn't get any solution.

anishtr4 commented 3 years ago

@Ramprasathselvam , the pinning validator wont look /validate the unpinned domain. Trustkit only validate the request which are being made to the pinned domain to verify whether the provided public-key is valid for the pinned domain.

@nabla-c0d3 can you please confirm this then i think you can close this ticket as well.