Giter Club home page Giter Club logo

Comments (11)

excpt avatar excpt commented on August 17, 2024

This would be great feature to be introduced. The JWE spec is quite large and supports a lot of algorithms. This could be great enhancement for version 2.0. Are you willing to provide some help to introduce this feature? We are always looking for people to do some code reviews, test the features introduced in the master branch or to improve the documentation.

from ruby-jwt.

soumyaray avatar soumyaray commented on August 17, 2024

Welp! what did I get myself into? But yes, I'm happy to take a look into JWE. BTW, how do you see the direction of ruby-jwt differ from json-jwt?

from ruby-jwt.

excpt avatar excpt commented on August 17, 2024

There's no difference in using jwt over json-jwt. In the end it's what you prefer to use a more OOP style approach to implement the JWT specs or the more chaotic way we currently have ;)

from ruby-jwt.

aj-michael avatar aj-michael commented on August 17, 2024

Is anyone actively working on this? If not, I may take a stab.

from ruby-jwt.

kenzan100 avatar kenzan100 commented on August 17, 2024

@aj-michael I'm looking forward to your work!

from ruby-jwt.

francescobbo avatar francescobbo commented on August 17, 2024

I've just published a gem to encrypt and decrypt JWE ciphertexts. It does not support all the key management methods listed by its specification but I think it would be a good fit for this job. See: https://github.com/aomega08/jwe

from ruby-jwt.

excpt avatar excpt commented on August 17, 2024

@aomega08 Thanks for the contribution to the open source community. 👍 🎉

I will check your gem if it fits into the library and if we may add it as a dependency in the 2.0 version.

from ruby-jwt.

francescobbo avatar francescobbo commented on August 17, 2024

Hey @excpt, any news on this? Have you got any idea of how to integrate the two gems?

from ruby-jwt.

excpt avatar excpt commented on August 17, 2024

Ahoy @aomega08,

I think we should keep the gems independent and provide an interface to integrate the encryption part of JWT into the ruby-jwt gem. Other libs may want to use your gem too.

If you're interested we can move your jwe gem repo into this jwt organization and rename the repo to ruby-jwe. You keep all your administrative permission. If you have further questions - send me a mail (bottom of README.md or my profile.). :)

from ruby-jwt.

waiting-for-dev avatar waiting-for-dev commented on August 17, 2024

Hi there,

is this feature currently being developed? I see that the repo was moved to the jwt organization, so it seems some work has been done. I would like to use it for warden-jwt_auth and devise-jwt gems so that users can encrypt their JWT in case they want to put something private for use during authentication. It would be nice to have it integrated here so we don't have to reinvent the wheel in other libraries 😄

from ruby-jwt.

excpt avatar excpt commented on August 17, 2024

@waiting-for-dev Unfortunately, this feature is not in active development.

from ruby-jwt.

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.