-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type: remove rsa type in jwk #136
type: remove rsa type in jwk #136
Conversation
Signed-off-by: Lukas <Lukas@hopae.io>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #136 +/- ##
==========================================
- Coverage 97.41% 97.41% -0.01%
==========================================
Files 23 23
Lines 1899 1898 -1
Branches 273 273
==========================================
- Hits 1850 1849 -1
Misses 49 49 ☔ View full report in Codecov by Sentry. |
What was the reason for removing rsa here? |
@berendsliedrecht We discussed this issue in #130. I thought @cre8 removed and approved it but It was not actually removed, So I opened this PR |
In case we add the rsa type, we just need to add: interface RsaOtherPrimesInfo {
d?: string;
r?: string;
t?: string;
} |
Ahh okay, yeah that makes sense! If we fully want to delete it would should also get rid of the |
Oh I see, I'll prepare PR for that :) |
I think we could use the definition from the https://github.com/microsoft/TypeScript/blob/main/src/lib/dom.generated.d.ts#L689 |
I would add the fields again. Just because some organisation say RSA usage is not safe anymore, it is still used out there ;) With my comments on 130 I intended that we have just the |
@cre8 @berendsliedrecht I opened a PR for restoring rsa field in JWK. #137 |
Signed-off-by: Lukas <Lukas@hopae.io> Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
Signed-off-by: Lukas <Lukas@hopae.io> Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
I accidentally forgot to remove the rsa type.