datatheorem / TrustKit

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

exception handled in getAsn1HeaderBytes and getAsn1HeaderSize methods… #189

Closed Dimple-R closed 5 years ago

Dimple-R commented 5 years ago

… to avoid crash i.e Tried to generate the SPKI hash for an unsupported key algorithm

nabla-c0d3 commented 5 years ago

Hello, The exception is actually meant to crash TrusKit as if the SPKI hash cannot be generated, then TrustKit cannot do any of its work/validation. Can you send me the domain that is causing this crash?