rmculpepper / crypto

17 stars 13 forks source link

Exposing more of libsodium high-level APIs #12

Open soapdog opened 4 years ago

soapdog commented 4 years ago

Hi,

I'm working with the Secure Scuttlebutt protocol which makes heavy use of many high-level libsodium APIs. I noticed that this package is not exposing sealed and secret boxes and other features from that library.

I don't know if the maintainers of this package are interested in such features or if I should work on creating a separate sodium package. I decided to check here if a PR for such features is OK before I start coding anything.

rmculpepper commented 4 years ago

Thanks for the message. Yes, I would be happy with adding support for libsodium APIs.

I glanced over the page you linked to, and the missing features that I noticed were sealed boxes, secret boxes, and conversion from ed25519 (signing) keys to curve25519 (DH) keys. Are there any others needed?

Here are my thoughts on implementation:

I've created a branch b-sodium-api with a partial implementation.

soapdog commented 4 years ago

this is fantastic @rmculpepper. I will fetch that branch and start studying it so that I can help. Thanks a lot for helping me out.