fingerprint_dart_auth_sdk 0.0.2
fingerprint_dart_auth_sdk: ^0.0.2 copied to clipboard
A Dart SDK for Fingerprint Authentication, enabling secure server-side authentication and user management for Dart-based backend applications.
We analyzed this package 7 hours ago, and awarded it 80 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: fingerprint_dart_auth_sdk, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
fingerprint-dart-auth-sdk/pubspec.yaml from the repository URL mismatch: expected https://github.com/aortem/fingerprint-dart-auth-sdk but got https://github.com/aortem/fingerprint_dart_auth_sdk.
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.
10/10 points: 20% or more of the public API has dartdoc comments
214 out of 220 API elements (97.3 %) have documentation comments.
Some symbols that are missing documentation: fingerprint_dart_auth_sdk, fingerprint_dart_auth_sdk.DecryptionKey.DecryptionKey.new, fingerprint_dart_auth_sdk.ErrorResponse.ErrorResponse.new, fingerprint_dart_auth_sdk.FingerprintApi.FingerprintApi.new, fingerprint_dart_auth_sdk.IsValidWebhookSignatureParams.IsValidWebhookSignatureParams.new.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:fingerprint_dart_auth_sdk/fingerprint_dart_auth_sdk.dartthat imports:package:fingerprint_dart_auth_sdk/src/utils/fingerprint_is_valid_webhook_signature.dartthat imports:package:ds_standard_features/ds_standard_features.dartthat imports:package:platform/platform.dartthat imports:package:platform/src/interface/local_platform.dartthat imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
ERROR: The function 'Hmac' isn't defined.
lib/src/utils/fingerprint_is_valid_webhook_signature.dart:29:23
╷
29 │ final hmac = crypto.Hmac(crypto.sha256, utf8.encode(secret));
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/utils/fingerprint_is_valid_webhook_signature.dart
ERROR: The name 'sha256' is being referenced through the prefix 'crypto', but it isn't defined in any of the libraries imported using that prefix.
lib/src/utils/fingerprint_is_valid_webhook_signature.dart:29:35
╷
29 │ final hmac = crypto.Hmac(crypto.sha256, utf8.encode(secret));
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/utils/fingerprint_is_valid_webhook_signature.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
build_web_compilers |
^4.3.0 |
4.4.2 | 4.4.2 | |
ds_standard_features |
^0.1.3 |
0.1.4 | 0.1.4 | |
jwt_generator |
^0.0.8 |
0.0.8 | 0.0.8 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 91.0.0 | 92.0.0 | |
analyzer |
- | 8.4.1 | 9.0.0 | |
archive |
- | 4.0.7 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
asn1lib |
- | 1.6.5 | 1.6.5 | |
async |
- | 2.13.0 | 2.13.0 | |
bazel_worker |
- | 1.1.4 | 1.1.4 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
build |
- | 4.0.2 | 4.0.2 | |
build_config |
- | 1.2.0 | 1.2.0 | |
build_daemon |
- | 4.1.1 | 4.1.1 | |
build_modules |
- | 5.1.2 | 5.1.2 | |
build_runner |
- | 2.10.3 | 2.10.3 | |
built_collection |
- | 5.1.1 | 5.1.1 | |
built_value |
- | 8.12.0 | 8.12.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_builder |
- | 4.11.0 | 4.11.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_style |
- | 3.1.3 | 3.1.3 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
graphs |
- | 2.3.2 | 2.3.2 | |
http |
- | 1.6.0 | 1.6.0 | |
http2 |
- | 2.3.1 | 2.3.1 | |
http_multi_server |
- | 3.2.2 | 3.2.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
io |
- | 1.0.5 | 1.0.5 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
os_detect |
- | 2.0.3 | 2.0.3 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
pool |
- | 1.5.2 | 1.5.2 | |
posix |
- | 6.0.3 | 6.0.3 | |
protobuf |
- | 5.1.0 | 5.1.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
rsa_pkcs |
- | 2.1.0 | 2.1.0 | |
scratch_space |
- | 1.2.0 | 1.2.0 | |
shelf |
- | 1.4.2 | 1.4.2 | |
shelf_web_socket |
- | 3.0.0 | 3.0.0 | |
source_maps |
- | 0.10.13 | 0.10.13 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.8 | 0.7.8 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
watcher |
- | 1.1.4 | 1.1.4 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
UNDEFINED_FUNCTION-lib/src/utils/fingerprint_is_valid_webhook_signature.dart:29:23- The function 'Hmac' isn't defined.UNDEFINED_PREFIXED_NAME-lib/src/utils/fingerprint_is_valid_webhook_signature.dart:29:35- The name 'sha256' is being referenced through the prefix 'crypto', but it isn't defined in any of the libraries imported using that prefix.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.1, Dart 3.10.0.
Check the analysis log for details.