relaycorp / awala-endpoint-android

High-level library for Android apps implementing Awala endpoints
Apache License 2.0
2 stars 1 forks source link

fix: Allow multiple first-party endpoints to communicate with the same third-party endpoint #361

Closed gnarea closed 10 months ago

gnarea commented 11 months ago

Due to bugs in the key stores (https://github.com/relaycorp/awala-jvm/pull/306, https://github.com/relaycorp/awala-jvm/pull/310), we were accidentally reusing the same session keys, which the third-party endpoint rightfully refused.

This PR will integrate the two breaking changes above, plus one additional change needed to make this work.

A consequence of this change is that we'll now need to pass the linked first-party endpoint when importing and deleting a third-party endpoint, so that we know which session keys to delete in case the same third-party endpoint is used by another first-party endpoint.

TODO

Each of the following require updating the respective test suite.

github-actions[bot] commented 10 months ago

:tada: This PR is included in version 1.15.4 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: