IronCoreLabs / recrypt-rs

A set of cryptographic primitives for building a multi-hop Proxy Re-encryption scheme, known as Transform Encryption.
https://crates.io/crates/recrypt
GNU Affero General Public License v3.0
144 stars 23 forks source link

Update to rand 0.7 #84

Closed clintfred closed 4 years ago

clintfred commented 5 years ago

It would be nice to keep up with new rand versions.

The major hurdle to upgrading is that we have dependencies that don't want to upgrade.

Perhaps we can import two different versions of rand and re-work things so that recrypt holds a separate RNG for ed25519? It would take some experimentation to see if this is possible.

ernieturner commented 5 years ago

Work for this should be an investigation into using multiple different versions of Rand in our project.

burdges commented 5 years ago

I implement a wrapper type shim for this in https://github.com/w3f/schnorrkel/commits/schizomerlin see also https://github.com/rust-random/rand/pull/819#issuecomment-520258560

clintfred commented 4 years ago

We could upgrade to rand 0.7 is now easier as https://crates.io/crates/ed25519-dalek has released a pre3 that uses rand 0.7.