webcrypto.dart icon indicating copy to clipboard operation
webcrypto.dart copied to clipboard

Cross-platform implementation of Web Cryptography APIs

Results 47 webcrypto.dart issues
Sort by recently updated
recently updated
newest added

In chromium this is implemented in `VerifyUsages`: https://source.chromium.org/chromium/chromium/src/+/main:components/webcrypto/jwk.cc;l=144 Something similar should be done for all the places we import JWK keys. Then we should still strip `use` and `key_ops` before...

bug

I'm not sure exactly how we want test case generation to work, but probably it should be a thing that `TestRunner.runTest` does automatically, and just prints the generated test case.

cleanup

Maybe we could somehow have support for test vectors where the importing the key throws an exception/error, and where we assert certain errors/exceptions. This might be different from `_TestCase`, but...

enhancement

There are some JSON test vectors in chromium, it might be nice to embed these JSON files in `third_party/chromium/...` and create a test that embeds the JSON test vectors, to...

enhancement

The [web cryptography specification][1] the `CryptoKey` interface have the following attributes not currently supported in this package: * `usages: 'encrypt' | 'decrypt' | 'sign' | 'verify' | 'deriveKey' | 'deriveBits'...

enhancement

This already the case on the web, or at-least it's moved the browser which is most likely moving it off-the-mainthread. We should do the same on Android and iOS. A...

enhancement

To use another plugin (google MLKit), I had to set `:linkage => :static` in the Podifle of my app. However, since I did this, I get the same error webcrypto...

- [x] Created optional param for importKeyException. - [x] Added new Test Data with the importKeyException param. - [x] Test passes if: 1. Import Key Exception is not null in...