Coder Social home page Coder Social logo

Enable CurveCP by default about libsodium HOT 7 CLOSED

jedisct1 avatar jedisct1 commented on May 12, 2024
Enable CurveCP by default

from libsodium.

Comments (7)

jedisct1 avatar jedisct1 commented on May 12, 2024

The current CurveCP code is currently a proof of concept, and as you pointed out, some people have suggested possible ways to improve the protocol itself.
To make it useable, the libcurvecp API will change and the protocol will change. While it's being worked on, things can be broken and big bad bugs can be introduced. So I think that enabling it by default is a bit premature, especially since it doesn't work on Windows for now.

from libsodium.

tarcieri avatar tarcieri commented on May 12, 2024

My motivation is I'd like to develop some software which targets CurveCP, not with the intention of shipping it right away, but with the goal of eventually integrating with a "beta quality release". I intend to have large "experimental" warnings all over my software for quite some time. I'd like for other developers of the software, or perhaps early adopters who aren't, say, fighting an oppressive regime to be able to experiment with CurveCP-based software without having to build from source.

I think if these concerns about the highly experimental nature of CurveCP can be communicated to end users of the software effectively enough, it isn't irresponsible to include it by default.

Some other problems: right now we're integration testing RbNaCl against libsodium release tarballs on Travis. If we wanted to add an experimental CurveCP API (still need to make an issue for this on the RbNaCl tracker) we couldn't use the release tarballs, but would have to build from source.

I totally understand if you want to keep CurveCP out by default, and I agree that it shouldn't be there unless there's Sodium documentation in place to make sure nobody chances upon it and starts using it without being aware of its experimental status. However, at the same time, I want to improve traction among early adopters who have been made fully aware of its experimental status, especially when Rome is burning. I honestly think we need a replacement for TLS sooner than later, and CurveCP is our best bet.

from libsodium.

tarcieri avatar tarcieri commented on May 12, 2024

Perhaps this suitably warns a potential user that they're playing with plutonium?

DANGER: EXPERIMENTAL

from libsodium.

jedisct1 avatar jedisct1 commented on May 12, 2024

Does Travis actually prevents using autoconf flags?

My concern, besides Windows, is about package maintainers. They probably don't want experimental code to be part of their packages.

We can enable it by default and turn --enable-curvecp into --disable-curvecp, though.

from libsodium.

tarcieri avatar tarcieri commented on May 12, 2024

That alone would be awesome

from libsodium.

tarcieri avatar tarcieri commented on May 12, 2024

Opened an issue on RbNaCl:

RubyCrypto/rbnacl#47

from libsodium.

jedisct1 avatar jedisct1 commented on May 12, 2024

Ok, after discussion, a new project, libchloride, will handle the networking part.

from libsodium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.