libsodium-sys is deprecated #2

Open
opened 2021-10-22 09:31:20 +00:00 by quentin · 0 comments

We use a secret handshake library named kuska handshake that in turns use libsodium-sys, a deprecated binding of libsodium in Rust.

A today trend on Rust is to reimplement cryptography directly in Rust (instead of using bindings). ssb-handshake could be a replacement for us as it also implements the same Secret Handshake protocol. It is based on ssb-crypto that uses native crypto (eg. ed25519-dalek).

But ssb-handshake lacks many async primitives provided by kuska handshake which prevents us from migrating to it in the near future.

This issue is duplicated on deuxfleurs/garage

We use a secret handshake library named [kuska handshake](https://github.com/Kuska-ssb/handshake) that in turns use [libsodium-sys](https://github.com/sodiumoxide/sodiumoxide), a deprecated binding of libsodium in Rust. A today trend on Rust is to reimplement cryptography directly in Rust (instead of using bindings). [ssb-handshake](https://github.com/sunrise-choir/ssb-handshake) could be a replacement for us as it also implements the same Secret Handshake protocol. It is based on [ssb-crypto](https://github.com/sunrise-choir/ssb-crypto) that uses native crypto (eg. [ed25519-dalek](https://github.com/dalek-cryptography/ed25519-dalek)). But `ssb-handshake` lacks many `async` primitives provided by `kuska handshake` which prevents us from migrating to it in the near future. This issue is duplicated on deuxfleurs/garage
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lx/netapp#2
No description provided.