certificate_pinning_httpclient_plus 1.0.0 copy "certificate_pinning_httpclient_plus: ^1.0.0" to clipboard
certificate_pinning_httpclient_plus: ^1.0.0 copied to clipboard

An implementation of Dart's HttpClient with certificate pinning against SPKI hashes, for Android, iOS, macOS, Linux and Windows.

1.0.0 #

First release under the certificate_pinning_httpclient_plus name, continuing sebkoller/certificate_pinning_httpclient (last published 0.0.3).

  • Add macOS support (NSURLSession).
  • Add Linux support (OpenSSL). Requires libssl-dev at build time.
  • Add Windows support (WinHTTP + CryptoAPI).
  • Raise minimum versions to Dart 3.4 / Flutter 3.22, iOS 12, Android API 21.
  • Move the Android implementation to the io.github.sb_dor namespace and migrate the Gradle build off jcenter().
  • Fix the podspecs, which declared BSD while the package is MIT licensed.
  • Document the public API and add unit tests for SPKI digest computation.

Migrating from certificate_pinning_httpclient #

The API is unchanged. Update the dependency and the import:

-import 'package:certificate_pinning_httpclient/certificate_pinning_httpclient.dart';
+import 'package:certificate_pinning_httpclient_plus/certificate_pinning_httpclient_plus.dart';

Changelog of the original package up to the fork point:

0.0.3 #

  • Fix nullability error
  • Use correct minimum dart and flutter version
  • Add example app

0.0.2 #

  • Fix iOS build

0.0.1 #

  • Initial release
0
likes
140
points
39
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

An implementation of Dart's HttpClient with certificate pinning against SPKI hashes, for Android, iOS, macOS, Linux and Windows.

Repository (GitHub)
View/report issues

Topics

#security #networking #http #tls #certificates

License

MIT (license)

Dependencies

asn1lib, crypto, flutter, logger, pem

More

Packages that depend on certificate_pinning_httpclient_plus

Packages that implement certificate_pinning_httpclient_plus