From f2fb4e3af45720d327867351fe55fc972ef534a6 Mon Sep 17 00:00:00 2001 From: beltram Date: Thu, 6 Jul 2023 14:49:31 +0200 Subject: [PATCH] build: release 1.0.0-pre.6 --- CHANGELOG.md | 66 +++++++++++++++++++++++++++++++++ CHANGELOG.tpl | 13 ++++++- crypto-attributes/Cargo.toml | 2 +- crypto-ffi/Cargo.toml | 4 +- crypto/Cargo.toml | 12 +++--- interop/Cargo.toml | 2 +- keystore/Cargo.toml | 2 +- kotlin/android/build.gradle.kts | 2 +- kotlin/jvm/build.gradle.kts | 2 +- mls-provider/Cargo.toml | 6 +-- package.json | 2 +- 11 files changed, 95 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad6ccd9a95..9e8090eb6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,72 @@ Platform support legends: * Note: the papercuts will majorly be with the build process. Things might be very rough to integrate as no polish at all has been given yet. * ❌ = tier 3 support. It doesn't work just yet, but we plan to make it work. +## [1.0.0-pre.5] - 2023-07-06 + +
+ git-conventional changelog + +### Bug Fixes + +- Wrong HPQ ciphersuite identifier +- Address review & de-flakify cert expiration test +- Target correct branches +- PQ support for FFI +- Benches modification + +### Features + +- [**breaking**] Credential rotation +- PostQuantum Ciphersuite +- [**breaking**] Remove `export_group_info()` + + +### Bug Fixes + +- Backend sends raw GroupInfo, we were trying to deserialize it from a MlsMessage + + +### Bug Fixes + +- Pin a version of openmls with a fix in tls_codec related to variable length encoding + +### Testing + +- Fix external commit test was not merging the external commit + + +### Bug Fixes + +- Typo in build xcframework task + + +### Features + +- CoreCrypto draft-20 upgrade +- Generate XCFramework when releasing for Swift ([#330](https://github.com/wireapp/core-crypto/issues/330)) + + +### Features + +- Add `e2ei_is_degraded` to flag a conversation as degraded when at least 1 member is not using a e2ei certificate + + +### Bug Fixes + +- Usize to u64 conversion error on Android in `client_valid_keypackages_count`. Whatever the reason this applies a default meaningful value +- [**breaking**] Creating a MLS group does not consume an existing KeyPackage anymore, instead it always generates a new local one. Also, explicitly ask for the credential type of the creator before creating a new MLS group. +- Mobile FFI was failing when initializing MLS client due to a Arc being incremented one too many times. Also add the E2EI API in the Kotlin wrapper and a test for it + +### Features + +- [**breaking**] Hide everywhere `Vec` appears in the public API since it seems to fail for obscure reasons on aarch64 Android devices. Undo when we have a better understanding of the root cause of this + +
+ +* feat!: PostQuantum Ciphersuite support ! Using [Xyber768](https://www.ietf.org/archive/id/draft-westerbaan-cfrg-hpke-xyber768d00-02.html) for Key Exchange. +* feat! Credential rotation support (for E2E Identity) +* feat!: remove `export_group_info()` method that wasn't used + ## [1.0.0-pre.5] - 2023-06-12
diff --git a/CHANGELOG.tpl b/CHANGELOG.tpl index e251c5c1e9..7fc9ca5608 100644 --- a/CHANGELOG.tpl +++ b/CHANGELOG.tpl @@ -7,11 +7,22 @@ Platform support legends: * Note: the papercuts will majorly be with the build process. Things might be very rough to integrate as no polish at all has been given yet. * ❌ = tier 3 support. It doesn't work just yet, but we plan to make it work. +## [1.0.0-pre.5] - 2023-07-06 + +
+ git-conventional changelog +{{git-cliff tag="v1.0.0-pre.6" unreleased=true}} +
+ +* feat!: PostQuantum Ciphersuite support ! Using [Xyber768](https://www.ietf.org/archive/id/draft-westerbaan-cfrg-hpke-xyber768d00-02.html) for Key Exchange. +* feat! Credential rotation support (for E2E Identity). It allows to change the local client Credential in a MLS group, replacing it with a X509 Certificate one. +* feat!: remove `export_group_info()` method that wasn't used + ## [1.0.0-pre.5] - 2023-06-12
git-conventional changelog -{{git-cliff tag="v1.0.0-pre.5" unreleased=true}} +{{git-cliff tag="v1.0.0-pre.5"}}
* fix: `joinByExternalCommit` was expecting a `GroupInfo` wrapped in a MlsMessage diff --git a/crypto-attributes/Cargo.toml b/crypto-attributes/Cargo.toml index 309fb7480d..e083833ab0 100644 --- a/crypto-attributes/Cargo.toml +++ b/crypto-attributes/Cargo.toml @@ -2,7 +2,7 @@ name = "core-crypto-attributes" description = "Macros for core-crypto" repository = "https://github.com/wireapp/core-crypto" -version = "1.0.0-pre.5" +version = "1.0.0-pre.6" edition = "2021" license = "GPL-3.0-only" diff --git a/crypto-ffi/Cargo.toml b/crypto-ffi/Cargo.toml index e1e5ae0151..9929157f4b 100644 --- a/crypto-ffi/Cargo.toml +++ b/crypto-ffi/Cargo.toml @@ -2,7 +2,7 @@ name = "core-crypto-ffi" description = "Platform-specific bindings (Android, iOS, WASM) for CoreCrypto" repository = "https://github.com/wireapp/core-crypto" -version = "1.0.0-pre.5" +version = "1.0.0-pre.6" edition = "2021" license = "GPL-3.0-only" publish = false @@ -17,7 +17,7 @@ proteus = ["core-crypto/proteus", "core-crypto/cryptobox-migrate"] mobile = ["uniffi", "uniffi_macros", "uniffi_build", "uniffi_bindgen"] [dependencies] -core-crypto = { version = "^1.0.0-pre.5", path = "../crypto" } +core-crypto = { version = "^1.0.0-pre.6", path = "../crypto" } thiserror = "1.0" cfg-if = "1.0" futures-util = "0.3" diff --git a/crypto/Cargo.toml b/crypto/Cargo.toml index 40f1b32569..060f415955 100644 --- a/crypto/Cargo.toml +++ b/crypto/Cargo.toml @@ -2,7 +2,7 @@ name = "core-crypto" description = "Abstraction over OpenMLS with persistent keystore" repository = "https://github.com/wireapp/core-crypto" -version = "1.0.0-pre.5" +version = "1.0.0-pre.6" edition = "2021" license = "GPL-3.0-only" publish = false @@ -67,13 +67,13 @@ rexie = { version = "0.4", optional = true } base64 = { version = "0.21", optional = true } [target.'cfg(not(target_os = "ios"))'.dependencies] -core-crypto-keystore = { version = "^1.0.0-pre.5", path = "../keystore" } +core-crypto-keystore = { version = "^1.0.0-pre.6", path = "../keystore" } [target.'cfg(target_os = "ios")'.dependencies] -core-crypto-keystore = { version = "^1.0.0-pre.5", path = "../keystore", features = ["ios-wal-compat"] } +core-crypto-keystore = { version = "^1.0.0-pre.6", path = "../keystore", features = ["ios-wal-compat"] } [dependencies.mls-crypto-provider] -version = "^1.0.0-pre.5" +version = "^1.0.0-pre.6" path = "../mls-provider" [dev-dependencies] @@ -96,7 +96,7 @@ fluvio-wasm-timer = "0.2" pem = "2" [dev-dependencies.core-crypto-keystore] -version = "^1.0.0-pre.5" +version = "^1.0.0-pre.6" path = "../keystore" features = ["dummy-entity"] @@ -109,7 +109,7 @@ version = "0.4" features = ["async_std", "html_reports"] [dev-dependencies.core-crypto-attributes] -version = "^1.0.0-pre.5" +version = "^1.0.0-pre.6" path = "../crypto-attributes" [package.metadata.wasm-pack.profile.release] diff --git a/interop/Cargo.toml b/interop/Cargo.toml index 7d13c73536..bf36204da5 100644 --- a/interop/Cargo.toml +++ b/interop/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "interop" -version = "1.0.0-pre.5" +version = "1.0.0-pre.6" edition = "2021" license = "GPL-3.0-only" diff --git a/keystore/Cargo.toml b/keystore/Cargo.toml index 1ace8ab50a..617571437c 100644 --- a/keystore/Cargo.toml +++ b/keystore/Cargo.toml @@ -2,7 +2,7 @@ name = "core-crypto-keystore" description = "Encrypted keystore with support for OpenMLS and Proteus" repository = "https://github.com/wireapp/core-crypto" -version = "1.0.0-pre.5" +version = "1.0.0-pre.6" edition = "2021" license = "GPL-3.0-only" publish = false diff --git a/kotlin/android/build.gradle.kts b/kotlin/android/build.gradle.kts index 63deb6ac5f..207447a942 100644 --- a/kotlin/android/build.gradle.kts +++ b/kotlin/android/build.gradle.kts @@ -112,7 +112,7 @@ afterEvaluate { create("maven") { groupId = "com.wire" artifactId = "core-crypto-android" - version = "1.0.0-pre.5" + version = "1.0.0-pre.6" from(components["release"]) pom { name.set("core-crypto-android") diff --git a/kotlin/jvm/build.gradle.kts b/kotlin/jvm/build.gradle.kts index 942fe7c667..e1cc0ab270 100644 --- a/kotlin/jvm/build.gradle.kts +++ b/kotlin/jvm/build.gradle.kts @@ -116,7 +116,7 @@ afterEvaluate { create("maven") { groupId = "com.wire" artifactId = "core-crypto-jvm" - version = "1.0.0-pre.5" + version = "1.0.0-pre.6" from(components["java"]) diff --git a/mls-provider/Cargo.toml b/mls-provider/Cargo.toml index a1c8727a72..34f887db01 100644 --- a/mls-provider/Cargo.toml +++ b/mls-provider/Cargo.toml @@ -2,7 +2,7 @@ name = "mls-crypto-provider" description = "MLS Crypto Provider wrapping core-crypto-keystore" repository = "https://github.com/wireapp/core-crypto" -version = "1.0.0-pre.5" +version = "1.0.0-pre.6" edition = "2021" license = "GPL-3.0-only" publish = false @@ -42,10 +42,10 @@ version = "0.10" features = ["x25519", "p256", "p384", "xyber768d00", "serde_impls"] [target.'cfg(not(target_os = "ios"))'.dependencies] -core-crypto-keystore = { version = "^1.0.0-pre.5", path = "../keystore" } +core-crypto-keystore = { version = "^1.0.0-pre.6", path = "../keystore" } [target.'cfg(target_os = "ios")'.dependencies] -core-crypto-keystore = { version = "^1.0.0-pre.5", path = "../keystore", features = ["ios-wal-compat"] } +core-crypto-keystore = { version = "^1.0.0-pre.6", path = "../keystore", features = ["ios-wal-compat"] } [dev-dependencies] wasm-bindgen-test = "0.3" diff --git a/package.json b/package.json index fb5dcf9552..e254b662d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wireapp/core-crypto", - "version": "1.0.0-pre.5", + "version": "1.0.0-pre.6", "description": "CoreCrypto bindings for the Web", "type": "module", "module": "platforms/web/corecrypto.js",