webcrypto.dart
webcrypto.dart copied to clipboard
Cross-platform implementation of Web Cryptography APIs
boringssl implementation requires `NSPrivacyAccessedAPICategoryFileTimestamp` which is a [require reason API](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api#4278393) Apple announcement here: [developer.apple.com/support/third-party-SDK-requirements](https://developer.apple.com/support/third-party-SDK-requirements/) May 1st deadline announcement here: [developer.apple.com/news/?id=3d8a9yyh](https://developer.apple.com/news/?id=3d8a9yyh) (reminder announcement here: [https://developer.apple.com/news/?id=pvszzano](https://developer.apple.com/news/?id=pvszzano)) This was the [analyzer](https://github.com/crasowas/app_store_required_privacy_manifest_analyser/tree/main) used which...
Bumps [flutter_lints](https://github.com/flutter/packages/tree/main/packages) from 3.0.2 to 4.0.0. Commits 4799c49 [flutter_lints] Rev to 4.0.0; prepare for publishing (#6695) 4e79678 [pointer_interceptor] Remove implements from app-facing package (#6699) d670b2c Temporarily add empty header files...
In: https://pub.dev/documentation/webcrypto/latest/webcrypto/AesCtrSecretKey/encryptBytes.html And a few other places we write: `**Remark** ...` to indicate that a particular browser or platform doesn't support a particular feature. Instead of using this form, it'd...
Our goal is to make the API hard to use incorrectly. For the `HmacSecretKey` class we would want to validate the properties on `importJsonWebKey` against imported JWK to reduce the...
We need to upgrade BoringSSL, however, their build scripts have changed a bit. In particular how ASM files are added, so we might need to make some changes. The logic...
We should use `final class` for everything in the public API. **Motiviation**: * This package is **not** attempting to offer abstractions over cryptographic APIs. * We don't want others to...
It's sad when `print(HmacSecretKey.generateKey(Hash.sha256))` shows `Instance of '_HmacSecretKey'`. Perhaps we should override the `toString()` method on all the private classes. The user doesn't need to know about `_HmacSecretKey`, since it's...
Closes #104 - [x] Users no longer see private methods of HmacSecretKey while printing debug statements.
Try creating a trivial PR changing nothing and see that iOS integration tests fails half the time. We could probably try to debug by using a Mac with iOS, or...