Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 34 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,37 @@
# 0.6.2-wip
* Fixed JS interop to enable WebAssembly.
* Fixed native RSA public-key JWK imports to reject private key material.
* Upgrade `ffigen` and `hooks` versions.
* Fixed native HKDF output-length validation to reject oversized requests
before allocating memory.
# 0.6.2
* Fixed incorrect RSA public exponents during native key generation on
32-bit platforms.
* Fixed native AES-CTR processing of large stream chunks.
* Document that mutable inputs must remain unchanged until an asynchronous
operation completes. Avoid unnecessary payload and signature snapshots.
* Fixed HMAC JWK imports with an explicit key length and rejected empty
imported HMAC keys. Added support for generating HMAC keys larger than
the browser random-fill limit.
* Fixed native ECDH and PBKDF2 derivation to support zero-length results.
* Reject oversized native HKDF output lengths before allocating memory,
and reject overflowing PBKDF2 iteration counts and RSA-PSS salt lengths
before passing them to native code.
* Validate browser ECDH output lengths, AES-CTR counter lengths, AES-GCM
tag lengths, and RSA modulus lengths before browser interop. Validate
AES and HMAC key generation lengths and supported typed-data inputs to
`fillRandomBytes`.
* Fixed AES-CBC invalid-IV errors and delivered RSA-PSS byte-operation
validation errors through the returned futures.
* Reject trailing bytes in imported EC and RSA keys, malformed JWK
base64url values, private key material in native RSA public-key JWK
imports, and unsupported multi-prime RSA JWKs.
* Fixed parsing of JSON-decoded RSA JWK `oth` entries and the RSA-OAEP
SHA-1 JWK algorithm identifier. Align browser JWK export `use` metadata
with native exports.
* Fixed JS exception handling for WebAssembly builds.
* Fixed macOS x86_64 native-library linking, including the x86_64 slice
of universal macOS builds.
* Fixed stale native build-cache reuse after changes to CMake configuration
or BoringSSL include files.
* Updated runtime dependencies to `hooks` 2.x and
`native_toolchain_cmake` 0.3.x.
* Added documentation for `wrapKey` compatibility and clarified ECDH
imports, derivation limits, and RSA-OAEP plaintext size limits.

# 0.6.1
* Added Dart native build hooks and native asset lookup for the bundled
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

name: webcrypto
version: 0.6.2-wip
version: 0.6.2
description: Cross-platform implementation of Web Cryptography APIs for Dart.
repository: https://github.com/google/webcrypto.dart

Expand Down
Loading