Giter Site home page Giter Site logo

Encrypt messages about channels_redis HOT 5 CLOSED

django avatar django commented on May 22, 2024
Encrypt messages

from channels_redis.

Comments (5)

andrewgodwin avatar andrewgodwin commented on May 22, 2024 1

Now implemented in 0.12.0.

from channels_redis.

andrewgodwin avatar andrewgodwin commented on May 22, 2024

This is already on my roadmap, actually - the plan is to use symmetric cryptography and the cryptography package to encode and decode the raw byte strings that we encode messages to using msgpack.

from channels_redis.

onegreyonewhite avatar onegreyonewhite commented on May 22, 2024

How about to use the class based approach to serialization / deserialization? This would greatly facilitate the task and would enable developers to use their approach to serialization.
I personally would be very balgodaren you for this opportunity, because it could use already encrypted packets in your project.
If you describe your view of what should look like a class, I could help you save your time. Honestly I like this approach.

from channels_redis.

andrewgodwin avatar andrewgodwin commented on May 22, 2024

It's much better to encapsulate it in the channel layer, I think - the asgi_redis implementation already has hook points for changing the serialisation so it won't be that hard to implement.

from channels_redis.

onegreyonewhite avatar onegreyonewhite commented on May 22, 2024

@andrewgodwin, THANK YOU for your good work!

from channels_redis.

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.