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

A dart plugin implementing CBOR Object Signing and Encryption (RFC 9052, RFC 9053).

140/ 160
pub points
976
downloads

We analyzed this package 10 days ago, and awarded it 140 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

catalyst_voices/packages/libs/catalyst_cose/pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: catalyst_cose,
    • contains a version property, and,
    • does not contain a publish_to property.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

118 out of 121 API elements (97.5 %) have documentation comments.

Some symbols that are missing documentation: catalyst_cose, catalyst_cose.Uuid.Uuid.new, catalyst_cose.Uuid.value.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Invalid assignment to the parameter 'protectedHeaders'.

lib/src/cose_sign1.dart:70:5

   ╷
70 │ ┌     protectedHeaders = protectedHeaders.copyWith(
71 │ │       alg: () => signer.alg,
72 │ │       kid: () => kid,
73 │ │     );
   │ └─────^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/cose_sign1.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
cbor ^6.2.0 6.5.1 6.5.1
collection ^1.19.0 1.19.1 1.19.1
convert ^3.1.1 3.1.2 3.1.2
cryptography ^2.7.0 2.9.0 2.9.0
equatable ^2.0.7 2.1.0 2.1.0
uuid ^4.5.1 4.6.0 4.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
fixnum - 1.1.1 1.1.1
hex - 0.2.0 0.2.0
meta - 1.19.0 1.19.0
typed_data - 1.4.0 1.4.0

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

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

Passed check 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.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
976
downloads

Documentation

API reference

Publisher

verified publisherprojectcatalyst.io

Weekly Downloads

A dart plugin implementing CBOR Object Signing and Encryption (RFC 9052, RFC 9053).

Topics

#cryptography #encryption #codec

License

Apache-2.0 (license)

Dependencies

cbor, collection, convert, cryptography, equatable, uuid

More

Packages that depend on catalyst_cose