+**However**, if you do not update to iOS 7.0.6 or higher and you are being actively [MitMed](https://en.wikipedia.org/wiki/Man-in-the-middle_attack), the alert dialog ([pictured above](/images/ssl_pinning.jpg)) may provide misleading information in the form of a green ✓ instead of a red ✗ with the appropriate certificate error. This is because XMPPFramework's socket library, GCDAsyncSocket, relies on Apple's faulty SSL verification routine. Fortunately the displayed SHA-1 hash will still not match, so it is especially important to check the double-check the fingerprint of any new certificate before you store it.
0 commit comments