certificatetransparency 0.0.2 copy "certificatetransparency: ^0.0.2" to clipboard
certificatetransparency: ^0.0.2 copied to clipboard

PlatformAndroid
unlisted

HTTP certificate transparency for Flutter. Validate certificate to distributed and independent certificate logs.

Certificate transparency for Flutter #

To protect our apps from man-in-the-middle attacks one of the first things that usually springs to mind is certificate pinning. However, the issues of certificate pinning are numerous. Firstly deciding on a reliable set of keys to pin against is tough. Once you made that decision if your expectations don't match reality your users suffer from not being able to access your app or website. Smashing Magazine learned about this the hard way in late 2016 when they blocked users' access for up to a year because of a mismatch between the pins and the certificates. On mobile fixing an invalid pin means pushing out a new version of an app which can still take a while to reach every user.

So with certificate pinning falling out of favor, what should you do? The new kid in town is certificate transparency.

This project is based on Appmattus' Certificate Transparency for Android and JVM

Getting Started #

On Android, the minimum SDK version is 19. Make sure to set the minSdkVersion in the app-level build.gradle

    ...
    defaultConfig {
        ...
        minSdkVersion 19
        ...
    }
    ...

Make sure to set the ext.kotlin_version in the root-level build.gradle

buildscript {
    ext.kotlin_version = '1.8.20'
    repositories {
        google()
        mavenCentral()
    }
    ...
}

Certificate transparency is set up in specific http client, instructions are available for:

  • Dio

Versioning #

We use SemVer for versioning.

Changelog #

We use keep a changelog for changelog format.

License #

License

This project is licensed under the BSD 3 Clause - see the LICENSE file for details. Appmattus' certificate transparency for Android and JVM is Apache Version 2.0 Licensed.

2
likes
150
points
110
downloads

Publisher

verified publisherkevinasurjadi.dev

Weekly Downloads

HTTP certificate transparency for Flutter. Validate certificate to distributed and independent certificate logs.

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dio, flutter, plugin_platform_interface

More

Packages that depend on certificatetransparency