openssl_bindings 0.6.0
openssl_bindings: ^0.6.0 copied to clipboard
FFI bindings to OpenSSL cryptographic library for Dart, providing native access to encryption, hashing, and SSL/TLS functionality.
We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):
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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
438 out of 22422 API elements (2.0 %) 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.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: ffi, ffi.AA_DIST_POINT_st, ffi.AA_DIST_POINT_st.AA_DIST_POINT_st.new, ffi.AA_DIST_POINT_st.containsAACerts, ffi.AA_DIST_POINT_st.containsSOAPublicKeyCerts.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:openssl_bindings/dtls.dartthat imports:package:openssl_bindings/src/openssl_loader.dartthat imports:package:openssl_bindings/src/generated/ffi.dartthat imports:dart:ffi
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 26 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/dtls.dart:2:1
╷
2 │ /// A DTLS = Datagram Transport Layer Security library implemented via FFI bindings to OpenSSL.
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/dtls.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/api/mixins/crypto_mixin.dart:411:9
╷
411 │ throw OpenSslException('Unknown digest algorithm: $algorithmName');
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/api/mixins/crypto_mixin.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.1.2 |
2.2.0 | 2.2.0 | |
logging |
^1.3.0 |
1.3.0 | 1.3.0 | |
meta |
^1.12.0 |
1.19.0 | 1.19.0 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Dart 3.14.0.
Check the analysis log for details.