mobilecoinofficial / auxin

Developer friendly wrapper around the Signal Messenger protocol.
GNU Affero General Public License v3.0
8 stars 8 forks source link

Patch curve25519 dependencies, use updated libsignal API #76

Closed iamalwaysuncomfortable closed 2 years ago

iamalwaysuncomfortable commented 2 years ago

Motivation

When Auxin was last under active development, the required libraries for implementing Signal's groups via the zkgroup crate were in separate repos. They have since been condensed into the libsignal repo. This caused Auxin to cease building properly.

This PR updates those repos and eliminates the curve25519-dalek collision created by importing both libsignal-protocol and zkgroup with a [patch] to the workspace file so that Auxin can once again function.

The zkgroup and libsignal libraries also changed their API causing key state management functions to cease functioning properly. Fortunately Signal provided method in their API which encapsulate the functionality Auxin was implementing itself. The keystate management functions in Auxin has been updated to use this new API

This PR serves as a minor patch to restore Auxin to working state. A larger refactor should be considered soon.

Changelog

Future Work