Skip to content

Commit

Permalink
build: release 1.0.0-pre.6
Browse files Browse the repository at this point in the history
  • Loading branch information
beltram committed Jul 6, 2023
1 parent fa32918 commit f2fb4e3
Show file tree
Hide file tree
Showing 11 changed files with 95 additions and 18 deletions.
66 changes: 66 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

<details>
<summary>git-conventional changelog</summary>

### 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<Ciphersuite>` 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

</details>

* 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

<details>
Expand Down
13 changes: 12 additions & 1 deletion CHANGELOG.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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

<details>
<summary>git-conventional changelog</summary>
{{git-cliff tag="v1.0.0-pre.6" unreleased=true}}
</details>

* 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

<details>
<summary>git-conventional changelog</summary>
{{git-cliff tag="v1.0.0-pre.5" unreleased=true}}
{{git-cliff tag="v1.0.0-pre.5"}}
</details>

* fix: `joinByExternalCommit` was expecting a `GroupInfo` wrapped in a MlsMessage
Expand Down
2 changes: 1 addition & 1 deletion crypto-attributes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions crypto-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down
12 changes: 6 additions & 6 deletions crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand All @@ -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"]

Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion interop/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
2 changes: 1 addition & 1 deletion keystore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kotlin/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ afterEvaluate {
create<MavenPublication>("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")
Expand Down
2 changes: 1 addition & 1 deletion kotlin/jvm/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ afterEvaluate {
create<MavenPublication>("maven") {
groupId = "com.wire"
artifactId = "core-crypto-jvm"
version = "1.0.0-pre.5"
version = "1.0.0-pre.6"

from(components["java"])

Expand Down
6 changes: 3 additions & 3 deletions mls-provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit f2fb4e3

Please sign in to comment.