Comments (4)
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.
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.
https://github.com/potatosalad/ruby-jose has RSA-OAEP-256 support (https://www.rubydoc.info/gems/jose/file/docs/EncryptionAlgorithms.md)
from ruby-jwe.
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)
- Release? HOT 2
- Issues with the 'dir' Algorithm using bytes other than 16 on Ruby >= 2.4
- Version 0.3.0 Does Not Reflect Master HOT 1
- Does not deflate large payloads properly.
- use together with JWT HOT 2
- Algorithm class names don't match param_to_class_name output HOT 1
- JWE.encrypt throwing (undefined method `public_encrypt' HOT 1
- decrypt using JWK HOT 1
- Strange behavior when not providing key (nil) (alg: 'dir') HOT 1
- Usage of Zlib::Deflate doesn't comply with RFC7516 HOT 1
- Ruby version requirement HOT 1
- Bug in calculating authentication tag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-jwe.