Skip to content

Commit

Permalink
chore: Release v1.0.0-rc.18
Browse files Browse the repository at this point in the history
  • Loading branch information
OtaK committed Nov 14, 2023
1 parent 1308cfe commit 7f831c2
Show file tree
Hide file tree
Showing 13 changed files with 838 additions and 577 deletions.
145 changes: 142 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,24 @@ 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.17] - 2023-10-23
## [1.0.0-rc.18] - 2023-10-23

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

### Bug Fixes

- Preserve schema upgrade path between schemafix'd versions and upcoming


### Bug Fixes

- Don't depend on OpenSSL on WASM
- Dynamic linking issue on Android with the atomic lib

### Miscellaneous Tasks

- Release v1.0.0-rc.17
- Release v1.0.0-rc.17 ([#425](https://github.com/wireapp/core-crypto/issues/425))
- Use actual CI cache


Expand Down Expand Up @@ -299,6 +303,25 @@ Platform support legends:

</details>

* Native platforms only: Preserve database schema upgrade path from 0.8.x, 1.0.0-pre.6+schemafix-0007 and onwards.

## [1.0.0-rc.17] - 2023-10-23

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

### Bug Fixes

- Don't depend on OpenSSL on WASM
- Dynamic linking issue on Android with the atomic lib

### Miscellaneous Tasks

- Release v1.0.0-rc.17 ([#425](https://github.com/wireapp/core-crypto/issues/425))
- Use actual CI cache

</details>

* Remove dependency of OpenSSL for Wasm
* Fix linking issue on Android

Expand Down Expand Up @@ -884,6 +907,47 @@ In that case he has to catch & ignore the "OrphanWelcome" error and to rejoin th
- 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.
Expand Down Expand Up @@ -1118,6 +1182,81 @@ the FFI. Still uncertain about the root cause but to move on all the parameters
<details>
<summary>git-conventional changelog</summary>

### Bug Fixes

- Fixed iOS keychain handling with proper attributes

### Features

- Verify x509 credential identity and return identity (client_id, handle, display_name, domain) once message is decrypted

### Miscellaneous Tasks

- Release v0.7.0
- Update deps & cargo-deny configuration
- Get rid of internal 'CredentialSupplier' test util


### Bug Fixes

- [**breaking**] Tweak WASM API
- Use schnellru fork for GroupStore faillible inserts
- Fixed GroupStore memory limiter behavior

### Features

- Remove any transitive crate using ring. As a consequence supports EcDSA on WASM
- Copy/modify kotlin wrapper from Kalium ([#284](https://github.com/wireapp/core-crypto/issues/284))
- [**breaking**] Support creating a MLS client from an e2e identity certificate

### Miscellaneous Tasks

- Release v0.7.0-rc.4
- Update interop runner `dirs` dep
- Appease clippy


### Bug Fixes

- Proteus auto prekey ids not incrementing

### Miscellaneous Tasks

- Release v0.7.0-rc.3


### Miscellaneous Tasks

- Release v0.7.0-rc.2


### Bug Fixes

- [**breaking**] Make FFI parameters compliant with rfc8555
- Added missing version() function to Swift bindings
- Enable ios-wal-compat for iOS builds by default
- Exclude self from self-remove-commit delay
- Fix rustsec advisories on xtask deps

### Features

- [**breaking**] Latest e2e identity iteration. ClientId (from MLS) is used instead of requiring just parts of it
- Added API to check the `Arc` strongref counter
- [**breaking**] Add ability to mark subconversations
- [**breaking**] Change proteus auto prekey return type to include prekey id
- [**breaking**] Added LRU cache-based underlying group store to replace the HashMaps

### Miscellaneous Tasks

- Release 0.7.0-rc.1
- Use crates.io sparse protocol on CI via env
- Android upgrade to NDK 25 + openssl android build fix
- Updated serde-wasm-bindgen to 0.5.0
- Updated crypto deps (p256/384 & ecdsa)
- Updated changelog for LRU store changes
- [**breaking**] Drop LRU from keystore
- Bump webdriver version to 110

</details>

* Please see the previous RC releases for the full changelog
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,20 @@ 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.18] - 2023-10-23

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

* Native platforms only: Preserve database schema upgrade path from 0.8.x, 1.0.0-pre.6+schemafix-0007 and onwards.

## [1.0.0-rc.17] - 2023-10-23

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

* Remove dependency of OpenSSL for Wasm
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.17"
version = "1.0.0-rc.18"
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.17"
version = "1.0.0-rc.18"
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.17", path = "../crypto", features = ["uniffi"] }
core-crypto = { version = "^1.0.0-rc.18", 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.17", path = "../crypto" }
core-crypto = { version = "^1.0.0-rc.18", 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.17
VERSION_NAME=1.0.0-rc.18
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.17"
version = "1.0.0-rc.18"
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.16", path = "../keystore" }
core-crypto-keystore = { version = "^1.0.0-rc.17", path = "../keystore" }

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

[dependencies.mls-crypto-provider]
version = "^1.0.0-rc.17"
version = "^1.0.0-rc.18"
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.17"
version = "^1.0.0-rc.18"
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.17"
version = "^1.0.0-rc.18"
path = "../crypto-attributes"

[package.metadata.wasm-pack.profile.release]
Expand Down
4 changes: 2 additions & 2 deletions interop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ base64 = "0.21"
const_format = "0.2"
rand = "0.8"
bitflags = "2.3"
uuid = { version = "1.1", features = ["v4"] }
uuid = { version = "1.5", features = ["v4"] }
tempfile = { version = "3.3", optional = true }
# Terminal support
xshell = "0.2"
Expand All @@ -42,7 +42,7 @@ spinoff = { version = "0.8", features = ["aesthetic"], default-features = false
[target.'cfg(not(target_family = "wasm"))'.dependencies]
cryptobox = { git = "https://github.com/wireapp/cryptobox", optional = true }
proteus = { git = "https://github.com/wireapp//proteus", branch = "otak/fix-1.0.3", optional = true }
tokio = { version = "1.20", features = ["full"] }
tokio = { version = "1.34", features = ["full"] }
# Http Server
warp = { version = "0.3", default-features = false }
# Webdriver stuff
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.12"
version = "0.0.0-rc.13"
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.17"
version = "1.0.0-rc.18"
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.17"
version = "1.0.0-rc.18"
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.17", path = "../keystore" }
core-crypto-keystore = { version = "^1.0.0-rc.18", path = "../keystore" }

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

0 comments on commit 7f831c2

Please sign in to comment.