From 292659f41c1b8d177e74d0f41d6365f46c7cbba2 Mon Sep 17 00:00:00 2001 From: HamdaanAliQuatil Date: Sun, 11 Oct 2026 21:14:12 +0530 Subject: [PATCH] release: prepare 0.6.2 --- CHANGELOG.md | 40 ++++++++++++++++++++++++++++++++++------ pubspec.yaml | 2 +- 2 files changed, 35 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 570d42899..d6c590c57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/pubspec.yaml b/pubspec.yaml index b41647314..b36f6ed38 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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