SkillAgentSearch skills...

PublicKeyPinning

Example of implementing public key TLS pinning with Alamofire

Install / Use

/learn @mehrankmlf/PublicKeyPinning
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

PublicKeyPinning

This is an example implementation of TLS/SSL public key pinning for iOS, using Alamofire. When a client connects to a server over SSL/TLS, the server provides a certificate. That certificate contains a public key. In this example we extract the public key and compare it against a local copy. If the server public key does not match expectations, Alamofire does not trust it and will not connect to the remote server.

Libraries

  • Alamofire

Related Skills

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated10mo ago
Forks0

Languages

Swift

Security Score

82/100

Audited on Jun 1, 2025

No findings