Giter Site home page Giter Site logo

RSA-OAEP-256 Support? about ruby-jwe HOT 4 CLOSED

jwt avatar jwt commented on July 23, 2024
RSA-OAEP-256 Support?

from ruby-jwe.

Comments (4)

excpt avatar excpt commented on July 23, 2024

Hi @skalfyfan,

this library maintained.

There haven't been any updates lately, that's all.

Contributions are always welcome.

I recommend to explore the unit tests first. Add your specifications there and try to implement your algorithm. If you open a PR we will review it and if everything's fine - it will be merged.

from ruby-jwe.

francescobbo avatar francescobbo commented on July 23, 2024

Hi @skalfyfan.

First of all, sorry for the late reply, I've been very busy at work lately. I have all the best intentions into maintaining this gem. Any help is of course greatly appreciated.

At the moment the RSA-OAEP-256 algorithm is not implemented for two causes:

  • I have not been able to find good documentation about the algorithm itself
  • Unlike other key encryption algorithms, it looks like RSA-OAEP-256 has not been implemented by the OpenSSL library (which I am using for every single encryption/decryption piece of code).

Of course, I may have skimmed too fast in the huge/poor OpenSSL documentation, so please, double check ;)

Writing cryptographic code from scratch is usually a bad practice, and I would only fallback to this as a last resource.

from ruby-jwe.

m94h avatar m94h commented on July 23, 2024

https://github.com/potatosalad/ruby-jose has RSA-OAEP-256 support (https://www.rubydoc.info/gems/jose/file/docs/EncryptionAlgorithms.md)

from ruby-jwe.

pean avatar pean commented on July 23, 2024

Unfortunately JOSE looks more or less unmaintained at the moment, and is still stuck on OpenSSL1.1 which is reaching end of life, it seems to be the only similar gem that supports RSA-OAEP-256 though.

Any chance it is time to reconsider implementing RSA-OAEP-256?

from ruby-jwe.

Related Issues (13)

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.