Skip to content

Commit

Permalink
chore: Release v1.0.0-rc.11
Browse files Browse the repository at this point in the history
  • Loading branch information
OtaK committed Aug 31, 2023
1 parent 568bdf3 commit 5dfae06
Show file tree
Hide file tree
Showing 10 changed files with 163 additions and 27 deletions.
154 changes: 145 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ 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-rc.11] - 2023-08-31

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

### Bug Fixes

- [**breaking**] UniFFI Errors

</details>

* fix!: Fix Kotlin & Swift FFI errors
* This includes a breaking change where CoreCrypto and E2EI errors are separated, so change accordingly

## [1.0.0-rc.10] - 2023-08-31

<details>
Expand All @@ -16,6 +31,136 @@ Platform support legends:

- UniFFI symbol matching

### Miscellaneous Tasks

- Release v1.0.0-rc.10


### Bug Fixes

- Make UniFFI produce the correct symbol in bindings
- Change e2ei enrollment identifier causing collision now that keypairs are reused

### Documentation

- Regenerate changelog

### Features

- [**breaking**] Return raw PEM certificate in `getUserIdentities` for display purpose
- [**breaking**] Bump rusty-jwt-tools to v0.5.0. Add 'revokeCert' to AcmeDirectory

### Miscellaneous Tasks

- Release v1.0.0-rc.9


### Bug Fixes

- TLS serialization of x509 credential
- [**breaking**] UniFFI Async cancellable routines + bytes
- Make interop runner pick up CHROME_PATH from env

### Features

- Expose `getUserIdentities` through the FFI
- [**breaking**] Also restore buffered messages on the receiver side
- Increase max past epoch to 3 since backend inordering of messages requires client's config to backend's one + 1

### Miscellaneous Tasks

- Release 1.0.0-rc.8
- Fix clippy lint on wasm tests
- Quiet clippy new lint about non send in Arc because it comes from wasm-bindgen wrapped Javascript object which cannot be shared between threads anyway
- Remove useless application message epoch check

### Refactor

- Borrow conversation_id in `new_conversation`

### Testing

- Fix wasm test hitting a limit. Just split them for now, waiting for a proper solution
- Fix spinoff 0.8 compilation


### Bug Fixes

- Kotlin tests not compiling after methods became async

### Features

- Correlate RotateBundle with a GroupId

### Miscellaneous Tasks

- Release 1.0.0-rc.7


### Bug Fixes

- `e2eiRotateAll` return type was not wrapped
- Signature KeyPair was rotated when credentials were which was zealous. Also fixes an important bug caused by inverted private & public keypair part when rotating credentials

### Features

- [**breaking**] Handle the case when a client tries to decrypt a Welcome referring to a KeyPackage he already has deleted locally
- Add keystore dump exporter CLI tool

### Miscellaneous Tasks

- Release 1.0.0-rc.6

### Testing

- Add a roundtrip test for e2ei credential rotation to tackle a false positive regression


### Bug Fixes

- E2ei enum for conversation state was unused and failing the Typescript publication. Now CI will have the same compiler flags when checking bindings in order to prevent this again

### Miscellaneous Tasks

- Release 1.0.0-rc.5


### Miscellaneous Tasks

- Release 1.0.0-rc.4
- Patch visibility issue for enum 'E2eiConversationState' which was failing when building Typescript bindings


### Bug Fixes

- Proteus wasm test now uses wasm-browser-run
- Cargo doc fixes for wasm-browser-run
- Interop runner now uses wasm-browser-run to install chromedriver
- Support chromedriver 115 delivery method
- `e2ei_rotate_all` was returning 'undefined' on WASM
- [**breaking**] Entities leaked. Some methods handling the lifecycle of a MLS group were not cleaning created entities correctly. This avoids required storage space to grow linearly.

### Features

- [**breaking**] Rename `e2eiIsDegraded` by `e2eiConversationState` and change return type to an enumeration instead of a boolean to match all the e2ei states a conversation could have.
- Add `e2ei_is_enabled` for clients to spot if their MLS client is enrolled for end-to-end identity

### Miscellaneous Tasks

- Release 1.0.0-rc.3
- Update rstest versions
- Updated xtask deps


### Features

- [**breaking**] Expose 'ClientId' in e2ei methods for credential rotation since the e2ei client identifier differs from the one used in MLS
- Include certificate roots and certificate policy in GroupContext - WPB-1188

### Miscellaneous Tasks

- Release v1.0.0-rc.2

</details>

* fix: Fix Kotin & Swift wrappers by producing correct symbols
Expand Down Expand Up @@ -218,15 +363,6 @@ In that case he has to catch & ignore the "OrphanWelcome" error and to rejoin th
<details>
<summary>git-conventional changelog</summary>

