diefferson / http_certificate_pinning

Https Certificate pinning for Flutter
Apache License 2.0
84 stars 76 forks source link

Fix for concurrent requests on iOS with different fingerprints #65

Open MaikelStuivenberg opened 6 months ago

MaikelStuivenberg commented 6 months ago

When executing requests at the same time with different hostnames/fingerprints, the current version of the plugin will mix up the fingerprints as they are saved on class level. That results sometimes in unexpected certificate errors.

With this bugfix I changed the behaviour so that always the original fingerprint is used.