aws_encryption_sdk 0.1.1 aws_encryption_sdk: ^0.1.1 copied to clipboard
An implementation of the AWS Encryption SDK in Dart. Encrypt and decrypt data using AWS KMS, AES and RSA keys. Interoperates with the Java, C and Python implementations.
We analyzed this package 23 hours 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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
30 out of 80 API elements (37.5 %) have documentation comments.
Some symbols that are missing documentation: aws_encryption_sdk.AesKeyCipher
, aws_encryption_sdk.AesKeyCipher.AesKeyCipher
, aws_encryption_sdk.AesKeyCipher.decryptKey
, aws_encryption_sdk.AesKeyCipher.encryptKey
, aws_encryption_sdk.AwsCryptoException
.
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:aws_encryption_sdk/aws_encryption_sdk.dart
that imports:package:aws_encryption_sdk/src/keyring/raw_aes_keyring.dart
that imports:package:aws_encryption_sdk/src/internal/gcm.dart
that imports:package:aws_encryption_sdk/src/internal/sodium.dart
that imports:package:ffi/ffi.dart
that imports:package:ffi/src/utf16.dart
that imports:dart:ffi
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:aws_encryption_sdk/aws_encryption_sdk.dart
that imports:package:aws_encryption_sdk/src/keyring/raw_aes_keyring.dart
that imports:package:aws_encryption_sdk/src/internal/gcm.dart
that imports:package:aws_encryption_sdk/src/internal/sodium.dart
that imports:package:ffi/ffi.dart
that imports:package:ffi/src/utf16.dart
that imports:dart:ffi
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
WARNING: This API is available since SDK 2.15.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.
lib/src/keyring/raw_rsa_keyring.dart:54:28
╷
54 │ if (!wrappingAlgorithm.name.startsWith('rsa')) {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/keyring/raw_rsa_keyring.dart
INFO: Unnecessary cast.
lib/src/internal/committed_key.dart:41:28
╷
41 │ final deriveKeyLabel = utf8.encode('__DERIVEKEY') as Uint8List;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/internal/committed_key.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
aws_kms_api |
^1.2.0 |
1.2.0 | 2.0.0 |
ffi |
^1.1.2 |
1.2.1 | 2.1.3 |
pointycastle |
^3.5.1 |
3.9.1 | 3.9.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.19.0 | 1.19.0 |
convert |
- | 3.1.2 | 3.1.2 |
crypto |
- | 3.0.6 | 3.0.6 |
http |
- | 0.13.6 | 1.2.2 |
http_parser |
- | 4.1.0 | 4.1.0 |
intl |
- | 0.17.0 | 0.19.0 |
js |
- | 0.7.1 | 0.7.1 |
meta |
- | 1.16.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
petitparser |
- | 5.4.0 | 6.0.2 |
shared_aws_api |
- | 1.2.0 | 2.0.2 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
uuid |
- | 3.0.7 | 4.5.1 |
xml |
- | 5.4.1 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.2.0` on aws_kms_api does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions aws_kms_api
to update the constraint.
The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions ffi
to update the constraint.
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.22.13
, Dart 3.5.3
.
Check the analysis log for details.