New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CurveCP support #47
Comments
NaCl is the Networking and Cryptography library, but both parts can easily be dissociated. I'm wondering whether doing that in Sodium wouldn't be a good thing: Sodium would be the crypto part, and another project (Chloride?) having Sodium as a dependency would handle the networking part. This would make it easier to work on both parts independently. |
@jedisct1 +1 for Chloride! |
Funny thing though, this makes libsodium (Na) the cryptography library and libchloride (Cl) the cryptography library ;) Of course that meshes well with (N)aCl being the cryptography library and (C)urveCP being the networking component o_O |
Well, it's probably too late to rename the crypto library. The C can stand for Communications and we can find something else for N. |
Haha, definitely not saying you should rename the project! I was actually saying... in a weird way... it all works out. Sodium (Na) => NaCl, Chloride (Cl) => CurveCP |
Whenever libchloride materializes, opinions on this? I think I'd like to put this in RbNaCl if possible (I mean, it is the "Na" part of NaCl) but not require it by default. To use it, you would have to do something like: require 'rbnacl/curvecp' (and, of course, have libchloride installed) |
👍 for looking at it when libchloride is out, 👍 also for it not being pulled in by default. |
After talking with @jedisct1 I think this probably belongs in a separate gem |
@tarcieri Have you made any progress on this? I'd love to experiment with CurveCP using Ruby. |
@paddor no |
I would personally like to build a Ruby binding to CurveCP. The question is: does this belong in RbNaCl, or a separate gem?
CurveCP is an experimental "alpha quality" library. I've opened an issue about it on Sodium I'd suggest reviewing:
jedisct1/libsodium#22 (comment)
If we were to add CurveCP support to RbNaCl, I'd suggest making it an optional feature, like:
or perhaps
The documentation would need to make it extremely clear that this is a power-user feature. Perhaps something like this?
To really answer the question of whether this belongs in RbNaCl or not: CurveCP is the "Networking" portion of the Networking and Cryptography library. Without it, I don't feel the library is complete ;)
The text was updated successfully, but these errors were encountered: