Closed rubdos closed 2 years ago
Ooh, that's annoying. I would have liked to specify this requirement in the crate that actually depends on the fork, which is zkgroup. But zkgroup doesn't depend on x25519-dalek, and the other two crates don't depend on the fork.
I don't think cargo update
is enough of a reason to add this, since it's an artificial limitation for the other crates. You're right about the real answer, too; we mostly haven't done this because we aren't using anything past curve25519-dalek 3.0.0 (and there haven't been any security issues there or in x25519-dalek), but we should just update.
Is there an outside-workspace use case for this? Someone depending on the zkgroup and libsignal-protocol packages together, maybe?
Someone depending on the zkgroup and libsignal-protocol packages together, maybe?
Yes, that's right. In Whisperfish, we depend on zkgroup and libsignal-protocol, so cargo update
in our crate messes up the compilation over here.
Should I attempt to update the lizard2 branch, maybe?
That'd be appreciated as an alternative, sure.
See https://github.com/signalapp/curve25519-dalek/pull/3 for a first attempt at that merger.
Superseded by https://github.com/signalapp/curve25519-dalek/pull/4
Curve25519 is currently replaced with the lizard2 branch, based on curve25519-dalek 3.0.0, but x25519-dalek 1.2 requires a higher version.
Specify <1.2 such that
cargo update
can be freely run.FWIW, the error I get with 1.2:
This is merely a workaround; it would be beneficial to merge upstream curve25519-dalek into the lizard branch.