# datatheorem/TrustKit

Easy SSL pinning validation and reporting for iOS, macOS, tvOS and watchOS.

Repository: https://github.com/datatheorem/TrustKit
Canonical: https://ross.abutalabs.com/products/trustkit
Language: Objective-C
License: MIT
License Family: permissive
Topics: objective-c, ssl, ssl-pinning, ios, macos, tvos, ssl-reporting
Last push: 2026-08-12T22:04:54+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 40, longevity 100
- inputs: {"age_days": 4223, "days_push": 21, "days_rel": 455, "gap_med": 8, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2138, forks 381 (observed 2026-08-28T04:06:18.188034+00:00)

## What it is
TrustKit is an open-source Objective-C framework that simplifies deploying SSL public key pinning and reporting in iOS, macOS, tvOS, and watchOS apps. It supports both Swift and Objective-C, pins the certificate's Subject Public Key Info, and can report pinning validation failures to a server.

## Use cases
- add ssl pinning to an ios app
- validate server certificates against pinned public keys on macos
- report ssl pinning validation failures to a backend
- enforce certificate pinning without modifying app source code
- configure an hpkp-style pinning policy in info.plist
- secure https connections in a tvos or watchos app

## When to choose
- you need SSL public key pinning in an Apple-platform app with minimal code changes
- you want automatic pinning via NSURLConnection/NSURLSession delegate swizzling
- you need server-side reporting of pinning validation failures
- you support both Swift and Objective-C codebases

## When to avoid
- you need SSL pinning on Android (use TrustKit-Android instead)
- your app targets iOS versions older than 12 or macOS older than 10.13
- you need pinning for non-Apple platforms or non-HTTP networking stacks

## Facets
- artifact type: library
- maturity: active
- function: security, cryptography, middleware
- domain: security, mobile-development, apple-ecosystem
- platform: cpp
- tags: ssl-pinning, certificate-pinning, objective-c, tvos, watchos, network-security, reporting, ios, macos, swift

## Member repositories
- datatheorem/TrustKit (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:18.188034+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:51:36.273302+00:00, confidence not recorded.
  - readme: https://github.com/datatheorem/TrustKit (fetched 2026-08-28T04:06:18.188034+00:00, sha 2cb2f9ec959d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
