u2f 1.3.0 copy "u2f: ^1.3.0" to clipboard
u2f: ^1.3.0 copied to clipboard

FIDO Universal 2nd Factor. Register a FIDO2 U2F key to your application Verify a FIDO2 U2F key assertion

2
likes
120/ 140
pub points
26%
popularity

We analyzed this package 19 hours ago, and awarded it 120 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

3 out of 44 API elements (6.8 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: u2f, u2f.U2fRegistration, u2f.U2fRegistration.U2fRegistration, u2f.U2fRegistration.certificate, u2f.U2fRegistration.certificatePublicKey.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:u2f/u2f.dart that imports:
  • package:u2f/src/u2f_nfc.dart that imports:
  • package:flutter_nfc_kit/flutter_nfc_kit.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:u2f/u2f.dart that imports:
  • package:u2f/src/u2f_nfc.dart that imports:
  • package:flutter_nfc_kit/flutter_nfc_kit.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:u2f/u2f.dart that imports:
  • package:u2f/src/u2f_nfc.dart that imports:
  • package:flutter_nfc_kit/flutter_nfc_kit.dart that declares support for platforms: Android, iOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:u2f/u2f.dart that imports:
  • package:u2f/src/u2f_nfc.dart that imports:
  • package:flutter_nfc_kit/flutter_nfc_kit.dart that imports:
  • dart:io
OK
Pass static analysis
50 / 50trigger folding of the section

50/50 points: code has no errors, warnings, lints, or formatting issues

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
cbor ^4.1.0 4.1.0 6.2.0
crypto ^3.0.1 3.0.3 3.0.3
flutter flutter 0.0.0 0.0.0
flutter_nfc_kit ^3.1.0 3.5.0 3.5.0
logging ^1.0.2 1.2.0 1.2.0
pointycastle ^3.4.0 3.9.0 3.9.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
fixnum - 1.1.0 1.1.0
flutter_web_plugins - 0.0.0 0.0.0
js - 0.7.1 0.7.1
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
ndef - 0.3.3 0.3.3
sky_engine - 0.0.99 0.0.99
sprintf - 7.0.0 7.0.0
typed_data - 1.3.2 1.3.2
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^4.1.0` on cbor does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions cbor to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

2
likes
120
pub points
26%
popularity

Publisher

unverified uploader

FIDO Universal 2nd Factor. Register a FIDO2 U2F key to your application Verify a FIDO2 U2F key assertion

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

cbor, crypto, flutter, flutter_nfc_kit, logging, pointycastle

More

Packages that depend on u2f