Code Monkey home page Code Monkey logo

Comments (9)

markmandel avatar markmandel commented on June 5, 2024

from quilkin.

luna-duclos avatar luna-duclos commented on June 5, 2024

I think we should seriously look at implementing curvecp in rust and using it for our needs, the spec is detailed at http://curvecp.org/ and we should at least go over it and see if its viable for us

from quilkin.

luna-duclos avatar luna-duclos commented on June 5, 2024

There is a poc implementation of curvecp here: https://github.com/sovrin-foundation/rust-curvecp-poc

from quilkin.

markmandel avatar markmandel commented on June 5, 2024

I didn't realise it, but QUIC has an unreliable packet extension, which is implemented by Quinn

And quinn is built on Tokio, so same async stack.

from quilkin.

markmandel avatar markmandel commented on June 5, 2024

Reviewing https://github.com/ValveSoftware/GameNetworkingSockets

Encryption. AES-GCM-256 per packet, Curve25519 for
key exchange and cert signatures. The details for shared key derivation and
per-packet IV are based on the design
used by Google's QUIC protocol.

from quilkin.

markmandel avatar markmandel commented on June 5, 2024

How easy is it to port libsodium around? (It is used in netcode.io so I'm figuring it's pretty good?)

Getting a lot of internal feedback that "to be secure, the libraries have to reach for at least C to have appropriate functionality" - so rusttls is fine, bindings to libsodium, bindings to BoringSSL for example would be ideal.

from quilkin.

markmandel avatar markmandel commented on June 5, 2024

Getting lots of push from security folks I pinged to use BoringSSL or a variant - so https://github.com/google/mundane might be a good fit, or https://github.com/briansmith/ring directly.

(Just throwing this all down so I don't forget it)

from quilkin.

XAMPPRocky avatar XAMPPRocky commented on June 5, 2024

How is this issue different from #30? Seems to me that DTLS is UDP encryption.

from quilkin.

markmandel avatar markmandel commented on June 5, 2024

How is this issue different from #30? Seems to me that DTLS is UDP encryption.

Given that there's really no standard for UDP encryption for games -- I think it makes sense to track separately. There are probably several encryption possibilities we could discuss and examine for UDP security (I expect once we release there will be many opinions on this) - one of which being DTLS.

from quilkin.

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.