Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributehttp_certificate_pinning

Https Certificate pinning for Flutter apps.

pub.devRemove
http_security_pinning

SPKI SHA-256 TLS certificate pinning for Flutter with a drop-in HttpClient.

pub.devRemove
ScoresHealth71 (best)65
Maintenance5184 (best)
Quality8597 (best)
Popularity79 (best)18
Community80 (best)11
Compatibility75100 (best)
UsageDownloads (30 days)32k (best)1.2k
Likes163 (best)5
Pub points125 / 160160 / 160 (best)
GitHub stars104 (best)2
MaintenanceLatest release3.0.2, 4 months ago2.0.0, 6 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors19 (best)2
Publishersoftarch.devUnverified
FitPlatformsAndroid, iOSAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyNoYes
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies2 (best)4
LicenseAPACHE-2.0BSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Provides built-in interceptors and clients for popular networking libraries like Dio and http.
  • Supports checking certificates via SHA-1 and SHA-256 fingerprints.
  • Drop-in compatibility with dart:io HttpClient, package:http, and package:dio.
  • Supports per-host pin policies, wildcards, and unpinned host handling.
  • Includes cross-platform support including Android, iOS, desktop, and web signature checks.
Weaknesses
  • Requires manual updating of certificate fingerprints in the app when server certificates rotate.
  • Limited documentation on platform-specific native setup or edge cases.
  • Server key rotations without a backup pin will break the app until a client update is installed.
  • Flutter Web does not support TLS pinning and relies on a weaker response-signature scheme.
Warnings
  • Native setup
  • Native setup
http_certificate_pinning vs http_security_pinning: which Flutter package should you use? | pubscout