### Features

- [**breaking**] Expose 'ClientId' in e2ei methods for credential rotation since the e2ei client identifier differs from the one used in MLS
- Include certificate roots and certificate policy in GroupContext - WPB-1188

### Miscellaneous Tasks

- Release v1.0.0-rc.2

</details>

* Added support for x509 certificate roots and policies in MLS GroupContext through a TrustAnchor GroupContextExtension #346
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-rc.10"
version = "1.0.0-rc.11"
edition = "2021"
license = "GPL-3.0-only"

Expand Down
6 changes: 3 additions & 3 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-rc.10"
version = "1.0.0-rc.11"
edition = "2021"
license = "GPL-3.0-only"
publish = false
Expand Down Expand Up @@ -35,7 +35,7 @@ sha2 = { version = "0.10", features = ["force-soft"] }
[target.'cfg(not(target_family = "wasm"))'.dependencies]
# UniFFI - Android + iOS bindings - Runtime support
uniffi = { workspace = true }
core-crypto = { version = "^1.0.0-rc.10", path = "../crypto", features = ["uniffi"] }
core-crypto = { version = "^1.0.0-rc.11", path = "../crypto", features = ["uniffi"] }

[target.wasm32-unknown-unknown.dependencies]
wasm-bindgen = "0.2"
Expand All @@ -46,7 +46,7 @@ serde = { version = "1.0", features = ["derive"] }
js-sys = "0.3"
web-sys = "0.3"
strum = "0.25"
core-crypto = { version = "^1.0.0-rc.10", path = "../crypto" }
core-crypto = { version = "^1.0.0-rc.11", path = "../crypto" }


# UniFFI - Android + iOS bindings - Build support
Expand Down
2 changes: 1 addition & 1 deletion crypto-ffi/bindings/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ kotlin.code.style=official

# gradle-maven-publish configuration
GROUP=com.wire
VERSION_NAME=1.0.0-rc.10
VERSION_NAME=1.0.0-rc.11
SONATYPE_HOST=DEFAULT
SONATYPE_AUTOMATIC_RELEASE=true
RELEASE_SIGNING_ENABLED=true
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-rc.10"
version = "1.0.0-rc.11"
edition = "2021"
license = "GPL-3.0-only"
publish = false
Expand Down Expand Up @@ -74,13 +74,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-rc.10", path = "../keystore" }
core-crypto-keystore = { version = "^1.0.0-rc.11", path = "../keystore" }

[target.'cfg(target_os = "ios")'.dependencies]
core-crypto-keystore = { version = "^1.0.0-rc.10", path = "../keystore", features = ["ios-wal-compat"] }
core-crypto-keystore = { version = "^1.0.0-rc.11", path = "../keystore", features = ["ios-wal-compat"] }

[dependencies.mls-crypto-provider]
version = "^1.0.0-rc.10"
version = "^1.0.0-rc.11"
path = "../mls-provider"

[dev-dependencies]
Expand Down Expand Up @@ -108,7 +108,7 @@ tag = "v1.2.2-pre.core-crypto-0.7.0"
version = "=0.9.2"

[dev-dependencies.core-crypto-keystore]
version = "^1.0.0-rc.10"
version = "^1.0.0-rc.11"
path = "../keystore"
features = ["dummy-entity"]

Expand All @@ -121,7 +121,7 @@ version = "0.5"
features = ["async_std", "html_reports"]

[dev-dependencies.core-crypto-attributes]
version = "^1.0.0-rc.10"
version = "^1.0.0-rc.11"
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-rc.10"
version = "1.0.0-rc.11"
edition = "2021"
license = "GPL-3.0-only"

Expand Down
2 changes: 1 addition & 1 deletion keystore-dump/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "keystore-dump"
description = "Dumps a keystore to JSON on stdout"
version = "0.0.0-rc.5"
version = "0.0.0-rc.6"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
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-rc.10"
version = "1.0.0-rc.11"
edition = "2021"
license = "GPL-3.0-only"
publish = false
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-rc.10"
version = "1.0.0-rc.11"
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-rc.10", path = "../keystore" }
core-crypto-keystore = { version = "^1.0.0-rc.11", path = "../keystore" }

[target.'cfg(target_os = "ios")'.dependencies]
core-crypto-keystore = { version = "^1.0.0-rc.10", path = "../keystore", features = ["ios-wal-compat"] }
core-crypto-keystore = { version = "^1.0.0-rc.11", 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-rc.10",
"version": "1.0.0-rc.11",
"description": "CoreCrypto bindings for the Web",
"type": "module",
"module": "platforms/web/corecrypto.js",
Expand Down

0 comments on commit 5dfae06

Please sign in to comment.