Skip to content

Releases: wireapp/core-crypto

v0.6.0-pre.3

01 Nov 13:48
Compare
Choose a tag to compare
v0.6.0-pre.3 Pre-release
Pre-release

What's Changed

  • chore: Add support for Proteus within interop runner
  • chore: Add action to publish jvm/android packages and move to maintained rust toolchain
  • fix: Change the internal type of the public group info to Vec so we don't have extra bytes in the serialized message - FS-1127
  • chore: Adding actions to check bindings and to publish swift package - CL-49

v0.6.0-pre.2

21 Oct 15:10
c82161a
Compare
Choose a tag to compare
v0.6.0-pre.2 Pre-release
Pre-release

What's Changed

  • Enable proteus support

v0.6.0-pre.1

21 Oct 10:17
1981230
Compare
Choose a tag to compare
v0.6.0-pre.1 Pre-release
Pre-release

What's Changed

  • Review external commit [CL-89]
  • Add clear_pending_group_from_external_commit [CL-89]
  • External commit returns a bundle containing the PGS [CL-90]
  • Add m1 support for the jvm bindings
  • Rename callback client_id_belongs_to_one_of
  • Validate received external commits
  • Proteus Support [CL-65] [CL-67] [CL-68] [CL-71] [CL-72]
  • Exporting secret key derived from the group and client ids from the members - CL-97 - CL-98
  • Returning if decrypted message changed the epoch - CL-92
  • Member can rejoin group by external commit [CL-100]
  • Change CommitBundle signature

v0.5.2

27 Sep 15:20
Compare
Choose a tag to compare
  • Fix: supplied backend's removal key was not TLS serialized but base64 encoded. In this release, it is up to consumer to base64 decode the key and supply it to core-crypto
  • Fix: Typescript enumerations could not be used by value

v0.5.1

21 Sep 11:20
Compare
Choose a tag to compare
  • Fix: supplied backend's removal key (used for verifying external remove proposals) was not TLS deserialized
  • Fix: incorrect null handing in Typescript wrapper for 'commitPendingProposals' causing an error when there was no proposal to commit
  • New test runner for running interoperability tests between various core-crypto clients. Currently, only native & WASM are supported. Most of all, those tests can be run in our Continuous Integration.

Release v0.5.0: API Adjustments

14 Sep 13:00
eb4e6c1
Compare
Choose a tag to compare

[0.5.0] - 2022-14-09

git-conventional changelog

Bug Fixes

  • Rollback openmls & chrono in order to release 0.5.0
  • Pin openmls without vulnerable chrono
  • Wee_alloc memory leak + NPM publish issue
  • Unreachable pub struct breaks docgen
  • Fixed iOS SQLCipher salt handling within keychain
  • [breaking] Changed misleading callback API and docs
  • [breaking] Added missing TS API to set CoreCrypto callbacks
  • Force software implementation for sha2 on target architectures not supporting hardware implementation (i686 & armv7 in our case)

Documentation

  • Add forgotten 0.4.0 changelog

Features

  • [breaking] 'commit_pending_proposals' now returns an optional CommitBundle when there is no pending proposals to commit

Miscellaneous Tasks

  • Release v0.5.0 Redux
  • Update UniFFI to 0.20
  • Release v0.5.0
  • Update node version from 12 to 16 LTS
  • Update dependencies
  • Remove es2020-specific operators and target es2020 only
  • Updated changelog
  • [BREAKING]: commit_pending_proposals now returns an optional CommitBundle
    • This was made to handle the case where there are no queued proposals to commit and this method would be called, causing the operation to fail.
  • [BREAKING]: Changed the API for callbacks for clarity
    • This also contains documentation changes that make the use and intent of callbacks easier to understand.
  • Fixed the iOS-specific database salt handling to allow using several databases on the same device.
  • TypeScript bindings:
    • Removed the use of ES2020-specific operators (?? Null-coalescing operator) to allow downstream to compile without transpiling.
    • Added callbacks API
    • Removed the usage of wee_alloc allocator as it leaks memory: rustwasm/wee_alloc#106
  • Kotlin & Swift bindings:
    • Upgraded UniFFI to 0.20 which now generates a correct callback interface in camelCase instead of erroneous snake_case.
      • Note that you will have to adapt to the aforementioned breaking changes to the callback API anyway so this just makes it a bit nicer

v0.4.2

05 Sep 10:16
Compare
Choose a tag to compare

Bug fixes

Pin sha2 crate to a version not narrowing down supported processor architecture and as a consequence excluding Android targets

v0.4.1

01 Sep 09:38
Compare
Choose a tag to compare

Bug Fixes

  • Pin uniffi version
  • Fix uniffi error on mobile due to missing TlsMemberAddedMessages

Release v0.4.0 - New features and bug fixes

31 Aug 16:01
6763f5a
Compare
Choose a tag to compare

Bug Fixes

  • Ensure durable methods are well tested and actually durable

Features

  • Commits and group creation return a TLS serialized CommitBundle. The latter also contains a PublicGroupStateBundle to prepare future evolutions
  • [breaking] 'decrypt_message' returns the sender client id
  • Use 128 bytes of padding when encrypting messages instead of 16 previously
  • Add function to return current epoch of a group [CL-80] (#96)
  • Adding a wrapper for the swift API and initial docs [CL-62] (#89)
  • Add '#[durable]' macro to verify the method is tolerant to crashes and persists the MLS group in keystore
  • Expose 'clear_pending_commit' method
  • Allow rollbacking a proposal
  • [breaking] Expose 'clear_pending_commit' method
  • [breaking] Allow rollbacking a proposal

Miscellaneous Tasks

  • Migrate benchmarks to async and write some for core crypto operations
  • Fixed WASM E2E tests

Testing

  • Add reminder for x509 certificate tests

Release v0.3.1: Maintenance release

16 Aug 15:31
Compare
Choose a tag to compare

[0.3.1] - 2022-08-16

git-conventional changelog

Miscellaneous Tasks

  • Release v0.3.1

Maintenance release to prepare for the next release

  • Pinned all git dependencies via git tags to avoid breakage in the future

What's Changed

  • build(tooling): Added semver version bumper by @OtaK in #92
  • chore: Release v0.3.1 by @OtaK in #93

Full Changelog: v0.3.0...v0.3.1